[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Retrieval by DN
At 04:20 PM 8/23/99 EDT, Jef Pearlman wrote:
> Perhaps I've missed this, but I've been looking at all the
>documentation (I'm fairly new to LDAP). I'm using the ldap libraries,
>and in the interest of efficiency, I'd like to grab an entry directly
>by its known DN rather than doing a search. Is there a way to do this?
LDAP does not have a read operation. Instead use a search for the
target DN with a base scope and a filter that matches all objects.
ldapsearch -b $TARGETDN -s base "(objectclass=*)"
Kurt