summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)