[SCM] Samba Shared Repository - branch v3-4-stable updated -
release-3-4-0pre2-44-g256b2c4
Karolin Seeger
kseeger at samba.org
Fri Jun 19 08:12:52 GMT 2009
The branch, v3-4-stable has been updated
via 256b2c4e2055170c726439e17f586eafa856965e (commit)
from dc54b178f683be3280569d70856780d4cd852126 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-stable
- Log -----------------------------------------------------------------
commit 256b2c4e2055170c726439e17f586eafa856965e
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jun 19 10:10:13 2009 +0200
Fix bug #6487: Missing DFS call in trans2 mkdir call.
(cherry picked from commit 1a0005e1c508cf3b170d1c7e43b94a47b2820506)
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/trans2.c | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 931b7df..40b4701 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -7159,6 +7159,21 @@ static void call_trans2mkdir(connection_struct *conn, struct smb_request *req,
DEBUG(3,("call_trans2mkdir : name = %s\n", directory));
+ status = resolve_dfspath(ctx,
+ conn,
+ req->flags2 & FLAGS2_DFS_PATHNAMES,
+ directory,
+ &directory);
+ if (!NT_STATUS_IS_OK(status)) {
+ if (NT_STATUS_EQUAL(status,NT_STATUS_PATH_NOT_COVERED)) {
+ reply_botherror(req,
+ NT_STATUS_PATH_NOT_COVERED,
+ ERRSRV, ERRbadpath);
+ }
+ reply_nterror(req, status);
+ return;
+ }
+
status = unix_convert(ctx, conn, directory, False, &directory, NULL, &sbuf);
if (!NT_STATUS_IS_OK(status)) {
reply_nterror(req, status);
--
Samba Shared Repository
More information about the samba-cvs
mailing list