summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorMatthew Chapman <matty@samba.org>1999-03-24 12:18:28 +0000
committerMatthew Chapman <matty@samba.org>1999-03-24 12:18:28 +0000
commit22ab15823fde3926f4fea5538632a2215d30d435 (patch)
tree7aeb48a0897ec02420508aeba3bc81d2a4eb00b7 /source3/rpc_client
parent6b9cb3a2545226257d698406c1ab3b016464705e (diff)
downloadsamba-22ab15823fde3926f4fea5538632a2215d30d435.tar.gz
samba-22ab15823fde3926f4fea5538632a2215d30d435.tar.bz2
samba-22ab15823fde3926f4fea5538632a2215d30d435.zip
Fixed LSA Lookup Names. There were a few too many NULL pointers in a
negative response, which tended to crash lsass.exe. (This used to be commit 6d03f61d2536630968007958345cf44a42b03584)
Diffstat (limited to 'source3/rpc_client')
-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;
}