usuario@servidor-drive:~$ testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print]"
Processing section "[PROGRAMAS]"
Processing section "[DRIVERS]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
workgroup = REDE
server string = %h server (Samba, Ubuntu)
map to guest = Bad User
guest account = usuario
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
username map = /etc/samba/smbusers
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
guest ok = Yes
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
[print]
comment = Printer Drivers
path = /var/lib/samba/printers
valid users = usuario, usuario
read only = No
[PROGRAMAS]
path = /home/usuario/PROGRAMAS
valid users = usuario, usuario
read only = No
[DRIVERS]
path = /home/usuario/DRIVERS
valid users = avahi, usuario
read only = No
usuario@servidor-drive:~$