From 963e96f3a980b20925e21ed2f9d3744c21802cce Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 8 Aug 1998 01:15:14 +0000 Subject: added --with-nisplus-home option (This used to be commit 70000c21909a154344b489e8aa18a5868ff52865) --- source3/lib/util.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/lib/util.c') diff --git a/source3/lib/util.c b/source3/lib/util.c index a5e1819ae2..ae1a6f3282 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -22,7 +22,7 @@ #include "includes.h" #if (defined(HAVE_NETGROUP) && defined (WITH_AUTOMOUNT)) -#ifdef NISPLUS_HOME +#ifdef WITH_NISPLUS_HOME #include #else #include "rpcsvc/ypclnt.h" @@ -3737,7 +3737,7 @@ static void strip_mount_options( pstring *str) As we may end up doing both, cache the last YP result. *******************************************************************/ -#ifdef NISPLUS_HOME +#ifdef WITH_NISPLUS_HOME static char *automount_lookup(char *user_name) { static fstring last_key = ""; @@ -3791,7 +3791,7 @@ static char *automount_lookup(char *user_name) DEBUG(4, ("NIS+ Lookup: %s resulted in %s\n", user_name, last_value)); return last_value; } -#else /* NISPLUS_HOME */ +#else /* WITH_NISPLUS_HOME */ static char *automount_lookup(char *user_name) { static fstring last_key = ""; @@ -3840,7 +3840,7 @@ static char *automount_lookup(char *user_name) DEBUG(4, ("YP Lookup: %s resulted in %s\n", user_name, last_value)); return last_value; } -#endif /* NISPLUS_HOME */ +#endif /* WITH_NISPLUS_HOME */ #endif /******************************************************************* -- cgit