git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0188dce
)
r14502: Supply both needed arguments for the backend logoff processing.
author
Andrew Bartlett
<abartlet@samba.org>
Fri, 17 Mar 2006 03:12:35 +0000
(
03:12
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:57:35 +0000
(13:57 -0500)
This should fix the segfaults on the build farm.
Metze: please check
Andrew Bartlett
(This used to be commit
fb927a71173eba2bd33bbb9ea589b63f5e33b3f2
)
source4/smb_server/smb/reply.c
patch
|
blob
|
history
diff --git
a/source4/smb_server/smb/reply.c
b/source4/smb_server/smb/reply.c
index 7171618f8cb844cba4e3087524fdaaeb958a4df6..244fd37af90d907a1109d97347012cb2053359d3 100644
(file)
--- 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;