Re: How to reverse an LDAP query?

From: Shakespeare <>
Date: Tue, 13 Jan 2009 11:08:13 +0100
Message-ID: <496c6815$0$194$>

Gabor2 schreef:
> Hello,
> I have developed a (Oracle 9i) packaged funcion to get a user's email
> address from their username in an LDAP server.
> How can I reverse this so I get the username from the email address?
> Below is the query and the package. Any help would be highly
> appreciated!
> Thanks,
> Gabor

As far as I see, the only thing you have to do is swap your filter and your attribute.
Attribute would be 'username' (or whatever attribute is used for username) and filter would be 'email=....'

Shakespeare Received on Tue Jan 13 2009 - 04:08:13 CST

Original text of this message