matt, you had removed a "pointer" from DOM_R_REF structure which made it
authorLuke Leighton <lkcl@samba.org>
Wed, 24 Mar 1999 21:09:34 +0000 (21:09 +0000)
committerLuke Leighton <lkcl@samba.org>
Wed, 24 Mar 1999 21:09:34 +0000 (21:09 +0000)
possible to fix lsa_r_lookup_names, but forgot to add that pointer in
to lsa_r_lookup_sids, where DOM_R_REF was also being used.
(This used to be commit 9092368af8adbf412c71af7216365e926593d54d)

source3/rpc_parse/parse_lsa.c

index 628b6ebe4f06d16847eb85e2d58ccc75a88436c1..dbcc9d8bccd2f4c9e4d82d15cb0812bb9fe7c204 100644 (file)
@@ -820,7 +820,11 @@ void lsa_io_r_lookup_sids(char *desc,  LSA_R_LOOKUP_SIDS *r_s, prs_struct *ps, i
 
        prs_align(ps);
        
-       lsa_io_dom_r_ref  ("dom_ref", r_s->dom_ref, ps, depth); /* domain reference info */
+       prs_uint32("ptr_dom_ref", ps, depth, &(r_s->ptr_dom_ref));
+       if (r_s->ptr_dom_ref != 0)
+       {
+               lsa_io_dom_r_ref  ("dom_ref", r_s->dom_ref, ps, depth); /* domain reference info */
+       }
        lsa_io_trans_names("names  ", r_s->names  , ps, depth); /* translated names */
 
        prs_align(ps);