diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-12-24 16:03:52 +1300 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-01-24 16:18:54 -0800 |
commit | bb9035fbed5b944835b8c62f12c48e35fd9e237f (patch) | |
tree | 66081be82afe0cd60fddb25e78b783726c838d19 | |
parent | 80af9ec9ac1f493e1c39e6a4407d29b7c63363e6 (diff) | |
download | samba-bb9035fbed5b944835b8c62f12c48e35fd9e237f.tar.gz samba-bb9035fbed5b944835b8c62f12c48e35fd9e237f.tar.xz samba-bb9035fbed5b944835b8c62f12c48e35fd9e237f.zip |
param: Rename variable used for lp_registry_shares bRegistryShares
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r-- | lib/param/param_functions.c | 2 | ||||
-rw-r--r-- | lib/param/param_table.c | 2 | ||||
-rw-r--r-- | source3/param/loadparm.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index c28e9f31c0..c5663b09da 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -204,7 +204,7 @@ FN_GLOBAL_BOOL(obey_pam_restrictions, obey_pam_restrictions) FN_GLOBAL_BOOL(pam_password_change, pam_password_change) FN_GLOBAL_BOOL(passdb_expand_explicit, passdb_expand_explicit) FN_GLOBAL_BOOL(passwd_chat_debug, passwd_chat_debug) -FN_GLOBAL_BOOL(registry_shares, bRegistryShares) +FN_GLOBAL_BOOL(registry_shares, registry_shares) FN_GLOBAL_BOOL(reject_md5_clients, bRejectMD5Clients) FN_GLOBAL_BOOL(reject_md5_servers, bRejectMD5Servers) FN_GLOBAL_BOOL(require_strong_key, bRequireStrongKey) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index 423c37c7cf..3e0173239f 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -3634,7 +3634,7 @@ static struct parm_struct parm_table[] = { .label = "registry shares", .type = P_BOOL, .p_class = P_GLOBAL, - .offset = GLOBAL_VAR(bRegistryShares), + .offset = GLOBAL_VAR(registry_shares), .special = NULL, .enum_list = NULL, .flags = FLAG_ADVANCED, diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 03bc0b1488..90ebabb5d6 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -1026,7 +1026,7 @@ static void init_globals(bool reinit_globals) Globals.iKeepalive = DEFAULT_KEEPALIVE; /* By default no shares out of the registry */ - Globals.bRegistryShares = false; + Globals.registry_shares = false; Globals.iminreceivefile = 0; |