summaryrefslogtreecommitdiff
path: root/source3/utils/smbcacls.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-12-04 07:38:06 +0000
committerAndrew Tridgell <tridge@samba.org>2000-12-04 07:38:06 +0000
commit3eee7625b1c497a6f87a2d11710a4d7c4ff58fa1 (patch)
tree3efc225c605a7dfce9d9de6ca0f38b145aa98cdd /source3/utils/smbcacls.c
parent723c9b87e77a54976e21aa0b23dcb2c055449473 (diff)
downloadsamba-3eee7625b1c497a6f87a2d11710a4d7c4ff58fa1.tar.gz
samba-3eee7625b1c497a6f87a2d11710a4d7c4ff58fa1.tar.bz2
samba-3eee7625b1c497a6f87a2d11710a4d7c4ff58fa1.zip
added a comment
(This used to be commit 032442802f73948e3af2c86fee0d58f82e47f673)
Diffstat (limited to 'source3/utils/smbcacls.c')
-rw-r--r--source3/utils/smbcacls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c
index 7f6275c6ca..570a0b3155 100644
--- a/source3/utils/smbcacls.c
+++ b/source3/utils/smbcacls.c
@@ -317,6 +317,8 @@ static void cacl_set(struct cli_state *cli, char *filename,
return;
}
+ /* the desired access below is the only one I could find that works with
+ NT4, W2KP and Samba */
fnum = cli_nt_create(cli, filename, MAXIMUM_ALLOWED_ACCESS | 0x60000);
if (fnum == -1) {
printf("Failed to open %s: %s\n", filename, cli_errstr(cli));