summaryrefslogtreecommitdiffstats
path: root/source/lib/util.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-05-18 11:54:00 +0000
committerLuke Leighton <lkcl@samba.org>1998-05-18 11:54:00 +0000
commitf215d375f0f1e12894c2a9e86bd28d4776d337c1 (patch)
treed526dbd03b7da7a56aca6cef2af5baa1cf0cf2a2 /source/lib/util.c
parent0146883f8568de4642087bb769b0381c3217d792 (diff)
downloadsamba-f215d375f0f1e12894c2a9e86bd28d4776d337c1.tar.gz
samba-f215d375f0f1e12894c2a9e86bd28d4776d337c1.tar.xz
samba-f215d375f0f1e12894c2a9e86bd28d4776d337c1.zip
Makefile:
- added nisppass.c and NISPLUS_FLAGS includes.h: - renamed USE_LDAP to USE_LDAP_DB. renamed NISPLUS to USE_NISPLUS_DB. added default define of USE_SMBPASS_DB. - removed ldap headers: they are local only to ldap.c ldap.c : - made all ldap-specific functions static. - added dummy sam21 functions loadparm.c : - renamed NISPLUS to NISPLUS_HOME mkproto.awk - commented out ldap-specific #ifdef generation code: it's not needed now that ldap-specific functions in ldap.c are static nisppass.c : - first attempt at an add function from
Diffstat (limited to 'source/lib/util.c')
-rw-r--r--source/lib/util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/lib/util.c b/source/lib/util.c
index d8249958af3..48492e5eb66 100644
--- a/source/lib/util.c
+++ b/source/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
/*******************************************************************