summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-02-02 16:28:06 -0800
committerJeremy Allison <jra@samba.org>2012-02-02 16:28:06 -0800
commit9fec2c0ea99b2fe0210765eb657287fce05c631b (patch)
tree8491977a251522c653eedae6d9c0bac14816f6a6 /source3
parentfad9727f256588993b15c15cf3c24fe18b885da9 (diff)
downloadsamba-9fec2c0ea99b2fe0210765eb657287fce05c631b.tar.gz
samba-9fec2c0ea99b2fe0210765eb657287fce05c631b.tar.bz2
samba-9fec2c0ea99b2fe0210765eb657287fce05c631b.zip
Allow a SACL to be sent in cli_set_secdesc().
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/clisecdesc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/clisecdesc.c b/source3/libsmb/clisecdesc.c
index 70596d6a67..aef3432009 100644
--- a/source3/libsmb/clisecdesc.c
+++ b/source3/libsmb/clisecdesc.c
@@ -94,6 +94,8 @@ NTSTATUS cli_set_secdesc(struct cli_state *cli, uint16_t fnum,
if (sd->dacl)
sec_info |= SECINFO_DACL;
+ if (sd->sacl)
+ sec_info |= SECINFO_SACL;
if (sd->owner_sid)
sec_info |= SECINFO_OWNER;
if (sd->group_sid)