fix for potential lsass.exe crashing due to negative response from
[samba.git] / source3 / rpc_server / srv_lsa.c
index 5f4f9fb929d68a3ddcc41ad7324cd3270899114a..4db97f6d4c0caa23dfd86f1d79424fb730ea23d6 100644 (file)
@@ -177,7 +177,7 @@ static int make_dom_ref(DOM_R_REF *ref, char *dom_name, DOM_SID *dom_sid)
 
        ref->undoc_buffer = 1;
        ref->num_ref_doms_1 = num+1;
-       ref->undoc_buffer2 = 1;
+       ref->ptr_ref_dom  = 1;
        ref->max_entries = MAX_REF_DOMAINS;
        ref->num_ref_doms_2 = num+1;