diff options
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r-- | source3/param/loadparm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 2184cf5480..4b32a62cf1 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -227,7 +227,7 @@ static struct loadparm_service sDefault = .bLocking = true, .iStrictLocking = Auto, .bPosixLocking = true, - .bOpLocks = true, + .oplocks = true, .bKernelOplocks = false, .bLevel2OpLocks = true, .bOnlyUser = false, @@ -1782,7 +1782,7 @@ bool lp_add_printer(const char *pszPrintername, int iDefaultService) /* Printers cannot be read_only. */ ServicePtrs[i]->readonly = false; /* No oplocks on printer services. */ - ServicePtrs[i]->bOpLocks = false; + ServicePtrs[i]->oplocks = false; /* Printer services must be printable. */ ServicePtrs[i]->print_ok = true; |