summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-09-08 10:43:19 +0200
committerStefan Metzmacher <metze@samba.org>2012-09-08 11:09:45 +0200
commitf2f47b4bae8761d12a878957afac6397565aaf2c (patch)
treeec29f758607f9a50d5f7304027d4d3b328176ad8
parent3fef8e207c92c7ef9274669cb4cb8b29c2164558 (diff)
downloadsamba-f2f47b4bae8761d12a878957afac6397565aaf2c.tar.gz
samba-f2f47b4bae8761d12a878957afac6397565aaf2c.tar.bz2
samba-f2f47b4bae8761d12a878957afac6397565aaf2c.zip
loadparm: remove remnants of removed option "share modes"
(This completes commit d0878b3b8179b1cf061e1058bacbe670363b51c6) Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--lib/param/param_functions.c1
-rw-r--r--source3/param/loadparm.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c
index 4ff44f02a0..52e81a44a5 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -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)
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 5f009320f9..cf616f5e19 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -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. */