Is it possible to change password for logged in LDAP user using passwd command?

I have logged in to server1 using testuser. Trying to change password for itself (testuser) and got the below error.

[testuser@server1 ~]$ passwd  
Changing password for user testuser.  
(current) LDAP Password:  
New password:  
Retype new password:  
password change failed: Insufficient access  
passwd: Authentication token manipulation error 
  • 1
    Check out this answer. You need to set an acl to allow the user to change his or her own password. – Alex Lowe Aug 15 '16 at 19:48
  • 1
    Put something like this in your cn=config, olcAccess: {0}to attrs=userPassword by self write by anonymous auth by * none – Alex Lowe Aug 15 '16 at 19:57
  • Did you try to use $ ldappasswd command? – supriady Dec 20 '16 at 18:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.