Manao ahoana, Hello, Bonjour,

I have to check credentials of some user: username and password.
I use Ocaml and OpenLDAP.

What is the common way to check if a user has the good password:

- Bind with that user DN and if binding is OK: credentials are OK
- Bind with a generic DN and search for username and password and:
  - no results: credentials are KO
  - result:     credentials OK

PS:
If you have any example using
http://ocamldap.sourceforge.net/ocamldoc/Ldap_funclient.html it would
be kind to share it :-)

Misaotra, Thanks, Merci.

-- 
       Architecte Informatique chez Blueline/Gulfsat:
    Administration Systeme, Recherche & Developpement
                +261 34 29 155 34 / +261 33 11 207 36

Reply via email to