diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-11-01 08:15:41 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:43:54 +0100 |
commit | 2eb71ba516868576be26d122d12baf94cf52726d (patch) | |
tree | 45936ebbf00342652cc75ce8541248a2d5987f71 /source4/libcli | |
parent | 4881d6b7e5d667c518be4cff55d40c46b1086501 (diff) | |
download | samba-2eb71ba516868576be26d122d12baf94cf52726d.tar.gz samba-2eb71ba516868576be26d122d12baf94cf52726d.tar.bz2 samba-2eb71ba516868576be26d122d12baf94cf52726d.zip |
r25775: use ndr_pull_union_blob_all() in CLDAP code
metze
(This used to be commit 58e202a39b1a0d9b9c64b9136a894257da539c6e)
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/cldap/cldap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/libcli/cldap/cldap.c b/source4/libcli/cldap/cldap.c index f2f661acaa..54b5995377 100644 --- a/source4/libcli/cldap/cldap.c +++ b/source4/libcli/cldap/cldap.c @@ -614,16 +614,16 @@ NTSTATUS cldap_netlogon_recv(struct cldap_request *req, } data = search.out.response->attributes[0].values; - status = ndr_pull_union_blob(data, mem_ctx, &io->out.netlogon, - io->in.version & 0xF, - (ndr_pull_flags_fn_t)ndr_pull_nbt_cldap_netlogon); + status = ndr_pull_union_blob_all(data, mem_ctx, &io->out.netlogon, + io->in.version & 0xF, + (ndr_pull_flags_fn_t)ndr_pull_nbt_cldap_netlogon); if (!NT_STATUS_IS_OK(status)) { DEBUG(2,("cldap failed to parse netlogon response of type 0x%02x\n", SVAL(data->data, 0))); dump_data(10, data->data, data->length); } - return status; + return NT_STATUS_OK; } /* |