Fix to allow setting of NULL DACL/SACL
authorSteven Danneman <steven.danneman@isilon.com>
Mon, 24 Nov 2008 02:20:19 +0000 (18:20 -0800)
committerSteven Danneman <steven.danneman@isilon.com>
Mon, 24 Nov 2008 02:30:56 +0000 (18:30 -0800)
commit798b9e1ad6bbdcf873285d0e1c5008e566744162
treecc7ec4f562fa63d5673fa3c926994d9d2bf9cc52
parenta36415a5651c598e1dd28e163995e266dad51130
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.
source3/smbd/nttrans.c