mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r15112: Move strict locking default to auto. Fix up the error
return for one of the Samba4 torture tests.
Jeremy.
(This used to be commit 9db6617756
)
This commit is contained in:
parent
a3fdf8ac21
commit
5445694eb9
@ -551,7 +551,7 @@ static service sDefault = {
|
|||||||
False, /* bStoreDosAttributes */
|
False, /* bStoreDosAttributes */
|
||||||
False, /* bDmapiSupport */
|
False, /* bDmapiSupport */
|
||||||
True, /* bLocking */
|
True, /* bLocking */
|
||||||
True, /* iStrictLocking */
|
Auto, /* iStrictLocking */
|
||||||
True, /* bPosixLocking */
|
True, /* bPosixLocking */
|
||||||
True, /* bShareModes */
|
True, /* bShareModes */
|
||||||
True, /* bOpLocks */
|
True, /* bOpLocks */
|
||||||
|
@ -5221,7 +5221,7 @@ int reply_lockingX(connection_struct *conn, char *inbuf, char *outbuf,
|
|||||||
/* we don't support these - and CANCEL_LOCK makes w2k
|
/* we don't support these - and CANCEL_LOCK makes w2k
|
||||||
and XP reboot so I don't really want to be
|
and XP reboot so I don't really want to be
|
||||||
compatible! (tridge) */
|
compatible! (tridge) */
|
||||||
return ERROR_DOS(ERRDOS, ERRnoatomiclocks);
|
return ERROR_FORCE_DOS(ERRDOS, ERRnoatomiclocks);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (locktype & LOCKING_ANDX_CANCEL_LOCK) {
|
if (locktype & LOCKING_ANDX_CANCEL_LOCK) {
|
||||||
|
Loading…
Reference in New Issue
Block a user