summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-08-08 01:15:14 +0000
committerAndrew Tridgell <tridge@samba.org>1998-08-08 01:15:14 +0000
commit963e96f3a980b20925e21ed2f9d3744c21802cce (patch)
treef541abe04e091fcd8f9e644faa69cca15f3c06cb /source3/lib/util.c
parentc0e709417f278f2a37c36655909ca0f2b1409232 (diff)
downloadsamba-963e96f3a980b20925e21ed2f9d3744c21802cce.tar.gz
samba-963e96f3a980b20925e21ed2f9d3744c21802cce.tar.bz2
samba-963e96f3a980b20925e21ed2f9d3744c21802cce.zip
added --with-nisplus-home option
(This used to be commit 70000c21909a154344b489e8aa18a5868ff52865)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c8
1 files changed, 4 insertions, 4 deletions
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 <rpcsvc/nis.h>
#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
/*******************************************************************