Estou no processo de configurar um servidor smb, mas não consigo acessar os compartilhamentos.
net view \fileserver
, recebo system error 53 \n\n can't find the network path
após um tempo limite de aproximadamente 30 segundos. systemctl status nmbd
mostra que o nmbd está ativo e em execução. O comando systemctl status smbd
mostra que o smbd também está sendo executado.
ubuntu@fileserver:~$ nano /etc/samba/smb.conf
GNU nano 2.5.3
File: /etc/samba/smb.conf
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700
[sjoerd]
path = /home/sjoerd/www
valid users = sjoerd
guest ok = no
writeable = yes
[femke]
path = /home/femke/www
valid users = femke
guest ok = no
writeable = yes
[rieneke]
path = /home/rieneke/www
valid users = rieneke
guest ok = no
writeable = yes
[joeke]
path = /home/joeke/www
valid users = joeke
guest ok = no
writeable = yes
[public]
path = /home/public/www
valid users = smb
guest ok = yes
writeable = yes
meu conteúdo do /etc/samba/smb.conf
Saída do Testparm.
ubuntu@fileserver:~$ testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "syslog" option is deprecated
Processing section "[sjoerd]"
Processing section "[femke]"
Processing section "[rieneke]"
Processing section "[joeke]"
Processing section "[public]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions