The user is trying to change their password via the portal and is getting an error that the Directory Services was unable to change the password.
The following error shows on the loader console :
DEBUG [com.stoneware.service.public.Core.changePassword]: CN=testpasschange,OU=portal,dc=xxx,dc=xxx,dc=xxx,dc=org: userAccountControl = 200
DEBUG [com.stoneware.service.public.Core.changePassword]: The minimum password age is: 0
ERROR [com.stoneware.service.public.Core.changePassword]: CN=testpasschange,OU=portal,dc=xxx,dc=xxx,dc=xxx,dc=org: user flagged ’User cannot change password’
ERROR [com.stoneware.service.public.Core.changePassword]: Unable to change password: CN=testpasschange,OU=portal,dc=xxx,dc=xxx,dc=xxx,dc=org
javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 19 - 0000052D: AtrErr: DSID-03190F00, #1:
0: 0000052D: DSID-03190F00, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 9005a (unicodePwd)
]; remaining name ’CN=testpasschange,OU=portal,dc=xxx,dc=xxx,dc=xxx,dc=org’
This means that you did not conform to password requirements. Active Directory password policy is enforcing password history, minimum password length, minimum password age or password complexity, then this will raise the LDAP Error Code 19 (invalid attribute exception), with an Active Directory problem code of 1005.
Another error code that means the same thing is :
javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 19 - 00000056: AtrErr: DSID-03190F00, #1:
0: 00000056: DSID-03190F00, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 9005a (unicodePwd)
Some other common LDAP errors dealing with password change problems.
Wrong Old Password while trying changePassword:
-----------------------------------------------
** While connecting with Admin Principal:
[LDAP: error code 19 - 00000056: AtrErr: DSID-03190F80, #1:
0: 00000056: DSID-03190F80, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 9005a (unicodePwd)
** While connecting with the User's credentials (Standard ERROR_LOGON_FAILURE Message):
* If User must change Password:
[LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1
* If User is not obliged to change password:
[LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1
Good credentials, new password same as old:
------------------------------------------
** While connecting with Admin Principal:
[LDAP: error code 19 - 0000052D: AtrErr: DSID-03190F80, #1:
0: 0000052D: DSID-03190F80, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 9005a (unicodePwd)
** While connecting with the User's credentials:
* If User must change Password:(Standard ERROR_PASSWORD_MUST_CHANGE Message):
[LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 773, v1db1
* If User is not obliged to change password:
[LDAP: error code 19 - 0000052D: AtrErr: DSID-03190F80, #1:
0: 0000052D: DSID-03190F80, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 9005a (unicodePwd)
Good credentials, good new password:
--------------------------------------
** While connecting with Admin Principal:
OK - No Error
** While connecting with the User's credentials:
* If User must change Password:(Standard ERROR_PASSWORD_MUST_CHANGE Message):
[LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 773, v1db1
* If User is not obliged to change password:
OK - No Error