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

Re: Unexpected data in PDU



Your script is likely generating malformed PDUs.  I suggest
you carefully example it.

Kurt

At 05:05 AM 6/18/2003, tsg wrote:
>Hi!
>Today I installed my perl script which helps me to control LDAP server to 
>another computer and I was surprised to get message "Unexpected data in PDU" 
>in client side and 
>
>Jun 18 13:51:26 ldap slapd[7706]: daemon: read activity on 10
>Jun 18 13:51:26 ldap slapd[7706]: connection_get(10)
>Jun 18 13:51:27 ldap slapd[7706]: connection_get(10): got connid=2
>Jun 18 13:51:27 ldap slapd[7706]: connection_read(10): checking for input on 
>id=2
>Jun 18 13:51:27 ldap slapd[7706]: do_bind
>Jun 18 13:51:27 ldap slapd[7706]: <= get_ctrls: n=0 rc=-2 err=unexpected data 
>in PDU
>Jun 18 13:51:27 ldap slapd[7706]: send_ldap_disconnect 2:unexpected data in 
>PDU
>Jun 18 13:51:27 ldap slapd[7706]: send_ldap_response: msgid=0 tag=120 err=2
>Jun 18 13:51:27 ldap slapd[7706]: conn=2 op=1 DISCONNECT tag=120 err=2 
>text=unexpected data in PDU
>Jun 18 13:51:27 ldap slapd[7706]: do_bind: get_ctrls failed
>
>on server side.
>
>OS: RH9 with kernel 2.4.21
>>From othe computer script works well wkth the same LDAP server.
>Could You please poin me how to find solution
>Sergios