From f5a23797949334b3b37a40b8308e0db7ddff9bda Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 12 Sep 2012 11:42:57 -0700 Subject: In vfs modules, don't use 'conn->origpath' when we really mean 'conn->cwd'. This allows VFS modules to work even when we've changed directory under the connect path in order to do root-safe calls. Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Wed Sep 12 23:45:23 CEST 2012 on sn-devel-104 --- source3/modules/vfs_smb_traffic_analyzer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/modules/vfs_smb_traffic_analyzer.c') diff --git a/source3/modules/vfs_smb_traffic_analyzer.c b/source3/modules/vfs_smb_traffic_analyzer.c index c728e7d5e9..9151bfbb0f 100644 --- a/source3/modules/vfs_smb_traffic_analyzer.c +++ b/source3/modules/vfs_smb_traffic_analyzer.c @@ -491,7 +491,7 @@ static void smb_traffic_analyzer_send_data(vfs_handle_struct *handle, username, handle->conn->session_info->info->domain_name, Write ? 'W' : 'R', - handle->conn->connectpath, + handle->conn->cwd, s_data->filename, tm->tm_year+1900, tm->tm_mon+1, -- cgit