Fix to allow setting of NULL DACL/SACL
commitfc064837fbf84726ad66b16ef6e1f8c67d47a1fe
authorSteven Danneman <steven.danneman@isilon.com>
Mon, 24 Nov 2008 20:05:09 +0000 (24 12:05 -0800)
committerJeremy Allison <jra@samba.org>
Mon, 24 Nov 2008 20:05:09 +0000 (24 12:05 -0800)
tree186cfefcc10e8e31b516e89238caf4e87432dd0c
parent61468186cece7370576a2d13992f9a523067e4be
Fix to allow setting of NULL DACL/SACL

This is a modification of Jeremy's 7522ef15aca2429ef57c75d8297dd8121e79c9da
commit.

If no DACL/SACL is present in the packet, the SEC_INFO field should still be
passed down as is to the VFS layer to signal the creation of a NULL DACL/SACL.

As seen in metze RAW-ACL test_nttrans_create_null_dacl(), a NULL DACL is set
regardless of the SEC_DESC_DACL_PRESENT bit being set.
source/smbd/nttrans.c