[global]
workgroup = jrc
server string = Samba Server
hosts allow = 192.168.0. 127.
printcap name = /etc/printcap
load printers = yes
printing = cups
log file = /var/log/samba/%m.log
max log size = 0
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd *all*authentication*tokens*updated*successfully*
pam password change = yes
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
[homes]
comment = Home Directories
browseable = yes
writable = yes
valid users = %S
create mode = 0777
directory mode = 0777
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[UsuariosHomes]
comment = pasta de usuarios
path = /home
public = yes
writable = yes
printable = no
browseable= yes
create mask = 0777
valid users = junior
create mode = 0777
directory mode = 0777
[servidor]
comment = jrc server
path = /system
public = yes
writable = yes
printable = no
browseable= yes
create mask = 0777
write list = @jrc
create mode = 0777
directory mode = 0777