Hello all, the isue is this:

I'm trying to connect to an active directory using ldapsearch but the server responds that I must change the password (Error 773)

Code:
$ ldapsearch -x -W -D "cn=My_User,cn=Users,dc=qwerty,dc=com" -h 192.168.0.167 -b dc=qwerty,dc=com -LLL "(sAMAccountName=*)"

Enter LDAP Password: 
ldap_bind: Invalid credentials (49)
	additional info: 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 773, vece
Error 773 states that User and password are ok but User must change password at next logon
Then I tryed:

Code:
$ ldappasswd -S -W -x -D "cn=My_User,cn=Users,dc=qwerty,dc=com"  -h 192.168.0.167

New password: 
Re-enter new password: 
Enter LDAP Password: 
ldap_bind: Invalid credentials (49)
	additional info: 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 773, vece
Any idea how to change the password in linux??

Thanks to all for reading.