diff options
author | Garming Sam <garming@catalyst.net.nz> | 2014-02-04 15:09:03 +1300 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-02-07 16:19:13 -0800 |
commit | 1256555b76d9302a08dd47eaa1118172395171d7 (patch) | |
tree | cc69aa59964e8e69d2c557c2196bf0270f3de4db /source3/lib/util.c | |
parent | 5f4159b25bcddc06babbd9b3aa6c3ff86770a610 (diff) | |
download | samba-1256555b76d9302a08dd47eaa1118172395171d7.tar.gz |
param: rename lp function and variable from "nis_home_map_name" to "homedir_map"
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 42fa79c1bec..342db91c9b8 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -593,7 +593,7 @@ char *automount_lookup(TALLOC_CTX *ctx, const char *user_name) { char *value = NULL; - char *nis_map = (char *)lp_nis_home_map_name(); + char *nis_map = (char *)lp_homedir_map(); char buffer[NIS_MAXATTRVAL + 1]; nis_result *result; @@ -645,7 +645,7 @@ char *automount_lookup(TALLOC_CTX *ctx, const char *user_name) char *nis_result; /* yp_match inits this */ int nis_result_len; /* and set this */ char *nis_domain; /* yp_get_default_domain inits this */ - char *nis_map = lp_nis_home_map_name(talloc_tos()); + char *nis_map = lp_homedir_map(talloc_tos()); if ((nis_error = yp_get_default_domain(&nis_domain)) != 0) { DEBUG(3, ("YP Error: %s\n", yperr_string(nis_error))); |