Second part of fix for 8636 - When returning an ACL without SECINFO_DACL requested...
authorJeremy Allison <jra@samba.org>
Mon, 23 Jan 2012 19:20:52 +0000 (11:20 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 23 Jan 2012 20:36:58 +0000 (21:36 +0100)
commit4eb17aff84dc0dccec23e066db7a88581cf7668c
tree153c19e28752b679d13c955562873a88d04551e5
parentc0ad67c1888e44be77d8f34681f12fc8b4f19f86
Second part of fix for 8636 - When returning an ACL without SECINFO_DACL requested, we still set SEC_DESC_DACL_PRESENT in the type field.

Ensure we always ask for the set:

OWNER_SECURITY_INFORMATION |
GROUP_SECURITY_INFORMATION |
DACL_SECURITY_INFORMATION  |
SACL_SECURITY_INFORMATION

when getting an ACL inside the module.
source3/modules/vfs_acl_common.c