summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-03-17 03:12:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:35 -0500
commitbae6672ea9a06ee3772e5b7d86483b2eac291247 (patch)
tree7a2ec15ef3e7e12339b918f9d7302ab689104f76
parent0188dce887e248208729a52eb6d5d945baf7181e (diff)
downloadsamba-bae6672ea9a06ee3772e5b7d86483b2eac291247.tar.gz
samba-bae6672ea9a06ee3772e5b7d86483b2eac291247.tar.bz2
samba-bae6672ea9a06ee3772e5b7d86483b2eac291247.zip
r14502: Supply both needed arguments for the backend logoff processing.
This should fix the segfaults on the build farm. Metze: please check Andrew Bartlett (This used to be commit fb927a71173eba2bd33bbb9ea589b63f5e33b3f2)
-rw-r--r--source4/smb_server/smb/reply.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/smb_server/smb/reply.c b/source4/smb_server/smb/reply.c
index 7171618f8c..244fd37af9 100644
--- a/source4/smb_server/smb/reply.c
+++ b/source4/smb_server/smb/reply.c
@@ -2186,8 +2186,10 @@ void smbsrv_reply_ulogoffX(struct smbsrv_request *req)
open by this user on all open tree connects */
for (tcon=req->smb_conn->smb_tcons.list;tcon;tcon=tcon->next) {
req->tcon = tcon;
+ req->ctx = tcon->ntvfs;
status = ntvfs_logoff(req);
req->tcon = NULL;
+ req->ctx = NULL;
if (!NT_STATUS_IS_OK(status)) {
smbsrv_send_error(req, status);
return;