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

Re: Net::LDAPapi syncrepl working only intermittently in 2.4.42



On Wed, 9 Sep 2015, Nat Sincheler wrote:

2015-09-09T08:32:20.926931-07:00 ldap-jessie0 slapd[631]: conn=1161 op=4 SEARCH RESULT tag=101 err=2 nentries=0 text=Sync control : mode decoding error 2015-09-09T08:32:20.927211-07:00 ldap-jessie0 slapd[631]: conn=1161 op=4 do_search: get_ctrls failed

[...]
What does "Sync control : mode decoding error" mean? Any suggestions on next steps for troubleshooting?

See RFC4533 section 2.2 ... mode i.e. refreshOnly or refreshAndPersist.

blindly: I'm not familiar with the Perl module you reference, but perhaps you need to be explicitly specifying this value (i.e. perhaps your API has you sending some uninitialized, invalid value)?

methodically: packet sniffing, say using wireshark and/or slapd debugging facilities, and sit down and figure out if you're sending valid BER/mode value/etc. Or if your client API has some debugging options, but again, I'm not familiar with that side.