Fix bug #9588 - ACLs are not inherited to directories for DFS shares.
commit14936071f81ec6b5238f92d7a413abc429f615df
authorJeremy Allison <jra@samba.org>
Fri, 25 Jan 2013 18:21:48 +0000 (25 10:21 -0800)
committerKarolin Seeger <kseeger@samba.org>
Thu, 14 Mar 2013 09:51:41 +0000 (14 10:51 +0100)
tree37cbf967c1252d05c66a3ffb047b4318807fc19a
parent7df430f06690d0e30083a18a9c7bf7ace3b6953c
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>
(cherry picked from commit 99d2cb211f04e907bf2ed19656843026207ae0e3)
source3/smbd/msdfs.c