Public feed #724534

Anonymous

public text v1 · immutable
Raw Edit
·published 2007-10-03 17:36 UTC
rendered paste body
[global]

   workgroup = rederpa 
   server string = %h server
   wins support = yes
;   wins server = 143.107.140.140
   max wins ttl = 518400
   #Para alguns clientes antigos precisa abilitar
   wins proxy = no
   #Permitir consultar o dns para resolver o nome de maquina
   dns proxy = no
   name resolve order = lmhosts host wins bcast
;   interfaces = 127.0.0.0/8 eth0
;   bind interfaces only = true
;   log level = 3 passdb:5 auth:2
   log level = 1
   log file = /var/log/samba/log.%m
   max log size = 1000
;   syslog only = no
;   syslog = 2
   panic action = /usr/share/samba/panic-action %d
   security = user
   encrypt passwords = true
   smb ports = 139 445 
# passdb backend = tdbsam

obey pam restrictions = yes

encrypt passwords = true
smb passwd file = /etc/samba/smbpasswd

passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .

#adicionando maquinas automaticamente
#add machine script = useradd -g domainmac -c "Maquina de Dominio" -s /bin/false -d /dev/null %u

guest account = nobody
;   invalid users = root
;   unix password sync = no

########## Domains ###########
   local master = yes
   preferred master = Yes
   domain master = Yes
   admin users = ratifers root

   domain logons = yes
   logon path = \\orion\%U\profile
   logon drive = H:
   logon home = \\orion\%U
   logon script = %U.bat

   time server = yes 
   veto files = /*.mp3
   os level = 80
########## Printing ##########