KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I looked everywhere for a solution to my problem but still didn't find it. I have these two simple files as sladp.conf and mytree.ldif and when i try to add something to mytree.ldif it keeps asking me for a password (which i believe is roopw defined in slapd.conf) but it doesn't work. I really need help with this. These are my files: slapd.conf database dbd suffix "dc=ers,dc=uminho,dc=pt" rootdn "cn=Manager,dc=ers,dc=uminho,dc=pt" rootpw ersadmin directory /usr/local/var/openldap-data mytree.ldif dn: dc=ers, dc=uminho, dc=pt objectclass: dcObject objectclass: organization o: ERS dc: ers dn: cn=Manager,dc=ers,dc=uminho,dc=pt objectclass: organizationalRole cn: Manager And this is what i'm trying to do and my response: sudo ldapadd -x -D "cn=Manager,dc=ers,dc=uminho,dc=pt" -W -f /etc/ldap/mytree.ldif Enter LDAP Password: ldap_bind: Invalid credentials (49) I already tried to encrypt the password using slappasswd -h {SHA} -s ersadmin and changing my slapd.conf file password-hash {SHA} rootpw {SHA}pLEBIPx4rW3eebpwACBGAZkNH4CVBRGW but it didn't work. Thanks in advance.
Tags (comma-separated)
Save Edits
Cancel