Experimental Patch for Ticket#2015061621000357 Reportedly some Huawei storage devices don't pass a NtVer attribute for CLDAP netlogon. [MS-ADTS] Section 6.3.3.2 "Domain Controller Response to an LDAP Ping" says that the server should respond normally in this case by sending a NETLOGON_SAM_LOGON_RESPONSE_NT40 structure as reponse. diff a/debian/patches/80_allow_missing_ntver_in_cldap_ping.patch b/debian/patches/80_allow_missing_ntver_in_cldap_ping.patch --- /dev/null +++ b/debian/patches/80_allow_missing_ntver_in_cldap_ping.patch 0a1,13 > --- a/source4/dsdb/samdb/ldb_modules/netlogon.c.orig > +++ b/source4/dsdb/samdb/ldb_modules/netlogon.c > @@ -449,10 +449,6 @@ NTSTATUS parse_netlogon_request(struct l > *domain = lpcfg_dnsdomain(lp_ctx); > } > > - if (*version == -1) { > - goto failed; > - } > - > return NT_STATUS_OK; > > failed: diff --git a/debian/patches/series b/debian/patches/series --- a/debian/patches/series +++ b/debian/patches/series @@ -10000,0 +10000,1 @@ +80_allow_missing_ntver_in_cldap_ping.patch