# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2005/02/16 00:22:45

# Global parameters
[global]
workgroup = focalinux
netbios name = servidor_linux
server string = Servidor de Arquivos (PDC)
interfaces = eth0
encrypt passwords = yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
password level = 2
username level = 2
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain admin group = @admins gleydson,
logon script = logon.bat
logon path = \\%N\profilesNT\%u
logon drive = H:
logon home = \\%N\profiles\%u
preserve case = yes
short preserve case = yes
case sensitive = no
domain logons = Yes
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
username map = /etc/samba/smbusers
printing = cups

[profiles]
path = /pub/profiles
writeable = yes
create mask = 0600
directory mask = 0700
nt acl support = No

[profilesNT]
path = /pub/profilesNT
writeable = yes
create mask = 0600
directory mask = 0700

[netlogon]
path = /pub/samba/netlogon
write list = ntadmin
writeable = yes
comment = Network Logon Service

[Files]
Comment = Arquivos
path = /home/files
public = no
writable = yes
browseable = yes
printable = no
write list = @users
valid users = @users
create mask = 0770
force directory mode = 0770
force create mode = 0770


[homes]
comment = Home Directories
valid users = %S
writeable = yes
create mask = 0664
directory mask = 0775
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No