diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-09-24 17:19:36 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-09-24 18:10:22 -0700 |
commit | 38e70dc47aae6b3bd7ddbcda61e0989f8d659f2b (patch) | |
tree | 9b90d8a23f362fd56a6022477341adbc194f4869 | |
parent | 9a50009430e2da70d3753c36d66e4168c27029d9 (diff) | |
download | samba-38e70dc47aae6b3bd7ddbcda61e0989f8d659f2b.tar.gz samba-38e70dc47aae6b3bd7ddbcda61e0989f8d659f2b.tar.bz2 samba-38e70dc47aae6b3bd7ddbcda61e0989f8d659f2b.zip |
be friendlier in smb2_deltree to some of the SMB2 implementations that
don't handle SEC_FLAG_MAXIMUM_ALLOWED
-rw-r--r-- | source4/libcli/smb2/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb2/util.c b/source4/libcli/smb2/util.c index b149b3d6ce..a360d8fbdf 100644 --- a/source4/libcli/smb2/util.c +++ b/source4/libcli/smb2/util.c @@ -138,7 +138,7 @@ int smb2_deltree(struct smb2_tree *tree, const char *dname) } ZERO_STRUCT(create_parm); - create_parm.in.desired_access = SEC_FLAG_MAXIMUM_ALLOWED; + create_parm.in.desired_access = SEC_FILE_READ_DATA; create_parm.in.share_access = NTCREATEX_SHARE_ACCESS_READ| NTCREATEX_SHARE_ACCESS_WRITE; |