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)
commit2f2fc84a7c6724f6eab39bf301be70ba5bec15cc
tree13eb42b0238a5744bb2f368f8e686d350287afe5
parent398a3130f5166d4a4d455529ae3048316510f867
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.
(This used to be commit bd27e626c27be72913d1a1569ee6e2e2711df84e)
source4/libcli/cldap/cldap.c
source4/libcli/cldap/cldap.h
source4/librpc/idl/nbt.idl
source4/librpc/ndr/libndr.h
source4/librpc/ndr/ndr.c
source4/torture/ldap/cldap.c