Operating System - HP-UX
1753943 Members
9369 Online
108811 Solutions
New Discussion юеВ

Re: LDAP: user can't changes the password by himself

 
Alex Zola
New Member

LDAP: user can't changes the password by himself

Hello everyone!

I installed HP DS 8.1 on the rx6600 server, HP-UX 11.31.
My user can login into HP-UX with LDAP successful, can do search in LDAP also. But when Im trying to change my password I have recieve:
#ldappasswd -h host -p 389 -b "ou=People,ou=test,dc=mydc,dc=com" -d
Old password:
New password:
Retype new password:
Updating password in LDAP...
ldappasswd: NIS domain is (null)
ldappasswd: yp_match ldaphost ypldapd.conf
ldappasswd: could not locate LDAP server
ldappasswd: base DN is ou=People,ou=test,dc=mydc,dc=com
ldappasswd: LDAP host is ipldap:389
ldappasswd: binding as
ldappasswd: searching for (&(objectClass=posixAccount)(uid=sky))
ldappasswd: user DN is uid=sky,ou=People,ou=test,dc=mydc,dc=com
ldappasswd: binding as uid=sky,ou=People,ou=test,dc=mydc,dc=com
ldap_bind_s: Invalid credentials
Password unchanged.

If I running ldapentry -m passwd sky - I can see all of the attributes except password.

What is wrong?
Thanks in advice.
P.S. Sorry for my worse English.
6 REPLIES 6
Sri_kanth
Advisor

Re: LDAP: user can't changes the password by himself

Hi,

you can change the password simply using command passwd.

ex:passwd LDAP # enter it will asking for new password.
Alex Zola
New Member

Re: LDAP: user can't changes the password by himself

Srikanth BM,

Yes, it works. But it's not a best way (in my plan I'll use "replica"). I need to change my password with ldappasswd.

And one another question: when I changes my passwors with ldappasswd command with "directory manager" (#ldappasswd -h host -p 389 -b "ou=People,ou=test,dc=mydc,dc=com" -D "cn=directory manager" -w dmpasswd -l sky) - password successful changed, but after that I can't login into system. Incorrect password...
Alex Zola
New Member

Re: LDAP: user can't changes the password by himself

I found the answer for both my questions.
May be it will be interesting for someone.
I could not change the password becouse my password length was more than 8 characters. ldappasswd can only operate with password's length equal 8 or less characters.
That is it!
Im close this thred.
P.S. Thanks again to Srikanth BM for advice.
Alex Zola
New Member

Re: LDAP: user can't changes the password by himself

Thread are closed.
Chandrahasa s
Valued Contributor

Re: LDAP: user can't changes the password by himself

Hi,

I am looking for integration of unix servers to windows ads can you pls provide detail procedure to configure this.Hope you presently having same solution.

Chandra
Alex Zola
New Member

Re: LDAP: user can't changes the password by himself

Hi Chandrahasa s

Im afraid I can't help you with your question. Im a newbe in LDAP :) And also I never do integration of unix servers to windows ads.

Hope you reach the solution.