# Samba config file created using SWAT # from 0.0.0.0 (0.0.0.0) # Date: 2007/05/17 11:03:57 [global] passwd chat = *New*password* %n *Retype*new*password* %n idmap gid = 10000-15000 admin users = alfredoo administrador root delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g" passwd program = /usr/bin/passwd %u allow hosts = 192.168. 127. dns proxy = no netbios name = FS01-DS ldap passwd sync = yes idmap uid = 10000-15000 logon script = %g.bat dos charset = UTF-8 remote announce = 192.168.3.255/DAMAPEL 192.168.30.255/DAMAPEL interfaces = 192.168.3.0/255.255.255.0 192.168.30.0/255.255.255.0 local master = yes workgroup = DAMAPEL os level = 100 ldap admin dn = cn=administrador,dc=damapel,dc=com,dc=br security = user add machine script = /usr/sbin/smbldap-useradd -w "%u" delete user script = /usr/sbin/smbldap-userdel "%u" max log size = 50 directory mode = 775 log file = /var/log/samba/%m.log ldap user suffix = ou=Usuarios add group script = /usr/sbin/smbldap-groupadd -p "%g" delete group script = /usr/sbin/smbldap-groupdel "%g" socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192 add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g" domain master = yes idmap backend = ldap:ldap://127.0.0.1 encrypt passwords = yes winbind use default domain = no logon home = \\%L\%u passdb backend = ldapsam:ldap://127.0.0.1/ template shell = /bin/false ldap delete dn = Yes server string = Damapel PDC (Samba Server %v) ldap group suffix = ou=Grupos ldap machine suffix = ou=Computadores ldap suffix = dc=damapel,dc=com,dc=br logon path = \\%L\%u\.profile add user script = /usr/sbin/smbldap-useradd -m "%u" set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u" create mode = 775 unix charset = UTF-8 ldap idmap suffix = ou=Idmap domain logons = yes wins support = yes wins proxy = yes print command=/home/printlimit/providers/print/linux-i686/samba-print-provider -u "%u" -J "%J" -h "%h" -m "%m" -p "%p" -s "%s" -a "lpr-cups -P %p -o raw %s -r" & [homes] comment = Home Directories read only = No browseable = No writeable = yes create mask = 0700 directory mask = 0700 force user = %U [printers] comment = All Printers path = /var/spool/samba create mask = 0700 guest ok = Yes printable = Yes print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers. use client driver = Yes browseable = No [print$] path = /var/lib/samba/printers write list = @adm, root inherit permissions = Yes guest ok = Yes [pdf-gen] comment = PDF Generator (only valid users) path = /var/tmp printable = Yes printing = bsd print command = /usr/share/samba/scripts/print-pdf "%s" "%H" "//%L/%u" "%m" "%I" "%J" & lpq command = /bin/true lprm command = lprm -P'%p' %j [diretoria] writeable = yes valid users = alfredoo,@diretoria path = /dados/diretoria [ti] writeable = yes valid users = @ti path = /dados/ti [compras] writeable = yes valid users = alfredoo,@compras path = /dados/compras [controle] valid users = alfredoo,@controle writeable = yes path = /dados/controle [eletrica] valid users = alfredoo,@eletrica writeable = yes path = /dados/eletrica [expedicao] valid users = alfredoo,@expedicao writeable = yes path = /dados/expedicao [finanoper] writeable = yes valid users = alfredoo,@financeiro_oper path = /dados/financeiro_oper [finangeren] valid users = alfredoo,@financeiro_gerencial writeable = yes path = /dados/financeiro_gerencial [fiscalcontab] valid users = alfredoo,caetanoe,@fiscal_contabil writeable = yes path = /dados/fiscal_contabil [industrial] writeable = yes valid users = alfredoo,@industrial path = /dados/industrial [juridico] writeable = yes valid users = alfredoo,@juridico path = /dados/juridico [mp] valid users = alfredoo,@mp writeable = yes path = /dados/mp [portaria] valid users = alfredoo,@portaria writeable = yes path = /dados/portaria [recepcao] valid users = alfredoo,@recepcao writeable = yes path = /dados/recepcao [rh] valid users = alfredoo,@rh writeable = yes path = /dados/rh [prestserv] valid users = alfredoo,@prestador_servicos writeable = yes path = /dados/prestador_servicos [segtrabalho] writeable = yes valid users = alfredoo,@seguranca_trab path = /dados/seguranca_trab [vendas] writeable = yes valid users = alfredoo,@vendas path = /dados/vendas [conversao] writeable = yes valid users = alfredoo,@conversao path = /dados/conversao [profiles] force user = %U browseable = no writeable = yes valid users = %U,@"Domain Admins" path = /home/profiles [netlogon] path = /home/netlogon browseable = no guest ok = no writeable = no share modes = no read only = yes [public] comment = Pasta Publica writeable = yes create mode = 777 public = yes path = /dados/public directory mode = 777 [producao] writeable = yes valid users = alfredoo,@producao path = /dados/producao [deloitte] writeable = yes valid users = alfredoo,@deloitte path = /dados/deloitte