r6720: added support for the remaining 2 types of CLDAP netlogon
authorAndrew Tridgell <tridge@samba.org>
Tue, 10 May 2005 23:33:56 +0000 (23:33 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:16:37 +0000 (13:16 -0500)
commitbd27e626c27be72913d1a1569ee6e2e2711df84e
treec77e61068280ffa5c1022fec64e3c8455a8a1540
parent9a8f3e3c4cc3bad804b4fab3a7248e6fd88f3749
r6720: added support for the remaining 2 types of CLDAP netlogon
response.

To work around the fact that the type of the returned data is not
encoded in the packet, this required adding ndr_pull_union_blob()
which allows us to pull a blob into a union with a specified switch
value, in this case the switch value comes from the calling NtVer field.
source/libcli/cldap/cldap.c
source/libcli/cldap/cldap.h
source/librpc/idl/nbt.idl
source/librpc/ndr/libndr.h
source/librpc/ndr/ndr.c
source/torture/ldap/cldap.c