Advertisement
Guest User

smb.conf

a guest
Sep 8th, 2012
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. [global]
  2. workgroup = MYDOMAI
  3. netbios name = server
  4. netbios aliases = software
  5. server string = Server
  6. encrypt passwords = Yes
  7. map to guest = Bad User
  8. time server = Yes
  9. domain master = Yes
  10. preferred master = Yes
  11. domain logons = Yes
  12. passdb backend = ldapsam:ldap://127.0.0.1/
  13. pam password change = Yes
  14. idmap alloc config : ldap_url = ldap://127.0.0.1/
  15. idmap alloc config : ldap_base_dn = ou=Idmap,dc=mydomain,dc=local
  16. max protocol = smb2
  17. server signing = auto
  18. client signing = auto
  19. admin users = root, Administrator, admin
  20. add user script = /usr/sbin/smbldap-useradd -a -m "%u"
  21. delete user script = /usr/sbin/smbldap-userdel "%u"
  22. add group script = /usr/sbin/smbldap-groupadd –p "%g"
  23. delete group script = /usr/sbin/smbldap-groupdel "%g"
  24. add user to group script = /usr/sbin/smbldap-groupmod –m "%u" "%g"
  25. delete user from group script = /usr/sbin/smbldap-groupmod –x "%u" "%g"
  26. set primary group script = /usr/sbin/smbldap-usermod –g "%u" "%g"
  27. add machine script = /usr/sbin/smbldap-useradd -a -w "%u"
  28. logon script = KIX32.exe logon.kix
  29. logon path = \\%L\profile\.winprofile
  30. logon drive = N:
  31. logon home = \\%L\%U
  32. log level = 10 passdb:0 auth:0 winbind:10
  33. log file = /var/log/samba/smb.%m
  34. max log size = 5000
  35. deadtime = 20
  36. wins support = yes
  37. interfaces = eth0
  38. null passwords = true
  39. pid directory = /var/run/samba
  40. dont descend = lost+found
  41. use sendfile = yes
  42. load printers = yes
  43. printing = cups
  44. printcap name = cups
  45. ldap ssl = No
  46. ldap timeout = 30
  47. ldap admin dn = cn=admin,dc=mydomain,dc=local
  48. ldap delete dn = Yes
  49. ldap user suffix = ou=Users
  50. ldap group suffix = ou=Groups
  51. ldap machine suffix = ou=Computers
  52. ldap idmap suffix = ou=Idmap
  53. ldap passwd sync = Yes
  54. ldap suffix = dc=mydomain,dc=local
  55.  
  56.  
  57. [homes]
  58. comment = Home Directories
  59. path = /data/home/%U
  60. read only = No
  61. create mask = 0640
  62. directory mask = 0750
  63. store dos attributes = yes
  64. browseable = No
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement