The Samba-Bugzilla – Attachment 8491 Details for
Bug 9588
ACLs are not inherited to directories for DFS shares
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 4.0.x and master and 3.6.x. 34854ae58fb0fdeec7f27d1d6264b2035778ea6b in master
0001-Fix-bug-9588-ACLs-are-not-inherited-to-directories-f.patch (text/plain), 1.44 KB, created by
Jeremy Allison
on 2013-01-25 22:16:59 UTC
(
hide
)
Description:
git-am fix for 4.0.x and master and 3.6.x. 34854ae58fb0fdeec7f27d1d6264b2035778ea6b in master
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2013-01-25 22:16:59 UTC
Size:
1.44 KB
patch
obsolete
>From f6514ea408148c639191e3b86bed0d9ccfb74beb Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Fri, 25 Jan 2013 10:21:48 -0800 >Subject: [PATCH] Fix bug #9588 - ACLs are not inherited to directories for DFS > shares. > >We can return with NT_STATUS_OK in an error code path. This >has a really strange effect in that it prevents the ACL editor >in Windows XP from recursively changing ACE entries on sub-directories >after a change in a DFS-root share (we end up returning a path >that looks like: \\IPV4\share1\xptest/testdir with a mixture >of Windows and POSIX pathname separators). > >Signed-off-by: Jeremy Allison <jra@samba.org> >--- > source3/smbd/msdfs.c | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > >diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c >index 4bf7aba..5388db9 100644 >--- a/source3/smbd/msdfs.c >+++ b/source3/smbd/msdfs.c >@@ -1031,6 +1031,19 @@ NTSTATUS get_referred_path(TALLOC_CTX *ctx, > if (!NT_STATUS_EQUAL(status, NT_STATUS_PATH_NOT_COVERED)) { > DEBUG(3,("get_referred_path: No valid referrals for path %s\n", > dfs_path)); >+ if (NT_STATUS_IS_OK(status)) { >+ /* >+ * We are in an error path here (we >+ * know it's not a DFS path), but >+ * dfs_path_lookup() can return >+ * NT_STATUS_OK. Ensure we always >+ * return a valid error code. >+ * >+ * #9588 - ACLs are not inherited to directories >+ * for DFS shares. >+ */ >+ status = NT_STATUS_NOT_FOUND; >+ } > goto err_exit; > } > >-- >1.8.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
ddiss
:
review+
jra
:
review?
(
gd
)
metze
:
review+
Actions:
View
Attachments on
bug 9588
: 8491