1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-02 00:23:50 +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:
Luke Leighton
-
parent 0146883f85
commit f215d375f0
10 changed files with 547 additions and 184 deletions

View File

@@ -1068,6 +1068,10 @@ typedef int mode_t;
end of the platform specific sections
********************************************************************/
#if (!defined(USE_LDAP_DB) && !defined(USE_NISPLUS_DB))
#define USE_SMBPASS_DB
#endif
#if defined(USE_MMAP) || defined(FAST_SHARE_MODES)
#include <sys/mman.h>
#endif
@@ -1189,11 +1193,6 @@ union semun {
#include <krb.h>
#endif
#ifdef USE_LDAP
#include <lber.h>
#include <ldap.h>
#endif
#ifdef NO_UTIMBUF
struct utimbuf {
time_t actime;