Fix bug #9588 - ACLs are not inherited to directories for DFS shares.
authorJeremy Allison <jra@samba.org>
Fri, 25 Jan 2013 18:21:48 +0000 (10:21 -0800)
committerDavid Disseldorp <ddiss@samba.org>
Mon, 28 Jan 2013 12:48:13 +0000 (13:48 +0100)
commit34854ae58fb0fdeec7f27d1d6264b2035778ea6b
tree9c579f6681131e6f258efc8021541f8c82ea2952
parent155fdc405ada674146afe577aa7228f6144d34b1
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>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Mon Jan 28 13:48:13 CET 2013 on sn-devel-104
source3/smbd/msdfs.c