From: Andrew Tridgell Date: Thu, 25 Sep 2008 00:19:36 +0000 (-0700) Subject: be friendlier in smb2_deltree to some of the SMB2 implementations that X-Git-Tag: samba-4.0.0alpha6~769^2~228^2~177 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38e70dc47aae6b3bd7ddbcda61e0989f8d659f2b;p=thirdparty%2Fsamba.git be friendlier in smb2_deltree to some of the SMB2 implementations that don't handle SEC_FLAG_MAXIMUM_ALLOWED --- diff --git a/source4/libcli/smb2/util.c b/source4/libcli/smb2/util.c index b149b3d6cec..a360d8fbdff 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;