vfs_acl_common: In add_directory_inheritable_components allocate on psd as parent
authorAndrew Bartlett <abartlet@samba.org>
Wed, 31 Oct 2012 22:51:28 +0000 (09:51 +1100)
committerJeremy Allison <jra@samba.org>
Fri, 2 Nov 2012 21:16:14 +0000 (22:16 +0100)
commit60cf4cb5a630506747431ecbf00d890509baf2f3
tree540ec1620f0553619d64504d01a39aab57f5dfb3
parent92e17d5fd0f075a71d1c8f579c11b4ce9bbf6fa6
vfs_acl_common: In add_directory_inheritable_components allocate on psd as parent

When we add a new DACL to the security descriptor, we need to use the
SD as the memory context, so we can talloc_move() it as a tree to a
new parent.

Andrew Bartlett

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Nov  2 22:16:14 CET 2012 on sn-devel-104
source3/modules/vfs_acl_common.c