[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
how can I know if I am authenticated
- To: Liste OpenLDAP-Software <openldap-software@OpenLDAP.org>
- Subject: how can I know if I am authenticated
- From: François Beretti <francois.beretti@enatel.com>
- Date: Fri, 16 Jan 2004 11:48:47 +0100
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.6b) Gecko/20031205 Thunderbird/0.4
Hello all
I use the openldap sdk, and in my software users can authenticate
themselves on an ldapv3 directory server
I noticed today that on iPlanet directory the ldap_bind function return
LDAP_SUCCESS if you provide a dn and an empty password
I guess that the user is actually anonymous after the bind (probably the
"non-auhenticated" mode, disabled in openldap...)
You can also create a user with no password, and so the user is really
authenticated in this case (I think)
So my question is : what can I do in order to know if I am anonymous or
authenticated ?
thank you very much
François Beretti