LDAP, Password Policies and Catching the exceptions !

Last post 05-07-2008 10:50 AM by Velnias. 0 replies.

Sort Posts:

  • LDAP, Password Policies and Catching the exceptions !

    05-07-2008, 10:50 AM
    • Loading...
    • Velnias
    • Joined on 07-18-2007, 11:12 AM
    • Posts 38

    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 ?

Page 1 of 1 (1 items)