From 32954eb9e9eb1e3613ad55cb1afd5e19e81b5da8 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Mon, 18 May 1998 11:54:00 +0000 Subject: 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 (This used to be commit f215d375f0f1e12894c2a9e86bd28d4776d337c1) --- source3/lib/util.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/lib') 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 #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 /******************************************************************* -- cgit