I am having a problem changing a password after I import the user into ldap. But once I change the users password with the manager account it works fine. I have pasted the output below and what my slapd.conf file looks like.
access to attrs=userPassword by self write by * auth access to * by * read
and here is the command that I am entering
ldappasswd -x -D "uid=user1,ou=users,ou=employees,ou=users,dc=example,dc=com" -w rt#12345 -s tt#12345 "uid=user1,ou=users,ou=employees,ou=users,dc=example,dc=com" ldap_bind: Invalid credentials (49)
when I change the password as manager
ldappasswd -x -D "cn=manager,dc=example,dc=com" -W -s js#12345 "uid=user1,ou=users,ou=employees,ou=users,dc=example,dc=com" Enter LDAP Password: Result: Success (0)
Now I can change it as the user
ldappasswd -x -D "uid=user1,ou=users,ou=employees,ou=users,dc=example,dc=com" -w js#12345 -s tt#12345 "uid=user1,ou=users,ou=employees,ou=users,dc=example,dc=com" Result: Success (0)
Thanks for the help