lpcfg_string_set(service, &service->comment, comment);
service->browseable = default_service->browseable;
/* Printers cannot be read_only. */
- service->readonly = false;
+ service->read_only = false;
/* Printer services must be printable. */
service->print_ok = true;
lp_ctx->sDefault->iMaxPrintJobs = 1000;
lp_ctx->sDefault->bAvailable = true;
lp_ctx->sDefault->browseable = true;
- lp_ctx->sDefault->readonly = true;
+ lp_ctx->sDefault->read_only = true;
lp_ctx->sDefault->map_archive = true;
lp_ctx->sDefault->strict_locking = true;
lp_ctx->sDefault->oplocks = true;
FN_LOCAL_LIST(ntvfs_handler, ntvfs_handler)
FN_LOCAL_BOOL(msdfs_root, msdfs_root)
FN_LOCAL_BOOL(browseable, browseable)
-FN_LOCAL_BOOL(read_only, readonly)
+FN_LOCAL_BOOL(read_only, read_only)
FN_LOCAL_BOOL(print_ok, print_ok)
FN_LOCAL_BOOL(map_hidden, map_hidden)
FN_LOCAL_BOOL(map_archive, map_archive)
.label = "read only",
.type = P_BOOL,
.p_class = P_LOCAL,
- .offset = LOCAL_VAR(readonly),
+ .offset = LOCAL_VAR(read_only),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_BASIC | FLAG_ADVANCED | FLAG_SHARE,
.label = "write ok",
.type = P_BOOLREV,
.p_class = P_LOCAL,
- .offset = LOCAL_VAR(readonly),
+ .offset = LOCAL_VAR(read_only),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_HIDE,
.label = "writeable",
.type = P_BOOLREV,
.p_class = P_LOCAL,
- .offset = LOCAL_VAR(readonly),
+ .offset = LOCAL_VAR(read_only),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_HIDE,
.label = "writable",
.type = P_BOOLREV,
.p_class = P_LOCAL,
- .offset = LOCAL_VAR(readonly),
+ .offset = LOCAL_VAR(read_only),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_HIDE,
.browseable = true,
.access_based_share_enum = false,
.bAvailable = true,
- .readonly = true,
+ .read_only = true,
.guest_only = false,
.administrative_share = false,
.guest_ok = false,
string_set(&ServicePtrs[i]->fstype, "IPC");
ServicePtrs[i]->max_connections = 0;
ServicePtrs[i]->bAvailable = true;
- ServicePtrs[i]->readonly = true;
+ ServicePtrs[i]->read_only = true;
ServicePtrs[i]->guest_only = false;
ServicePtrs[i]->administrative_share = true;
ServicePtrs[i]->guest_ok = guest_ok;
ServicePtrs[i]->browseable = sDefault.browseable;
/* Printers cannot be read_only. */
- ServicePtrs[i]->readonly = false;
+ ServicePtrs[i]->read_only = false;
/* No oplocks on printer services. */
ServicePtrs[i]->oplocks = false;
/* Printer services must be printable. */
added_service = true;
/* Read only is controlled by usershare ACL below. */
- ServicePtrs[iService]->readonly = false;
+ ServicePtrs[iService]->read_only = false;
}
/* Write the ACL of the new/modified share. */