Getting the distinguished name when using Auth with the LDAP container
| From: | Sebastian Schneider | Date: | Thu, 04 May 2006 12:28:59 +0000 |
| Subject: | Getting the distinguished name when using Auth with the LDAP container | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-23928@lists.php.net to get a copy of this message | ||
Hi folks!
I'm using the PEAR Auth Package and an LDAP directory to authenticate users. If the user gets authenticated he should be able to perform a few queries on the LDAP directory.
I'm working with Net_LDAP to perform these queries and I'd like to use the distinguished name of the authenticated user to bind against the LDAP directory.
How can I get the distinguished name returned to the search by Auth? I am not getting along with the source of Auth. Where is the retrieved DN stored and how can I access it (if I'm able to access is)?
Any help is appreciated
Sebastian
--
Sebastian Schneider <schneider@dvz.fh-aachen.de>
==========================================================
Studentische Hilfskraft in der Netzzentrale der FH Aachen
eMail: schneider@dvz.fh-aachen.de
Telefon: (+49) 0241 / 6009 24 42
==========================================================