diff options
author | Luke Leighton <lkcl@samba.org> | 1998-05-18 11:54:00 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-05-18 11:54:00 +0000 |
commit | 32954eb9e9eb1e3613ad55cb1afd5e19e81b5da8 (patch) | |
tree | 11d821038aec3d384ed8d17607c32d412aa28d9a /source3/include/includes.h | |
parent | 94a39bd9a2bfd3c87596cc1311860b7f840b1634 (diff) | |
download | samba-32954eb9e9eb1e3613ad55cb1afd5e19e81b5da8.tar.gz samba-32954eb9e9eb1e3613ad55cb1afd5e19e81b5da8.tar.bz2 samba-32954eb9e9eb1e3613ad55cb1afd5e19e81b5da8.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
(This used to be commit f215d375f0f1e12894c2a9e86bd28d4776d337c1)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r-- | source3/include/includes.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index acae03c56b..49fb30e786 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -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; |