param: rename lp function and variable from "nis_home_map" to "nis_homedir"
authorGarming Sam <garming@catalyst.net.nz>
Tue, 4 Feb 2014 02:09:04 +0000 (15:09 +1300)
committerJeremy Allison <jra@samba.org>
Sat, 8 Feb 2014 02:31:34 +0000 (03:31 +0100)
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Feb  8 03:31:34 CET 2014 on sn-devel-104

lib/param/param_functions.c
lib/param/param_table.c
source3/lib/substitute.c
source3/param/loadparm.c

index 005a75e2be1963d7174487ee32aa866e04e4fb10..159a7a6b0dc507b75f58c6bcddf70a82897ba959 100644 (file)
@@ -194,7 +194,7 @@ FN_GLOBAL_BOOL(map_untrusted_to_domain, map_untrusted_to_domain)
 FN_GLOBAL_BOOL(show_add_printer_wizard, show_add_printer_wizard)
 FN_GLOBAL_BOOL(multicast_dns_register, multicast_dns_register)
 FN_GLOBAL_BOOL(neutralize_nt4_emulation, neutralize_nt4_emulation)
-FN_GLOBAL_BOOL(nis_home_map, nis_home_map)
+FN_GLOBAL_BOOL(nis_homedir, nis_homedir)
 FN_GLOBAL_BOOL(nmbd_bind_explicit_broadcast, nmbd_bind_explicit_broadcast)
 FN_GLOBAL_BOOL(ntlm_auth, ntlm_auth)
 FN_GLOBAL_BOOL(nt_pipe_support, nt_pipe_support)
index 1a02b785c3f0910efc3965c0fbb93c25615b02f5..515e94c041c7d1a34d45f7cf2ce20b7cffb91084 100644 (file)
@@ -3526,7 +3526,7 @@ static struct parm_struct parm_table[] = {
                .label          = "NIS homedir",
                .type           = P_BOOL,
                .p_class        = P_GLOBAL,
-               .offset         = GLOBAL_VAR(nis_home_map),
+               .offset         = GLOBAL_VAR(nis_homedir),
                .special        = NULL,
                .enum_list      = NULL,
                .flags          = FLAG_ADVANCED,
index 937f02c4994892761883110644c94c9a132abb70..ce4fbbab73d4d915f5816eca4e8d815e7327289b 100644 (file)
@@ -355,7 +355,7 @@ static const char *automount_path(const char *user_name)
 
 #if (defined(HAVE_NETGROUP) && defined (WITH_AUTOMOUNT))
 
-       if (lp_nis_home_map()) {
+       if (lp_nis_homedir()) {
                const char *home_path_start;
                char *automount_value = automount_lookup(ctx, user_name);
 
@@ -410,7 +410,7 @@ static const char *automount_server(const char *user_name)
        }
 
 #if (defined(HAVE_NETGROUP) && defined (WITH_AUTOMOUNT))
-       if (lp_nis_home_map()) {
+       if (lp_nis_homedir()) {
                char *p;
                char *srv;
                char *automount_value = automount_lookup(ctx, user_name);
index 8413134aaaf8287079e4cb03237e0bb75f1150e3..d3321549614196232f54a469cb6be2eca200ef76 100644 (file)
@@ -850,7 +850,7 @@ static void init_globals(bool reinit_globals)
        Globals.lm_announce = Auto;     /* = Auto: send only if LM clients found */
        Globals.lm_interval = 60;
 #if (defined(HAVE_NETGROUP) && defined(WITH_AUTOMOUNT))
-       Globals.nis_home_map = false;
+       Globals.nis_homedir = false;
 #ifdef WITH_NISPLUS_HOME
        string_set(&Globals.homedir_map, "auto_home.org_dir");
 #else