diff options
author | Garming Sam <garming@catalyst.net.nz> | 2014-02-04 15:09:04 +1300 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-02-08 03:31:34 +0100 |
commit | a3979677a825765b70e55720cf19a40e0a3b33af (patch) | |
tree | 95535e349c1b6f6b8bee1bb198cac885af7338ac /source3 | |
parent | 61d4af550a94af7ced5e149f4166941edf80cfd8 (diff) | |
download | samba-a3979677a825765b70e55720cf19a40e0a3b33af.tar.gz samba-a3979677a825765b70e55720cf19a40e0a3b33af.tar.xz samba-a3979677a825765b70e55720cf19a40e0a3b33af.zip |
param: rename lp function and variable from "nis_home_map" to "nis_homedir"
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
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/substitute.c | 4 | ||||
-rw-r--r-- | source3/param/loadparm.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/substitute.c b/source3/lib/substitute.c index 937f02c499..ce4fbbab73 100644 --- a/source3/lib/substitute.c +++ b/source3/lib/substitute.c @@ -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); diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 8413134aaa..d332154961 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -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 |