[Samba] Failed to parse cldap reply

Chris Andrew candrew at oxspring.com
Tue Jan 15 12:20:42 GMT 2008

An update on this problem:
> Have successfully joined samba to a 2003 AD, but when I start winbind,
> logs are full of the following:
> ==> log.winbindd <==
> [2008/01/14 11:25:58, 1] libads/cldap.c:recv_cldap_netlogon(247)
>   Failed to parse cldap reply

>From source code, I installed the latest krb5, openldap and
samba-3.0.28, but I still had the same problem.

Ran up wireshark and noticed a CLDAP query (AD Ping), that was returning
zero results, hence libads/cldap.c was bailing out with the error above.

The CLDAP query was searching with the filter 
Filter: (&(&(DnsDomain=DOM.DOM)(Host=GW2))(NtVer=06:00:00:00))
Item: Netlogon

And the return packet contained:
LDAPMessage searchResDone(4) [0 results]
        messageID: 4
        protocolOp: searchResDone (5)
                resultCode: success (0)

After much googling, I found a post, where some chap noticed CLDAP
problems after upgrading from samba-3.0.22.

I've just installed samba-3.0.22 and my problems have gone away. When I
run up wireshark, there doesn't appear to be any CLDAP queries running,
but all the usual commands (below) work OK:
wbinfo -t
wbinfo -u 
wbinfo -a user%pass

I'm not sure how to further debug this problem - I'd appreciate any
suggestions. Clearly I'd like to run the latest samba-3.0.28.


More information about the samba mailing list