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

Re: Protocol Error



On Mon, 30 Sep 2002 SShetty@aol.com wrote:

> I am getting a PROTOCOL_ERROR ( Error code 2) when trying to add an entry to 
> the OpenLDAP server. I am using the JLDAP (Java Interface) on an SGI/IRIX 
> machine. Does this error have anything to do with the DN of the entry or with 
> the entry itself? Any help in tracking this problem down would be 
> appreciated.

Most likely this is a problem with the entry, not the DN.

The easiest way to troubleshoot a problem like this is often
to ssh into your devl/test ldap server and restart slapd
with the debug flag set to a high value.  You can then 
watch as slapd processes the request and see where the 
protocol error is being encountered. 

For example:

bash$ /usr/sbin/slapd -d 999

(verbose slapd debug output...)


	- VAB