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

Re: LDAP API to get the search base

"Lye" <sze4041@singnet.com.sg> writes:

> Hi, all
> I am wondering if there is any function in the LDAP API that can return the
> suffix (as stated  in the slapd.conf).
> so that i can use the suffix as my tree for search base.

Do a search base of the root DSE and ask for attribute type
namingContexts.  You should get a list of the suffixes that the server
supports, modulo access control.