Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [global]
- pam password change = yes
- map to guest = bad user
- dns proxy = no
- write raw = no
- read raw = no
- obey pam restrictions = no
- max log size = 1000
- passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
- encrypt passwords = yes
- usershare allow guests = yes
- panic action = /usr/share/samba/panic-action %d
- workgroup = WORKGROUP
- unix password sync = yes
- #passdb backend = tdbsam
- server role = standalone server
- log file = /var/log/samba/log.%m
- server string = %h server (Samba, Ubuntu)
- syslog = 0
- passwd program = /usr/bin/passwd %u
- min protocol = SMB2
- protocol = SMB2
- ###LDAP_SECTION###
- passdb backend = ldapsam:ldap://192.168.4.19
- ldap suffix = dc=centos7test,dc=ldap,dc=halldis,dc=cloud
- ldap user suffix = ou=People
- ldap group suffix = ou=Group
- #ldap delete dn = no
- ldap admin dn = cn=ldapadm,dc=ldap,dc=halldis,dc=cloud
- #or off if TLS/SSL is not configured
- ldap ssl = off
- ldapsam:trusted=yes
- #ldapsam:editposix=yes
- ldap passwd sync = yes
- security = user
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement