summaryrefslogtreecommitdiff
path: root/source3/include/rpc_lsa.h
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/include/rpc_lsa.h
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/include/rpc_lsa.h')
-rw-r--r--source3/include/rpc_lsa.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/include/rpc_lsa.h b/source3/include/rpc_lsa.h
index 1bd18bc7e8..02f8a63ab8 100644
--- a/source3/include/rpc_lsa.h
+++ b/source3/include/rpc_lsa.h
@@ -274,7 +274,6 @@ typedef struct dom_trust_info
/* DOM_R_REF */
typedef struct dom_ref_info
{
- uint32 undoc_buffer; /* undocumented buffer pointer. */
uint32 num_ref_doms_1; /* num referenced domains */
uint32 ptr_ref_dom; /* pointer to referenced domains */
uint32 max_entries; /* 32 - max number of entries */
@@ -336,7 +335,9 @@ typedef struct lsa_q_lookup_sids
/* LSA_R_LOOKUP_SIDS - response to LSA Lookup SIDs */
typedef struct lsa_r_lookup_sids
{
+ uint32 ptr_dom_ref;
DOM_R_REF *dom_ref; /* domain reference info */
+
LSA_TRANS_NAME_ENUM *names;
uint32 mapped_count;
@@ -364,10 +365,11 @@ typedef struct lsa_q_lookup_names
/* LSA_R_LOOKUP_NAMES - response to LSA Lookup NAMEs by name */
typedef struct lsa_r_lookup_names
{
+ uint32 ptr_dom_ref;
DOM_R_REF *dom_ref; /* domain reference info */
uint32 num_entries;
- uint32 undoc_buffer; /* undocumented buffer pointer */
+ uint32 ptr_entries;
uint32 num_entries2;
DOM_RID2 *dom_rid; /* domain RIDs being looked up */