[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openldap-general
Subject:    Re: How to get the entry with a known dn ?
From:       Julio =?iso-8859-1?Q?S=E1nchez=20Fern=E1ndez?= <j_sanchez () stl ! es>
Date:       1999-07-26 12:43:51
[Download RAW message or body]



Frank Matthieß wrote:

> So i search for a specific dn, i search for the invnr insight the base dn
> "ou1=inventar, ou=edv, dc=decor-metall, dc=de" (look at my example of the
> previous send message)

To read a specific entry, do a BASE search rooted at its name with a filter
sure to match.  There is one such filter, namely '(objectclass=*)'.

So do this:

ldapsearch -s base \
	-b 'invnr=08500, ou1=inventar, ou=edv, dc=decor-metall, dc=de' \
	'(objectclass=*)'

Julio

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic