mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +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, /* bDmapiSupport */
|
||||
True, /* bLocking */
|
||||
True, /* iStrictLocking */
|
||||
Auto, /* iStrictLocking */
|
||||
True, /* bPosixLocking */
|
||||
True, /* bShareModes */
|
||||
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
|
||||
and XP reboot so I don't really want to be
|
||||
compatible! (tridge) */
|
||||
return ERROR_DOS(ERRDOS, ERRnoatomiclocks);
|
||||
return ERROR_FORCE_DOS(ERRDOS, ERRnoatomiclocks);
|
||||
}
|
||||
|
||||
if (locktype & LOCKING_ANDX_CANCEL_LOCK) {
|
||||
|
Loading…
Reference in New Issue
Block a user