loadparm: remove remnants of removed option "share modes"
[kai/samba.git] / source3 / param / loadparm.c
index 5f009320f990359415d0763670ca0a69ab09f788..cf616f5e195a7c84bf27d92db93cee2ddf86874f 100644 (file)
@@ -232,7 +232,6 @@ static struct loadparm_service sDefault =
        .bLocking = true,
        .iStrictLocking = Auto,
        .bPosixLocking = true,
        .bLocking = true,
        .iStrictLocking = Auto,
        .bPosixLocking = true,
-       .bShareModes = true,
        .bOpLocks = true,
        .bKernelOplocks = false,
        .bLevel2OpLocks = 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;
 
        /* 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. */
        /* No oplocks on printer services. */
        ServicePtrs[i]->bOpLocks = false;
        /* Printer services must be printable. */