svn commit: samba r14502 - in branches/SAMBA_4_0/source/smb_server/smb: .

abartlet at samba.org abartlet at samba.org
Fri Mar 17 03:12:35 GMT 2006


Author: abartlet
Date: 2006-03-17 03:12:35 +0000 (Fri, 17 Mar 2006)
New Revision: 14502

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14502

Log:
Supply both needed arguments for the backend logoff processing.

This should fix the segfaults on the build farm.

Metze: please check

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/smb_server/smb/reply.c


Changeset:
Modified: branches/SAMBA_4_0/source/smb_server/smb/reply.c
===================================================================
--- branches/SAMBA_4_0/source/smb_server/smb/reply.c	2006-03-17 01:44:14 UTC (rev 14501)
+++ branches/SAMBA_4_0/source/smb_server/smb/reply.c	2006-03-17 03:12:35 UTC (rev 14502)
@@ -2186,8 +2186,10 @@
 	   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;



More information about the samba-cvs mailing list