mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
loadparm: remove remnants of removed option "share modes"
(This completes commit d0878b3b81
)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
3fef8e207c
commit
f2f47b4bae
@ -102,7 +102,6 @@ FN_LOCAL_BOOL(dmapi_support, bDmapiSupport)
|
||||
FN_LOCAL_PARM_BOOL(locking, bLocking)
|
||||
FN_LOCAL_PARM_INTEGER(strict_locking, iStrictLocking)
|
||||
FN_LOCAL_PARM_BOOL(posix_locking, bPosixLocking)
|
||||
FN_LOCAL_BOOL(share_modes, bShareModes)
|
||||
FN_LOCAL_BOOL(kernel_oplocks, bKernelOplocks)
|
||||
FN_LOCAL_BOOL(level2_oplocks, bLevel2OpLocks)
|
||||
FN_LOCAL_BOOL(onlyuser, bOnlyUser)
|
||||
|
@ -232,7 +232,6 @@ static struct loadparm_service sDefault =
|
||||
.bLocking = true,
|
||||
.iStrictLocking = Auto,
|
||||
.bPosixLocking = true,
|
||||
.bShareModes = true,
|
||||
.bOpLocks = true,
|
||||
.bKernelOplocks = false,
|
||||
.bLevel2OpLocks = true,
|
||||
@ -1804,8 +1803,6 @@ bool lp_add_printer(const char *pszPrintername, int iDefaultService)
|
||||
|
||||
/* Printers cannot be read_only. */
|
||||
ServicePtrs[i]->bRead_only = false;
|
||||
/* No share modes on printer services. */
|
||||
ServicePtrs[i]->bShareModes = false;
|
||||
/* No oplocks on printer services. */
|
||||
ServicePtrs[i]->bOpLocks = false;
|
||||
/* Printer services must be printable. */
|
||||
|
Loading…
Reference in New Issue
Block a user