summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
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 d8249958af..48492e5eb6 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -22,7 +22,7 @@
#include "includes.h"
#if (defined(NETGROUP) && defined (AUTOMOUNT))
-#ifdef NISPLUS
+#ifdef NISPLUS_HOME
#include <rpcsvc/nis.h>
#else
#include "rpcsvc/ypclnt.h"
@@ -3829,7 +3829,7 @@ char *client_addr(int fd)
*******************************************************************/
#if (defined(NETGROUP) && defined(AUTOMOUNT))
-#ifdef NISPLUS
+#ifdef NISPLUS_HOME
static char *automount_lookup(char *user_name)
{
static fstring last_key = "";
@@ -3880,7 +3880,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 */
+#else /* NISPLUS_HOME */
static char *automount_lookup(char *user_name)
{
static fstring last_key = "";
@@ -3927,7 +3927,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 */
+#endif /* NISPLUS_HOME */
#endif
/*******************************************************************