[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: help on Exception
At 10:08 AM 7/28/99 -0700, Audy Sunarya wrote:
>
>Hi all,
>
>I am a novice here. I have several questions. I appreciate if anybody can
>help me out here.
>
>1. I used Netscape's address book (client) to check if the LDAP server
>works. One of thing I encounter is that only if I leave the search root
>blank, will it connect to the LDAP server. Otherwise, it will fail to
>connect to the server. What do I do wrong here ?
You are likely using a search base which the server doesn't hold.
Use ldapsearch(1):
ldapsearch -R -b "your-suffix" "(objectclass=*)
(replacing your-suffix with the suffix you configured slapd with).
>2. I started programming using JNDI-API to connect to the LDAP server, and
>yet blocked by the error "partial result exception". Can anybody help how
>to deal with it like give me some idea how to still retrieve the partial
>result or lend me a hand how to go around it.
Likely same problem as above. If your search base is not held
by the server and the server is configured to return a default
referral, a result indicating "partial results" (LDAPv2+ referral)
will be returned by the server.
Again, use ldapsearch (and slapd logs) to sort out what's happening...
Kurt