Advertisement
Guest User

Untitled

a guest
Mar 21st, 2019
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. [global]
  2. pam password change = yes
  3. map to guest = bad user
  4. dns proxy = no
  5. write raw = no
  6. read raw = no
  7. obey pam restrictions = no
  8. max log size = 1000
  9. passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
  10. encrypt passwords = yes
  11. usershare allow guests = yes
  12. panic action = /usr/share/samba/panic-action %d
  13. workgroup = WORKGROUP
  14. unix password sync = yes
  15. #passdb backend = tdbsam
  16. server role = standalone server
  17. log file = /var/log/samba/log.%m
  18. server string = %h server (Samba, Ubuntu)
  19. syslog = 0
  20. passwd program = /usr/bin/passwd %u
  21. min protocol = SMB2
  22. protocol = SMB2
  23.  
  24. ###LDAP_SECTION###
  25.  
  26. passdb backend = ldapsam:ldap://192.168.4.19
  27. ldap suffix = dc=centos7test,dc=ldap,dc=halldis,dc=cloud
  28. ldap user suffix = ou=People
  29. ldap group suffix = ou=Group
  30. #ldap delete dn = no
  31. ldap admin dn = cn=ldapadm,dc=ldap,dc=halldis,dc=cloud
  32. #or off if TLS/SSL is not configured
  33. ldap ssl = off
  34. ldapsam:trusted=yes
  35. #ldapsam:editposix=yes
  36.  
  37. ldap passwd sync = yes
  38.  
  39. security = user
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement