Since a user may be able to change their password, this user will need permissions to make some changes to the database, so create another file called samba-admin-acl.ldif. Ldapadd -x -D cn=manager,dc=myplace,dc=local -W -f samba-admin.ldif There is going to have to be an LDAP user that is used just to let Samba connect to the LDAP database. Ldapmodify -x -D cn=admin,cn=config -W -f samba_indexes.ldif Using the ldapmodify utility load the new indexes to help search performance: Next create a file named samba_indexes.ldif Get the hashes LDAP password to add to your config:Ĭreate the db.ldif file containing the initial settings for the LDAP server: Start SLAPD and set it to start at boot time: Yum install openldap openldap-servers openldap-clients sssd perl-LDAP.noarchĬopy DB_CONFIG example to /var/lib/ldap directory:Ĭp /usr/share/openldap-servers/DB_CONFIG.example /var/lib/ldap/DB_CONFIGĬhange ownership of the /var/lib/ldap directory:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |