[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldapsearch using dn= as the filter returns no results.

Try using BaseDN="uid=droy,ou=people,dc=eclipse,dc=org", and
Scope="base" .

On Mon, 2005-03-21 at 13:14 -0500, Eclipse WebMaster (Denis Roy) wrote:
> Hi,
> After Googling this for about an hour, I decided to post here. If I 
> issue the following command:
> $> ldapsearch -x -LLL "uid=droy"
> I get:
> dn: uid=droy,ou=people,dc=eclipse,dc=org
> cn: Denis Roy
> [...]
> However, if I try a search using my DN, I can never get a result:
> ldapsearch -x -LLL "dn=uid=droy,ou=people,dc=eclipse,dc=org"
> I'm writing a Perl application where I have the user's DN, and need 
> their mail address. Unfortunately, perl's ldap->search using the DN as a 
> filter behaves the same way.
> Any help or pointers on how to search for entries based on the DN would 
> be appreciated!
> Thanks
Matthew J. Smith
University of Connecticut ITS
This message sent at Mon Mar 21 14:08:38 2005
PGP Key: http://web.uconn.edu/dotmatt/matt.asc

Attachment: signature.asc
Description: This is a digitally signed message part