summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_lsa_nt.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-03 18:12:26 +0100
committerKarolin Seeger <ks@sernet.de>2008-03-04 08:55:25 +0100
commit5491030872b35453d5a13417b0b7f39032b07056 (patch)
treed942236aecb6ad46037dd29dd282a3eef1a97f6b /source3/rpc_server/srv_lsa_nt.c
parentf247b78eb9db8f85f31d8fd07f2cfbd03c819d14 (diff)
downloadsamba-5491030872b35453d5a13417b0b7f39032b07056.tar.gz
samba-5491030872b35453d5a13417b0b7f39032b07056.tar.bz2
samba-5491030872b35453d5a13417b0b7f39032b07056.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 (cherry picked from commit 2c42fc21d8bede226e411623aecd69038477373b) (This used to be commit a94313e06a030e1a1afff18c797e700eb6b25248)
Diffstat (limited to 'source3/rpc_server/srv_lsa_nt.c')
-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;
}