summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-03 18:12:26 +0100
committerVolker Lendecke <vl@samba.org>2008-03-03 18:13:38 +0100
commit4aa0bfc9853fd0b6d2882c40c53d20e65fe2fa48 (patch)
tree2e7f1dc844558e6741ff641f67348bf49453bdf9
parent2418916460daf264179f07c5432c375ab91c0ea8 (diff)
downloadsamba-4aa0bfc9853fd0b6d2882c40c53d20e65fe2fa48.tar.gz
samba-4aa0bfc9853fd0b6d2882c40c53d20e65fe2fa48.tar.bz2
samba-4aa0bfc9853fd0b6d2882c40c53d20e65fe2fa48.zip
Zero out the out policy handler in lsa_Close
... 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)
-rw-r--r--source3/rpc_server/srv_lsa_nt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index 1333d656d4..ce3fd1a44f 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -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;
}