1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

loadparm: rename lp[cfg]_readonly to lp[cfg]_read_only for consistency with docs

Signed-off-by: Michael Adam <obnox@samba.org>

Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
This commit is contained in:
Michael Adam 2014-02-02 14:37:34 +01:00 committed by Andrew Bartlett
parent 974ad7ca7e
commit 16c8762330
3 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ FN_LOCAL_STRING(fstype, fstype)
FN_LOCAL_LIST(ntvfs_handler, ntvfs_handler)
FN_LOCAL_BOOL(msdfs_root, msdfs_root)
FN_LOCAL_BOOL(browseable, browseable)
FN_LOCAL_BOOL(readonly, readonly)
FN_LOCAL_BOOL(read_only, readonly)
FN_LOCAL_BOOL(print_ok, print_ok)
FN_LOCAL_BOOL(map_hidden, map_hidden)
FN_LOCAL_BOOL(map_archive, map_archive)

View File

@ -580,7 +580,7 @@ static NTSTATUS make_connection_snum(struct smbd_server_connection *sconn,
conn->veto_oplock_list = NULL;
conn->aio_write_behind_list = NULL;
conn->read_only = lp_readonly(SNUM(conn));
conn->read_only = lp_read_only(SNUM(conn));
status = set_conn_force_user_group(conn, snum);
if (!NT_STATUS_IS_OK(status)) {

View File

@ -197,7 +197,7 @@ static bool sclassic_bool_option(struct share_config *scfg, const char *opt_name
}
if (strcmp(opt_name, SHARE_READONLY) == 0) {
return lpcfg_readonly(s, lpcfg_default_service(lp_ctx));
return lpcfg_read_only(s, lpcfg_default_service(lp_ctx));
}
if (strcmp(opt_name, SHARE_MAP_SYSTEM) == 0) {