From 0f6e10886f3f778fe301ee981873f29d295d39c5 Mon Sep 17 00:00:00 2001 From: Tim Prouty Date: Wed, 1 Jul 2009 16:15:52 -0700 Subject: s3: Change some filename_convert to pass in NULL for char **fname argument --- source3/smbd/reply.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'source3/smbd/reply.c') diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index d7eaaa8a2c..e37cdcb6b4 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -994,7 +994,7 @@ void reply_checkpath(struct smb_request *req) req->flags2 & FLAGS2_DFS_PATHNAMES, name, &smb_fname, - &name); + NULL); if (!NT_STATUS_IS_OK(status)) { if (NT_STATUS_EQUAL(status,NT_STATUS_PATH_NOT_COVERED)) { @@ -2095,7 +2095,7 @@ void reply_mknew(struct smb_request *req) req->flags2 & FLAGS2_DFS_PATHNAMES, fname, &smb_fname, - &fname); + NULL); if (!NT_STATUS_IS_OK(status)) { if (NT_STATUS_EQUAL(status,NT_STATUS_PATH_NOT_COVERED)) { reply_botherror(req, @@ -2109,7 +2109,8 @@ void reply_mknew(struct smb_request *req) if (fattr & aVOLID) { DEBUG(0,("Attempt to create file (%s) with volid set - " - "please report this\n", fname)); + "please report this\n", + smb_fname_str_dbg(smb_fname))); } if(req->cmd == SMBmknew) { @@ -2227,7 +2228,7 @@ void reply_ctemp(struct smb_request *req) req->flags2 & FLAGS2_DFS_PATHNAMES, fname, &smb_fname, - &fname); + NULL); if (!NT_STATUS_IS_OK(status)) { if (NT_STATUS_EQUAL(status,NT_STATUS_PATH_NOT_COVERED)) { reply_botherror(req, NT_STATUS_PATH_NOT_COVERED, @@ -5197,7 +5198,7 @@ void reply_mkdir(struct smb_request *req) req->flags2 & FLAGS2_DFS_PATHNAMES, directory, &smb_dname, - &directory); + NULL); if (!NT_STATUS_IS_OK(status)) { if (NT_STATUS_EQUAL(status,NT_STATUS_PATH_NOT_COVERED)) { reply_botherror(req, NT_STATUS_PATH_NOT_COVERED, -- cgit