Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

ldap + active directory

Options
  • 27-09-2002 5:51pm
    #1
    Registered Users Posts: 347 ✭✭


    What's the best way to authenticate a user with JNDI? I wrote
    a little piece of code to check the userPassword attribute, which
    seems to work quite happily with nds, and I assume openldap is no
    different, but the attribute doesn't seem to exist in users
    on active directory, so I'm assuming there's some proprietry
    microsoft authentication going on there.. Is there an attribute
    that I can check the pass agains, or a hash of the pass against,
    or is it better to just try and to to use the details of the
    username/password I'm verifying as the login credentials, and
    catch the exception if creating the context fails? I'd have
    assumed the previous would be the 'cleaner' solution...


Advertisement