This discussion is archived
4 Replies Latest reply: Oct 31, 2012 3:39 AM by huber RSS

Adding password manually to ApacheDS giving error (LDAP: error code 19)

916276 Newbie
Currently Being Moderated
I set up users manually using Apache DS, I have to set the passwords in cleartext, the SHA values were rejected.
I am new to Apache DS, can anyone please tell me that how to change the password policy to verify non-cleartext passwords?

Error in Apache DS:

javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 19 - CONSTRAINT_VIOLATION: failed for MessageType : MODIFY_REQUEST
Message ID : 16
    Modify Request
        Object : 'cn=boris,cn=External,cn=Users,cn=ExternalLDAP,ou=External,ou=system'
            Modification[0]
Operation : add
Modification
userPassword: '0x7B 0x53 0x48 0x41 0x7D 0x38 0x62 0x61 0x5A 0x7A 0x4A 0x72 0x7A 0x37 0x72 0x6D ...'
org.apache.directory.shared.ldap.model.message.ModifyRequestImpl@684bb6a3 ManageDsaITImpl Control
Type OID : '2.16.840.1.113730.3.4.2'
Criticality : 'false'
'
: cannot verify the quality of the non-cleartext passwords]; remaining name 'cn=boris,cn=External,cn=Users,cn=ExternalLDAP,ou=External,ou=system'

Edited by: roy on Aug 6, 2012 10:11 PM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points