Author: metze
Date: 2007-11-01 08:15:41 +0000 (Thu, 01 Nov 2007)
New Revision: 25775

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25775

Log:
use ndr_pull_union_blob_all() in CLDAP code

metze
Modified:
   branches/SAMBA_4_0/source/libcli/cldap/cldap.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/cldap/cldap.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/cldap/cldap.c      2007-11-01 08:10:54 UTC 
(rev 25774)
+++ branches/SAMBA_4_0/source/libcli/cldap/cldap.c      2007-11-01 08:15:41 UTC 
(rev 25775)
@@ -614,16 +614,16 @@
        }
        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;
 }
 
 /*

Reply via email to