[global] workgroup = vishagi netbios name = pdc server string = vishagi pdc security = user hosts allow = 192.168.12. 127. load printers = no log file = /var/log/samba/log.%m max log size = 500 encrypt passwords = yes admin users = admin passdb backend = ldapsam:ldap://localhost/ ldap suffix = dc=vishagi,dc=ru ldap user suffix = ou=users ldap group suffix = ou=groups ldap machine suffix = ou=computers ldap admin dn = "cn=root,dc=vishagi,dc=ru" ldap delete dn = no ldap ssl = off socket options = TCP_NODELAY local master = yes os level = 32 domain master = yes preferred master = yes domain logons = yes logon path = \\%L\Profiles\%U\%m\ logon home = \\%L\Profiles\%U\%m\ logon drive = Z: wins support = yes dns proxy = no display charset = koi8-r unix charset = koi8-r dos charset = cp866 time server = yes add machine script = /usr/local/sbin/ldapaddmachine '%u' computers add user script = /usr/local/bin/ldapadduser '%u' people add group script = /usr/local/bin/ldapaddgroup '%g' add user to group script = /usr/local/bin/ldapaddusertogroup '%u' '%g' delete user script = /usr/local/bin/ldapdeleteuser '%u' delete group script = /usr/local/bin/ldapdeletegroup '%g' delete user from group script = /usr/local/bin/ldapdeleteuserfromgroup '%u' '%g' set primary group script = /usr/local/bin/ldapsetprimarygroup '%u' '%g' rename user script = /usr/local/bin/ldaprenameuser '%uold' '%unew' [homes] comment = Home Directories browseable = no writable = yes [netlogon] comment = Network Logon Service path = /usr/local/etc/samba/netlogon/ guest ok = yes writable = no share modes = no browseable = no [Profiles] create mode = 600 directory mode = 700 path = /home browseable = no guest ok = yes writeable = yes writelist = @people [data] comment = Dump of files path = /data #create mode = 660 #directory mode = 770 public = yes writeable = yes write list = @people read list = @people