Advertisement
Guest User

Untitled

a guest
Dec 17th, 2012
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.08 KB | None | 0 0
  1. [global]
  2.  
  3.     netbios name = test-dc
  4.     workgroup = test-dc
  5.     wins support = yes
  6.     domain master = yes
  7.     local master = yes
  8.     preferred master = yes
  9.     os level = 255
  10.     log level = 2 winbind:5
  11.     security = user
  12.     encrypt passwords = yes
  13.     domain logons = yes
  14.  
  15.         create mode = 770
  16.     directory mode = 770
  17.    
  18.     passdb backend = ldapsam
  19.     ldapsam:trusted=yes
  20.     ldapsam:editposix=yes
  21.  
  22.     ldap admin dn = cn=admin,dc=test-dc,dc=de
  23.     ldap delete dn = yes
  24.     ldap group suffix = ou=groups
  25.     ldap machine suffix = ou=computers
  26.     ldap user suffix = ou=users
  27.     ldap suffix = dc=test-dc,dc=de
  28.     ldap ssl = no  
  29.  
  30. #idmap config DEFAULT:backend = ldap
  31. #idmap config DEFAULT:readonly = no
  32. #idmap config DEFAULT:default = yes
  33. #idmap config DEFAULT:ldap_base_dn = ou=idmap,dc=test-dc,dc=de
  34. #idmap config DEFAULT:ldap_user_dn = cn=admin,dc=test-dc,dc=de
  35. #idmap config DEFAULT:ldap_url = ldap://localhost
  36. #idmap config DEFAULT:range = 50000-500000
  37. #idmap alloc backend = ldap
  38. #idmap alloc config:ldap_base_dn = ou=idmap,dc=test-dc,dc=de
  39. #idmap alloc config:ldap_user_dn = cn=admin,dc=test-dc,dc=de
  40. #idmap alloc config:ldap_url = ldap://localhost
  41. #idmap alloc config:range = 50000-500000
  42.  
  43.     ldap idmap suffix = ou=idmap
  44.     idmap backend = ldap:"ldap://localhost"
  45.     idmap uid = 50000-500000
  46.     idmap gid = 50000-500000
  47.  
  48.  
  49. [netlogon]
  50.     path = /data/netlogon
  51.     writable = no
  52.     browsable = no
  53.  
  54. [profiles]
  55.     path = /data/profiles
  56.     writable = yes
  57.     create mask = 0600
  58.     directory mask = 0700
  59.     browsable = no
  60.  
  61. [groups]
  62.     path = /data/users
  63.     root preexec = /usr/local/bin/mklinks %U
  64.     writeable = yes
  65. [homes]
  66.     path = /data/homes
  67.     comment = homes
  68.     writeable = yes
  69.     valid users = %S
  70.  
  71. [pub]
  72.     comment = pub
  73.     inherit acls = Yes
  74.     path = /data/share/pub
  75.     read only = No
  76.     valid users = @workers, @admins
  77.  
  78. [finance]
  79.         comment = finance
  80.         inherit acls = Yes
  81.         path = /data/share/finance
  82.         read only = No
  83.         valid users = @admins
  84.  
  85. [customer]
  86.         comment = customer
  87.         inherit acls = Yes
  88.         path = /data/share/customer
  89.         read only = No
  90.         valid users = @workers
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement