summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_lsarpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_client/cli_lsarpc.c')
-rw-r--r--source3/rpc_client/cli_lsarpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_lsarpc.c b/source3/rpc_client/cli_lsarpc.c
index df45896629..1c764c8b98 100644
--- a/source3/rpc_client/cli_lsarpc.c
+++ b/source3/rpc_client/cli_lsarpc.c
@@ -270,7 +270,7 @@ BOOL lsa_lookup_names(struct cli_state *cli, uint16 fnum,
if (p)
{
- if (r_l.undoc_buffer != 0 && ref.undoc_buffer != 0)
+ if (r_l.ptr_dom_ref != 0 && r_l.ptr_entries != 0)
{
valid_response = True;
}
@@ -399,7 +399,7 @@ BOOL lsa_lookup_sids(struct cli_state *cli, uint16 fnum,
if (p)
{
- if (t_names.ptr_trans_names != 0 && ref.undoc_buffer != 0)
+ if (t_names.ptr_trans_names != 0 && r_l.ptr_dom_ref != 0)
{
valid_response = True;
}