Zero out the out policy handler in lsa_Close
authorVolker Lendecke <vl@samba.org>
Mon, 3 Mar 2008 17:12:26 +0000 (18:12 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 3 Mar 2008 17:13:38 +0000 (18:13 +0100)
... after a REALLY long session staring at sniffs we can now join XP to
v3-2-test again...

Apparently not doing this makes XP keep an internal handle to LSA open which
confuses the hell out of it.

Karolin, this needs to be in v3-2-stable :-)

Volker
(This used to be commit 2c42fc21d8bede226e411623aecd69038477373b)

source3/rpc_server/srv_lsa_nt.c

index 1333d656d48ad48be3841d16c86c6937f3a6dbba..ce3fd1a44fae0d63a5641f086281244bcaab3965 100644 (file)
@@ -1216,6 +1216,7 @@ NTSTATUS _lsa_Close(pipes_struct *p, struct lsa_Close *r)
        }
 
        close_policy_hnd(p, r->in.handle);
+       ZERO_STRUCTP(r->out.handle);
        return NT_STATUS_OK;
 }