Hey guys, Im looking into the area of assigning password policies to a group of user entries. Now I have successfully added a password policy from my Java Sun LDAP console, with the following password restrictions :
- Keep password history for 6 days
- Minimum 8 chars
etc
Now I am trying to see how this is catched from my vb.net application when I try and add a new user.
For example when i added a user with a password of only 4chars length i received an error page with the message
A constraint violation occurred. (Exception from HRESULT: 0x8007202F)
Now ideally I would like a nicer return message from LDAP which i can use on the front end, any ideas on how to handle these ldap message which indicate the source of the error ?