mirror of
https://github.com/samba-team/samba.git
synced 2025-12-14 20:23:54 +03:00
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 commit is contained in:
@@ -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
|
||||
|
||||
/*******************************************************************
|
||||
|
||||
Reference in New Issue
Block a user