/* Printers cannot be read_only. */
service->read_only = false;
/* Printer services must be printable. */
- service->print_ok = true;
+ service->printable = true;
DEBUG(3, ("adding printer service %s\n", pszPrintername));
/* The [printers] entry MUST be printable. I'm all for flexibility, but */
/* I can't see why you'd want a non-printable printer service... */
if (strwicmp(service->szService, PRINTERS_NAME) == 0) {
- if (!service->print_ok) {
+ if (!service->printable) {
DEBUG(0, ("WARNING: [%s] service MUST be printable!\n",
service->szService));
- service->print_ok = true;
+ service->printable = true;
}
/* [printers] service must also be non-browsable. */
if (service->browseable)
FN_LOCAL_BOOL(msdfs_root, msdfs_root)
FN_LOCAL_BOOL(browseable, browseable)
FN_LOCAL_BOOL(read_only, read_only)
-FN_LOCAL_BOOL(printable, print_ok)
+FN_LOCAL_BOOL(printable, printable)
FN_LOCAL_BOOL(map_hidden, map_hidden)
FN_LOCAL_BOOL(map_archive, map_archive)
FN_LOCAL_BOOL(oplocks, oplocks)
.label = "printable",
.type = P_BOOL,
.p_class = P_LOCAL,
- .offset = LOCAL_VAR(print_ok),
+ .offset = LOCAL_VAR(printable),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED | FLAG_PRINT,
.label = "print ok",
.type = P_BOOL,
.p_class = P_LOCAL,
- .offset = LOCAL_VAR(print_ok),
+ .offset = LOCAL_VAR(printable),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_HIDE,
.guest_only = false,
.administrative_share = false,
.guest_ok = false,
- .print_ok = false,
+ .printable = false,
.print_notify_backchannel = false,
.map_system = false,
.map_hidden = false,
ServicePtrs[i]->guest_only = false;
ServicePtrs[i]->administrative_share = true;
ServicePtrs[i]->guest_ok = guest_ok;
- ServicePtrs[i]->print_ok = false;
+ ServicePtrs[i]->printable = false;
ServicePtrs[i]->browseable = sDefault.browseable;
DEBUG(3, ("adding IPC service\n"));
/* No oplocks on printer services. */
ServicePtrs[i]->oplocks = false;
/* Printer services must be printable. */
- ServicePtrs[i]->print_ok = true;
+ ServicePtrs[i]->printable = true;
DEBUG(3, ("adding printer service %s\n", pszPrintername));
/* The [printers] entry MUST be printable. I'm all for flexibility, but */
/* I can't see why you'd want a non-printable printer service... */
if (strwicmp(ServicePtrs[iService]->szService, PRINTERS_NAME) == 0) {
- if (!ServicePtrs[iService]->print_ok) {
+ if (!ServicePtrs[iService]->printable) {
DEBUG(0, ("WARNING: [%s] service MUST be printable!\n",
ServicePtrs[iService]->szService));
- ServicePtrs[iService]->print_ok = true;
+ ServicePtrs[iService]->printable = true;
}
/* [printers] service must also be non-browsable. */
if (ServicePtrs[iService]->browseable)