Enviado em 02/03/2015 - 15:15h
Olá companheiros, venho pedir ajuda depois de me render de algumas semanas tentando sozinho,[root@localhost /]# systemctl status smb.service -l
● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled)
Active: active (running) since Seg 2015-03-02 15:00:20 BRT; 10min ago
Main PID: 1215 (smbd)
Status: "smbd: ready to serve connections..."
CGroup: /system.slice/smb.service
├─1215 /usr/sbin/smbd
└─1216 /usr/sbin/smbd
Mar 02 15:00:20 localhost.localdomain smbd[1214]: [2015/03/02 15:00:20.869176, 0] ../source3/smbd/server.c:1269(main)
Mar 02 15:00:20 localhost.localdomain smbd[1214]: standard input is not a socket, assuming -D option
Mar 02 15:00:20 localhost.localdomain systemd[1]: smb.service: Supervising process 1215 which is not our child. We'll most likely not notice when it exits.
Mar 02 15:00:20 localhost.localdomain smbd[1215]: [2015/03/02 15:00:20.942636, 0] ../lib/util/become_daemon.c:136(daemon_ready)
[root@localhost /]# systemctl status nmb.service -l
● nmb.service - Samba NMB Daemon
Loaded: loaded (/usr/lib/systemd/system/nmb.service; enabled)
Active: active (running) since Seg 2015-03-02 15:00:24 BRT; 10min ago
Main PID: 1222 (nmbd)
Status: "nmbd: ready to serve connections..."
CGroup: /system.slice/nmb.service
└─1222 /usr/sbin/nmbd
Mar 02 15:00:24 localhost.localdomain nmbd[1221]: [2015/03/02 15:00:24.096049, 0] ../source3/nmbd/nmbd.c:949(main)
Mar 02 15:00:24 localhost.localdomain nmbd[1221]: standard input is not a socket, assuming -D option
Mar 02 15:00:24 localhost.localdomain systemd[1]: nmb.service: Supervising process 1222 which is not our child. We'll most likely not notice when it exits.
Mar 02 15:00:24 localhost.localdomain nmbd[1222]: [2015/03/02 15:00:24.105994, 0] ../lib/util/become_daemon.c:136(daemon_ready)
Mar 02 15:00:57 localhost.localdomain nmbd[1222]: STATUS=daemon 'nmbd' finished starting up and ready to serve connections*****
Mar 02 15:00:57 localhost.localdomain nmbd[1222]:
Mar 02 15:00:57 localhost.localdomain nmbd[1222]: Samba name server FEDORA SERVER is now a local master browser for workgroup INCONNECT on subnet 10.1.1.14
Mar 02 15:00:57 localhost.localdomain nmbd[1222]:
Mar 02 15:00:57 localhost.localdomain nmbd[1222]: *****
[global]
# workgroup doz que o nome do meu grupo de trabalho será "INCONNECT"
workgroup = INCONNECT
# server string informa ao Windows Explorer a descrição do servidor Samba
server string = Fedora Virtual
# security é o modo de operação do servidor. Especificamos 'user', mas podemos usar 'server', 'domain' e 'ads'. Geralmente a clausula defult é 'user'
security = domain
# Diz as redes que possuem permissão de acesso ao Samba
hosts allow = 192.168.0. 192.168.1. 127. 10.0.0. 10.1.1.
# Informa ao Samba para carregar a lista de impressoras automaticamente na inicialização.
load printers = yes
# Informa o serviço que será usado na impressão
printing = cups
# Cria um log para cada máquina que logar no servidor. A variavel %m busca o nome da máquina cliente.
;log file = /var/log/samba.%m
# Informa o tamanho do arquivo de log, em Kbytes. O valor ZERO indica tamanho indeterminado.
max log size = 50
# Se possuir um servidor windows com controlador de dominio utiliz a diretiva seguinte combinada com a 'security = server'
; password server = <NT-Server-Name>
netbios name = Fedora Server
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %s
read only = No
create mask = 0700
directory mask = 0700
browseable = No
veto files = *.mp3
[Compartilhamento]
comment = Pasta Compartilhada
path = /home/Compartilhamento
read only = yes
1,1 Topo