Commit Graph

552 Commits

Author SHA1 Message Date
Kurt Zeilenga
0c57f4cc57 Misc yr updates 2001-05-07 19:30:45 +00:00
Kurt Zeilenga
383391b460 detect and use fcntl (for BSD/OS)
detect inet_ntop (for MacOSX)
2001-05-03 05:53:34 +00:00
Kurt Zeilenga
6e4655a6c5 Add stupid check for dlopen for SASL and TLS 2001-05-03 01:13:49 +00:00
Kurt Zeilenga
955158dfcb Adjust format 2001-01-22 07:51:24 +00:00
Kurt Zeilenga
bf53620d64 Change some defaults
Label some options as experimental
Change how configure prints defaults
2001-01-22 06:49:12 +00:00
Kurt Zeilenga
c71f03068e fix SLP detection 2001-01-18 22:18:09 +00:00
Kurt Zeilenga
7717998192 treat additional schemes as elective options as even {crypt} requires
special attention to implement on most platforms (due to OpenSSL issues).
2001-01-18 18:40:21 +00:00
Kurt Zeilenga
8a22a0e0d0 SLP extension derived from patch provided by Caldera Systems.
Copyright 2000, Caldera Systems, Inc All rights reserved.
This software is not subject to any license of Caldera Systems, Inc

This is free software; you can redistribute and use it
under the same terms as OpenLDAP itself
2001-01-16 22:18:33 +00:00
Kurt Zeilenga
8478db9c08 Fix last commit 2001-01-12 04:20:35 +00:00
Kurt Zeilenga
7e0d6fa969 Add LMHASH detection 2001-01-12 03:21:38 +00:00
Kurt Zeilenga
8f77915722 Change rlookups default to 'no' (from 'auto') 2001-01-03 20:47:08 +00:00
Kurt Zeilenga
77c9fb66b4 comment out --enable-multimaster
(I previously said I'd only do this in re20 but its easier to do
here... and no big deal for those wanting to work on it to
define the macro via the environment)
2001-01-03 20:46:33 +00:00
Kurt Zeilenga
ff0f390230 remove extra '&&' from CDPATH kludge 2001-01-03 19:06:22 +00:00
Kurt Zeilenga
aeb1b9c50a Update CDPATH clearing code 2000-12-31 03:17:18 +00:00
Kurt Zeilenga
caf124bc79 Regenerate 2000-12-31 02:32:39 +00:00
Kurt Zeilenga
a0760db9dd Add detection for gia_strerror 2000-10-16 04:10:22 +00:00
Kurt Zeilenga
0828a93cdf Fix macro spelling 2000-09-25 01:21:20 +00:00
Kurt Zeilenga
611d8a4226 Yet another ipv6 detection fix 2000-09-25 01:17:22 +00:00
Kurt Zeilenga
8e7f974e2c Another try at ipv6 detection 2000-09-25 01:15:12 +00:00
Kurt Zeilenga
b99223a37c Fix typo 2000-09-25 01:13:26 +00:00
Kurt Zeilenga
cba2d64941 Add additional ipv6 detection 2000-09-25 01:11:39 +00:00
Kurt Zeilenga
eaae21b834 Fix --enable-spasswd logic 2000-09-19 21:11:02 +00:00
Kurt Zeilenga
4077211117 Fix up back-bdb framework 2000-09-18 20:03:41 +00:00
Kurt Zeilenga
c3b0c9bd0a Initial autoconf support for back-bdb 2000-09-18 19:02:03 +00:00
Kurt Zeilenga
ac5ecaf8e0 Centralize versioning in build/version.sh 2000-09-15 03:27:20 +00:00
Kurt Zeilenga
af4fdca0bb Use build/version.sh instead of build/version 2000-09-14 21:01:22 +00:00
Kurt Zeilenga
d2d7b97649 Cleanup 2000-09-14 07:26:28 +00:00
Kurt Zeilenga
ed68c977d9 Zap LDAP_LIBUI 2000-09-14 07:22:01 +00:00
Kurt Zeilenga
4a7b40b38c Fix kerboros typo 2000-09-13 01:40:15 +00:00
Kurt Zeilenga
75eae8799f Default kbind to no as this functionality is deprecated. 2000-09-12 21:19:12 +00:00
Kurt Zeilenga
a56d0a0849 Fix kpasswd/kbind detection (ITS#717) 2000-09-06 21:22:47 +00:00
Kurt Zeilenga
a484698daa Fix minor typo in configure.in 2000-08-30 00:03:25 +00:00
Kurt Zeilenga
68e8a1b43f Fix -liodbc typo 2000-08-25 21:42:57 +00:00
Kurt Zeilenga
2999294746 Add -liodbc/-lodbc for back-sql 2000-08-25 17:50:05 +00:00
Kurt Zeilenga
25a9f7427d Remove CLDAP cruft 2000-08-18 04:25:00 +00:00
Kurt Zeilenga
e801d834bc Warn about lack of SASL and/or TLS. 2000-07-25 01:11:09 +00:00
Kurt Zeilenga
5fc22599e2 Update SASL code to reuse context through life of session.
Replace 'negotiated' with 'interactive' bind
Add hooks for SASL/EXTERNAL
Disable SASL security layers
Rework SASL command line and config file parameters
2000-07-13 22:54:38 +00:00
Kurt Zeilenga
1f1993989a s/enable-unix/enable-local/
s/LDAP_PF_UNIX/LDAP_PF_LOCAL/
s/AF_UNIX/AF_LOCAL/
s/PF_UNIX/PF_LOCAL/
2000-07-09 21:49:36 +00:00
Kurt Zeilenga
07c7d3c3cb QUIPU -> Attic 2000-06-25 21:40:13 +00:00
Kurt Zeilenga
d5e9b1a2d8 Minor clean 2000-06-18 19:36:48 +00:00
Kurt Zeilenga
55dba4395f Update PF_INET6 and PF_UNIX detection, both default to auto 2000-06-09 23:09:51 +00:00
Kurt Zeilenga
70a7656d7f Detect getaddrinfo 2000-06-09 17:01:05 +00:00
Julio Sánchez Fernández
05d1caad05 Added maildap. 2000-06-09 00:45:59 +00:00
Kurt Zeilenga
9ad6c8aaac Use CDPATH clearing mechanism borrowed from autoconf 2.14a 2000-06-09 00:43:04 +00:00
Kurt Zeilenga
f08840491f Clear CDPATH 2000-06-09 00:32:02 +00:00
Kurt Zeilenga
e5ebc553ac Rework URI parser to provide true scheme not proto/properties.
Plus more pthread rwlock code
2000-06-07 01:09:40 +00:00
Kurt Zeilenga
4a1f646682 Move experimental Back-BDB2 to Attic 2000-06-06 01:23:17 +00:00
Kurt Zeilenga
1af849c720 DNSSRV use res_query, not res_search
Update configure and depend --enable-dnssrv upon finding res_query
Update back-dnssrv to better handle ManageDSAit control
2000-06-05 23:56:26 +00:00
Kurt Zeilenga
7dc76e7139 move --enable-dns (LDAP_API_FEATURE_X_OPENLDAP_V2_DNS) to Attic 2000-06-05 07:19:09 +00:00
Kurt Zeilenga
45c6324a9d Move ldapd into the Attic, quipu tools remain for now. 2000-06-01 23:00:22 +00:00
Kurt Zeilenga
25be5fca2f comment out dmalloc detection 2000-05-30 20:15:54 +00:00
Kurt Zeilenga
fa38b2edc3 Add basic detection for db3 2000-05-25 21:09:10 +00:00
Kurt Zeilenga
8411a5319a New Berkeley DB detection 2000-05-25 20:44:07 +00:00
Kurt Zeilenga
8045b54124 Use getpassphrase() instead of getpass() if available. 2000-05-19 18:41:26 +00:00
Howard Chu
605832eaa5 Added support for AIX security database:
configure.in: check for AIX security library, set in AUTH_LIBS macro
  top.mk: add AUTH_LIBS macro to SECURITY_LIBS
  portable.h.in: added HAVE_AIX_SECURITY macro (via autoheader)
  passwd.c: use AIX getuserpw in chk_unix. Also fix logic in chk_unix:
  	getpwnam must always succeed for the given user. It is not a
	fatal error if getspnam returns no result for the user: On
	systems that support /etc/shadow, its usage is optional. The
	same logic applies for AIX, SCO/HP SecureWare, etc.
2000-05-11 10:10:53 +00:00
Kurt Zeilenga
1dc3e3c408 Add basic and EXPERIMENTAL chroot() support. 2000-05-10 23:30:52 +00:00
Howard Chu
de72e9a46c Looks like we found the same problem. But I think rev 1.297 is incomplete.
ol_link_sasl vs ol_link_spasswd is confusing.
2000-05-10 22:48:23 +00:00
Kurt Zeilenga
36d5d25e31 Additional DNS SRV framework (a work in progress)
Fix --disable-spasswd
2000-05-10 20:07:01 +00:00
Kurt Zeilenga
2c2a54d6d7 Add DNS SRV backend framework (a work in progress). 2000-05-10 18:17:38 +00:00
Kurt Zeilenga
056a1e27db Remove extra --enable-modules flag... 2000-05-10 04:31:42 +00:00
Kurt Zeilenga
f224e69558 Add experimental code to check simple bind passwords
against Cyrus SASLdb.  Like other cleartext mechanisms,
should be protected from eavesdropping.
2000-05-10 04:29:51 +00:00
Kurt Zeilenga
6141b1eebe Delete (again) unneeded discrete-aci flag and regenerate... 2000-03-16 19:14:48 +00:00
Dmitry Kovalev
8dc136ddd6 update Unix build environment to support back-sql
2 more steps left: add back-sql directory itself, and update Win32 build environment.
2000-03-16 18:54:11 +00:00
Kurt Zeilenga
0dbaf87730 Another round of changes behind -DSLAPD_SCHEMA_NOT_COMPAT
plus these changes unhidden changes:
	remove now meaning --enable-discreteaci configure option
	fix ITS#451, slapd filters
	Add ber_bvecadd() to support above
	constify ldap_pvt_find_wildcard() and misc slapd routines
	renamed some slap.h macros
	likely broken something
2000-02-14 20:57:34 +00:00
Kurt Zeilenga
c889235649 Only allow NDBM if manually selected. Provide no hints that
one can select NDBM as NDBM is not supported.
2000-01-27 19:33:59 +00:00
Kurt Zeilenga
5ae4ea3593 Don't even spit out NDBM skipped warning 2000-01-27 19:30:57 +00:00
Kurt Zeilenga
45842ab4a1 Don't list NDBM as an option. 2000-01-27 19:11:44 +00:00
Kurt Zeilenga
dd1e4fc53d Add -llunicode to build environment 2000-01-26 00:00:45 +00:00
Kurt Zeilenga
0426431639 Fix --enabel-kbind=auto --without-kerberos detection 2000-01-11 04:20:59 +00:00
Kurt Zeilenga
fb49e2771e --disable-kbind --disable-kpasswd should imply --without-kerberos
under "auto" selection.  If not auto, just warn.
Rebuild configure using appropriate tools.
2000-01-08 19:23:26 +00:00
Kurt Zeilenga
6437785a82 Initial implementation of Kerberos password verification for
simple bind via:
	{KERBEROS}principal
Code is disabled by default (for security reasons).  Use
--enable-kpasswd to enable.  Behind SLAPD_KPASSWD.
Reworked Kerberos detection and split out KBIND as independent
feature (--disable-kbind) (LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND).
KBIND depends upon detection of KRB4 (or KRB425) support.  Detection,
building with eBones (as distributed with FreeBSD 3.4) okay, but
wasn't able to test as I don't have a K4 KDC handy.
--with-kerberos has a number of detection options... most likely
don't work properly.
2000-01-08 18:42:11 +00:00
Luke Howard
9b4e3b2234 Merged in preliminary support for Cyrus SASL library;
support for DCE slash-delimited, left-to-right DNs;
support for a domain socket transport (enable with
--enable-ldapi); and extensions to URL parsing to
support the latter transport.
2000-01-02 01:21:25 +00:00
Kurt Zeilenga
8b99e6cdbd Remove LBER_{TAG,INT,LEN}_{NTOH,HTON} macros. Rewrite code to
manual push bytes about.  Allows ber_*_t to be any 32-bit or
larger type.  Reworked AC_{HTON,NTOH}{L,S} macros to care only
about 32-bit (netlong) and 16-bit (netshort) reordering as
needed for BSD socket interface.
1999-11-26 23:32:18 +00:00
Kurt Zeilenga
c59d1a34db Use 'long' for LBER_INT_T. 1999-11-25 17:45:21 +00:00
Kurt Zeilenga
62a06eda3e Don't use 'int' for LBER_*_T types as we only have hton{s,l}.
Select appropriopriate hton{s,l} function to use in lber-int.h.
1999-11-25 17:10:45 +00:00
Kurt Zeilenga
ff2068b4ee Booker says Krb5 requires "-lkrb4 -lkrb5 -ldes425 -lcrypto -lcom_err" 1999-11-17 02:26:55 +00:00
Kurt Zeilenga
4d03404848 s/==/=/ in sh equality tests 1999-11-17 02:18:04 +00:00
Kurt Zeilenga
357101793b Use lber types instead of uint32 for md5. sha1 still requires
an integer type of exactly 32 bits.
1999-11-17 02:04:06 +00:00
Kurt Zeilenga
a90a38ec2d write winsock with AC_CACHE_CHECK to allow mangling via environment. 1999-11-02 02:32:55 +00:00
Kurt Zeilenga
89893b0fbf Remove unnecessary dependency upon $ac_cv_mingw32. 1999-11-02 02:10:36 +00:00
Kurt Zeilenga
daa7907b4f Move NT Thread test into build/openldap.m4. Still bogus (only
enables if MINGW32 and always enables if MINGW32).
1999-11-01 23:45:09 +00:00
Kurt Zeilenga
320cc86969 Define HAVE_NT_EVENT_LOG && HAVE_NT_SERVICE_MANAGER when HAVE_NT_THREADS 1999-11-01 22:06:00 +00:00
Kurt Zeilenga
bb1b81473b Add configure tests for ssize_t and caddr_t and remove NT preamble
(excepting WIN32_LEAN_AND_MEAN).  Rework openlog/closelog use to
eliminate need for defines.
1999-11-01 18:14:26 +00:00
Kurt Zeilenga
4757d60fb4 Use compile time, instead of run time, sizeof checks. 1999-11-01 17:36:09 +00:00
Kurt Zeilenga
26d8290859 Remove more dependencies upon $ac_cv_mingw32 1999-11-01 03:40:55 +00:00
Kurt Zeilenga
2aee8f8750 Remove some dependencies upon $ac_cv_mingw32. Most should be
replaced with actual functional tests.  Needed to provide uWin
and other Unix on NT environments.
1999-10-28 17:42:02 +00:00
Kurt Zeilenga
f3da68969b Add third argument AC_DEFINE() calls added by last commit to
avoid having to define macros by hand in acconfig.h (which
were mistaken added to portable.h.in).
1999-10-28 07:48:59 +00:00
Howard Chu
9c46eee39b Added support for Mingw32
See README 1.27 log
1999-10-28 07:23:03 +00:00
Kurt Zeilenga
bdca662249 Add lutil_entropy(). Currently only supports /dev/urandom or
Linux equivs.  Should be extended to support other quality
sources of entropy.  Should be extended to support a reasonable fallback.
1999-10-26 22:57:39 +00:00
Kurt Zeilenga
7f9a10d58a Fix s/else if/elif/ typo 1999-10-05 15:29:54 +00:00
Kurt Zeilenga
c0a6159844 Initial Kth Kerberos support. Changes based upon suggestions
from Booker Bense <bbense@networking.stanford.edu>.
1999-10-01 05:11:39 +00:00
Ben Collins
b7dd47c4cb * configure.in: add --enable-dynamic option for linking our local binaries
with the shared libraries instead of static, defaults to no
* build/lib-shared.mk: if LINK_BINS_DYNAMIC is set we create a symlink to
  the .so and .so.# file along with the .a and .la files
* build/lib.mk: make sure the above links get removed on clean target
* build/top.mk: add define for LINK_BINS_DYNAMIC
* tests/scripts/defines.sh: add export for LD_LIBRARY_PATH so that tests will
  run without requiring installation of libraries when we use --enable-dynamic
  (LD_LIBRARY_PATH is always set, since it can't really hurt).
1999-09-29 00:56:43 +00:00
Ben Collins
ed75be1b3c * configure.in: add tcl8.2 to list of tcl libs to search for, also added new MOD_TCL_LIB
and related AC_SUBST() so that when back-tcl is compiled as a dynamic module we link
  -ltcl to the module and not slapd (this is the correct way to do this since the .la file
  handles giving the correct libs when we pass the module to it in the linker line with
  -dlopen). Also modified the perl backend in a similar way except that the PERL_CPPFLAGS
  always go to the module and never to slapd (slapd doesn't need them).
* build/mod.mk: added $(MODLIBS) to the dynamic module link line to accomodate module
  specific libraries. These should be defined in the back-*/Makefile.in file for each
  module (so far only back-tcl and back-perl need it).
* build/top.mk: modified the perl ldflags and cppflags slightly
* servers/slapd/Makefile.in: same here
* servers/slapd/back-perl/Makefile.in: added MODLIBS=$(MOD_PERL_LDFLAGS) for when we are
  using a dynamic module (problem, libtool wont allow linking static libs into a libtool
  lib, so unless perl's libs are compiled dynamic, then back-perl can't be a dynamic
  module. We need a test for this on perl and tcl).
* servers/slapd/back-tcl/Makefile.in: added MODLIBS=$(MOD_TCL_LIB)
* back-perl and back-tcl now compile
1999-09-23 05:32:10 +00:00
Julio Sánchez Fernández
b67ade148e Add substitution of WRAP_LIBS 1999-09-22 17:45:59 +00:00
Ben Collins
7a0523b53d * configure.in: Added better check for libwrap (the old way failed when
libwrap was a dynamic library). Added -lwrap to new subst var WRAP_LIBS
  so we have more control over where it get's linked (dynamic libwrap
  causes problems when we link to programs that don't define certains
  globals that libwrap expects).
* build/top.mk: Added placeholder for WRAP_LIBS subst
* servers/slapd/Makefile.in: Added $(WRAP_LIBS) to the slapd and sslapd
  link command line specifically so it doesn't get thrown in with the rest
  of the LIBS.
* configure: rebuilt
1999-09-22 15:00:51 +00:00
Kurt Zeilenga
6b0ccd4a5d Add experimental detection of BerkeleyDB2 DB_THREAD.
If not available, LDBM uses big mutex and BDB2 is disabled.
Should add BerkeleyDB version detection...
1999-09-20 20:55:54 +00:00
Kurt Zeilenga
7e65074723 cosmetic changes 1999-09-13 18:31:39 +00:00
Kurt Zeilenga
d4bb42710a Print copyright notice at startup. 1999-09-12 17:13:15 +00:00
Kurt Zeilenga
0fcf553d45 Needs some additonal m4 magic to get rcsid correct. 1999-09-10 02:10:20 +00:00
Kurt Zeilenga
5c5be8a287 Rework RCS id codes such that they are placed at the top of
configure.  Implementation is dependent upon autoconf internals.
Attempts to use AC_REVISION hammered by libtool bugs.  Will submit
reports to libtool camp and rework configure.in once fixes are
released.
1999-09-09 20:35:43 +00:00
Kurt Zeilenga
0ed114224b Generate OpenLDAP id for configure 1999-09-09 05:21:18 +00:00
Kurt Zeilenga
0307dd3b38 Use pipe(2) if descriptors are selectable. 1999-08-31 17:01:10 +00:00
Kurt Zeilenga
fed44d4972 Add some basic detection of restartable syscalls, sigaction,
socketpair.  Use dependent on useful detection is.
1999-08-31 00:58:22 +00:00
Kurt Zeilenga
40fa9d36ce s/Id/OpenLDAP/ in RCSids 1999-08-30 08:08:00 +00:00
Kurt Zeilenga
23be50047c Add experimental OpenLDAP RCSid 1999-08-30 08:02:39 +00:00
Kurt Zeilenga
ae28af1383 Update a few comments 1999-08-29 20:11:23 +00:00
Kurt Zeilenga
1ee09a4d09 Add RCS Id (experimental) 1999-08-28 06:00:46 +00:00
Kurt Zeilenga
170b97ef54 Clarify -enable-dns and "LDAPD" as being an X.500-to-LDAP gateway 1999-08-25 18:32:28 +00:00
Kurt Zeilenga
b8a3a153bb Axe <varargs.h> support. Assume STDC C translator is available
to build OpenLDAP.
1999-08-24 00:27:53 +00:00
Kurt Zeilenga
fb3a6ee715 ./configure --help cleanup 1999-08-22 18:47:54 +00:00
Kurt Zeilenga
1b0aa8cf23 Support for native GNU Pth Threads (--with-threads=pth)
Tests behave as expected excepting slapd sometimes does not
shutdown properly.
1999-08-22 03:04:33 +00:00
Kurt Zeilenga
5cf315c31f Experimental support for GNU Pth's Posix Thread API. This might be a
suitable for systems with poor (or nonexistant) Pthread implementations.
1999-08-21 17:19:10 +00:00
Kurt Zeilenga
87675a953d ACIs from Mark Valence <kurash@sassafras.com> (ITS#261) 1999-08-20 22:42:04 +00:00
Kurt Zeilenga
682fc1e8f7 Do not attempt "-mt" pthread detection. Rely on -lpthread instead. 1999-08-17 00:20:39 +00:00
Kurt Zeilenga
0b26912e40 res_search() detection: always look for res_search to include -lresolv
for inet_aton().  May be linked in when not absolutely necessary...
	but no big deal, we'll likely start using res_search over sychronous
	get{host,peer}byname calls anyways.
inet_aton() detection: use link instead of compile
1999-08-15 22:57:32 +00:00
Kurt Zeilenga
8f970aa247 New pthread tests... 1999-08-13 23:07:21 +00:00
Kurt Zeilenga
e3f34e305f Rework --without-subdir to remove trailing / 1999-08-13 02:04:32 +00:00
Howard Chu
e766d2c568 Fail if libtool's libltdl is not present and --enable-modules was given. 1999-08-07 22:44:26 +00:00
Howard Chu
366e8fd5ad Final round of module changes 1999-08-07 11:37:43 +00:00
Howard Chu
3d1dc1b90b Modified to use libtool's ltdl instead of gmodule. Full Makefile support
for building backends as modules.
1999-08-07 07:59:41 +00:00
Howard Chu
b78a4a34f9 Preliminary Make rules to allow building backends as modules. 1999-08-06 16:15:05 +00:00
Kurt Zeilenga
e0691dfbc0 create SASL_LIBS to hold -lsasl
create SECURITY_LIBS (top.mk) to order $SASL_LIBS $KRB_LIBS $TLS_LIBS
use $SECURITY_LIBS in Makefile.in's instead of $KRB_LIBS $TLS_LIBS
1999-08-05 02:25:19 +00:00
Kurt Zeilenga
7b6a923937 Add basic configure support of --enable-quipu 1999-08-05 01:23:04 +00:00
Kurt Zeilenga
354d49fb9a List supportedSASLmechanisms based upon what sasl_listmech() returns. 1999-08-03 23:23:05 +00:00
Kurt Zeilenga
ecb9c3b3fb Add multimaster replication support (ITS#170) based upon
updated patch submitted Philipp Klaus <ldapml@internet.access.ch>
Can be enabled using --enable-multimaster.  TODO:
Replication test likely should be adjusted to test multimaster environment.
1999-08-03 22:15:19 +00:00
Kurt Zeilenga
2b79ff2c48 Initial inet_aton() detection. 1999-08-03 20:02:44 +00:00
Kurt Zeilenga
f90ed5aef8 Add a little SASL framework and remove old X-DIGEST-MD5 hardcode.
This code is not called (yet).
1999-08-03 02:37:42 +00:00
Kurt Zeilenga
8a0b9e8a3b Add HAVE_CYRUS_SASL define 1999-08-03 00:50:52 +00:00
Kurt Zeilenga
6f51f4d671 Add detection for Cyrus SASL library.
Improve detection of FreeBSD FetchURL library.
1999-08-02 23:35:03 +00:00
Kurt Zeilenga
48d5465ab7 Add support for "foo:< http://localhost/path.
Requires FreeBSD's -lfetch...
Implementations to other URL APIs encouraged.
Probably should be moved to -llutil.
1999-07-31 03:23:26 +00:00
Kurt Zeilenga
2967e3c9ef Relocate headers checks to above libraries such that their results can
be used during library and function checks.
1999-07-29 18:38:21 +00:00
Kurt Zeilenga
0b6daeb91b Slight rearrangment of gmodule detection 1999-07-28 18:12:48 +00:00
Kurt Zeilenga
b738f2a4db Check for netinet/tcp.h
Update res_search check and place behind --enable-dns.
1999-07-27 00:31:08 +00:00
Kurt Zeilenga
6ba2272321 Adhere to "servers will not return operational attributes" in
all cases (including root dse).
1999-07-24 02:12:42 +00:00
Kurt Zeilenga
095f78b392 Use AC_CACHE_CHECK instead of AC_CACHE_VAR.
Rework sys_errlist detection to set HAVE_SYS_ERRLIST if sys_errlist
exists.  If it declaration is needed, DECL_SYS_ERRLIST is also set.
1999-07-24 00:04:05 +00:00
Kurt Zeilenga
259d56da08 Use AC_DEFINE third argument to generate portable.h.in entries instead
of explicit acconfig.h entries.
1999-07-23 21:10:02 +00:00
Kurt Zeilenga
0ed1a76d27 Release writer lock on new parent. 1999-07-22 03:42:02 +00:00
Kurt Zeilenga
df14b954e2 Add -mthreads for AIX gcc. 1999-07-20 04:32:42 +00:00
Kurt Zeilenga
cbb5553b03 Newer versions of OpenSSL install headers in $prefix/include/openssl... 1999-07-14 00:03:52 +00:00
Julio Sánchez Fernández
ac5348b0d4 Our check for SSLeay_add_ssl_algorithms fails with modern versions of
OpenSSL since it has been made a preprocessor macro.  Please review
this change to do the right thing w.r.t. rsaref.
1999-07-13 19:20:16 +00:00
Kurt Zeilenga
ff28f54d2d Add configure support for 'socklen_t' as provided by Hallvard. 1999-07-13 18:46:22 +00:00
Hallvard Furuseth
79872b45b0 Fix typo "CC" -> "$CC" in AIX cc_r detection 1999-07-13 03:19:55 +00:00
Kurt Zeilenga
51d1c90887 unifdef -DSLAPD_ACLGROUPS -DSLAPD_ACLAUTH 1999-07-05 06:26:26 +00:00
Kurt Zeilenga
5f28509311 detect write() and use HAVE_WRITE instead of
!defined( DOS ) && !defined( MACOS )
Add detection for read & recv/send for later use.
1999-06-28 04:11:41 +00:00
Kurt Zeilenga
ab10099fc1 Added support for "userPassword: {UNIX}uid". getpwnam("uid") is
used to fetch the pw_passwd which is than passwd to crypt().
getspnam() is used instead of getpwnam() when available.
Added configration detection of pw_passwd, shadow.h, getpwnam()
and getspnam().
1999-06-26 20:52:59 +00:00
Bastiaan Bakker
5a470f8959 Merged dynamic module support patch (see ITS #196). To enable, run ./configure w
ith --enable-modules. GLib v1.2 or higher is required.
1999-06-24 17:06:34 +00:00
Kurt Zeilenga
669b8f4047 ber_int_t, ber_tag_t, ber_socket_t, ber_len_t
added lber_types.h.nt, lber_types.h.in
removal of NULLxxx internal macros (in favor of NULL).
ch_free added to slapd,slurpd/ch_malloc.c
#define free ch_free (should be removed after s/free/ch_free/g) in proto-slap.h
ch_malloc and friends use ber_memalloc and friends
1999-06-18 23:53:05 +00:00
Kurt Zeilenga
426379d5e1 s/prototypes/constructs/ in ANSI C warning. 1999-06-18 20:58:36 +00:00
Kurt Zeilenga
638efc878b For AIX thread options when CC is manual set to cc_r or xlc_r. 1999-06-17 03:26:42 +00:00
Kurt Zeilenga
6fc999e214 Remove meantion of ldapd from main README, add README in servers/ldapd
stating ldapd is not supported nor actively maintained, and the code
may suffer from bitrot.  Update configure warnings.
1999-06-15 21:09:46 +00:00
Kurt Zeilenga
041c7971c4 Add AC_CANONICAL_SYSTEM to generate $target
Use $target instead of $host, maybe should use both $target and $host.
Fix $ol_host_os bug.
1999-06-11 18:24:18 +00:00
Kurt Zeilenga
da549e3a42 _SGI_MP_SOURCE errno/h_errno experiment 1999-06-11 00:07:10 +00:00
Kurt Zeilenga
a40f92813d Update AIX thread test. 1999-06-10 17:19:43 +00:00
Kurt Zeilenga
feb28db2a1 Add basic regex compatibility test. 1999-06-10 04:00:27 +00:00
Kurt Zeilenga
2c4a3c8442 really commit the sizeof(int) < 4 warning 1999-06-10 00:54:47 +00:00
Kurt Zeilenga
0fabd22a3b Fix typos and bug in AIX cc_r detection. 1999-06-09 00:25:42 +00:00
Kurt Zeilenga
be991c81df Add test for BeOS's closesocket 1999-06-09 00:10:26 +00:00
Kurt Zeilenga
9e11b935b8 First cut at cc_r detection. Specific to AIX. See comment in
configure.in for details.
1999-06-08 23:32:36 +00:00
Kurt Zeilenga
30d8d40fa3 Use AC_CHECK_PROGS instead of AC_CHECK_PROG to test for 'cc' in path.
AC_CHECK_PROGS leaves CC alone of 'cc' is not found.
1999-06-08 03:44:35 +00:00
Kurt Zeilenga
e88a9dafc2 Only set CC=cc if test -z CC && cc exists in path... 1999-06-08 02:38:05 +00:00
Kurt Zeilenga
a9fca665e6 OL_MKDEPEND: Round 2
now supports DETECTION using:
	./configure
	env MKDEP_FLAGS=-MM ./configure
	env MKDEP=foo ./configure (no tests, no flags)
	env MKDEP=foo MKDEP_FLAGS=-bar ./configure (no tests)
Exported AC_MKDEP and AC_MKDEP_FLAGS which can no be used
in build/*.mk
1999-06-08 01:33:36 +00:00
Kurt Zeilenga
b594f5209f First cut of OL_CC_DEPEND test. Attempts to detect the appropriate
flag to generate dependencies.  Output not used (yet).
1999-06-07 23:15:36 +00:00
Kurt Zeilenga
cc3785eaab Add test for thread specific h_errno and, if yes, add thread libraries
to lib.
1999-06-07 05:30:05 +00:00
Kurt Zeilenga
ae68b66a2b Revert previous two commits. 1999-06-06 06:20:29 +00:00
Kurt Zeilenga
de7b2b5569 Fix typo in last commit. 1999-06-06 06:13:03 +00:00
Kurt Zeilenga
417e2d59fc Quick hack for cygwin default compiler... should replace with
test for 'cc'.
1999-06-06 06:10:22 +00:00
Kurt Zeilenga
e504623814 A slightly better POSIX regex test.... 1999-06-06 04:44:34 +00:00
Kurt Zeilenga
accecfe53d Relocate regex.h test to near top and die if it fails. 1999-06-06 03:56:40 +00:00
Kurt Zeilenga
d48191b98d Fix typos in warning messages. 1999-06-03 22:51:29 +00:00
Kurt Zeilenga
22adfb812f Warn if attempting to build ldapd. (In preparation to move
ldapd to that Attic)
1999-06-03 00:40:40 +00:00
Howard Chu
193ab59661 Fix --enable-ldap behavior for back-ldap 1999-05-29 03:44:46 +00:00
Kurt Zeilenga
fd41e31d46 Obtain version name from build/version (re-add build/version).
This will facilate version.c generation on non-UNIX systems.
1999-05-28 00:35:09 +00:00
Kurt Zeilenga
984a98a84c Disable explicit AC_PROG_INSTALL check... implicitly checked by
AM_INIT_AUTOMAKE.
1999-05-27 03:09:04 +00:00
Kurt Zeilenga
a57fbea79c Add -lnet to BeOS specific libraries. 1999-05-26 20:35:31 +00:00
Howard Chu
967d1dcb2d For ITS#157: Added LDAP backend for slapd, which also required adding
LDAP_OPT_MATCH_STRING to ldap.h and libldap/options.c.
1999-05-26 02:35:20 +00:00
Kurt Zeilenga
0881444263 BeOS comment was incorrect. 1999-05-25 18:52:45 +00:00
Kurt Zeilenga
83408503a7 Eliminate DECL_STRDUP check in favor of simple fix to <ac/string.h> header.
Add #undef and other protection of macros.
1999-05-24 23:01:57 +00:00
Kurt Zeilenga
4e2b2f8a70 s/PACKAGE/OPENLDAP_PACKAGE/
s/VERSION/OPENLDAP_VERSION/
manually define for NT.  Should sort out mechanism for one place
updating of package/version strings.
1999-05-21 04:00:25 +00:00
Kurt Zeilenga
1db064b821 Add EXEEXT and MKVERSION support 1999-05-19 07:13:42 +00:00
Kurt Zeilenga
00da392c5f Add check for <sys/select.h> for AIX. 1999-05-18 18:34:02 +00:00
Ben Collins
d4f4f8f197 Moved db1/db.h check to the db1 marco in openldap.m4. Also added check for HAVE_DB1_DB_H for which header to include since it's only defined when using db1 1999-05-07 01:27:16 +00:00
Ben Collins
a650d73230 Glibc 2.1 has Berkley db as -ldb1. Set up the autoconf to check this first, else we will actually be using compat calls in db2, and not the real db1. 1999-05-06 12:33:58 +00:00
Ben Collins
014d059b5a Moved -lnet,socket check for BeOS to the rest of the socket checks. Also added a -lnsl _with_ the -lwrap check since some libwrap's are static and need this. 1999-05-04 13:55:59 +00:00
Ben Collins
8c8249c005 Added -lnet for BeOS libs. Also need to add some sort of workaround for inet_aton() since BeOS does not have this call. 1999-05-04 12:33:21 +00:00
Kurt Zeilenga
a42cf36dd2 Fix typos. 1999-04-30 21:32:12 +00:00
Kurt Zeilenga
beddb31813 Backout ssl/ssl.h change for now. Trying to support "odd" 3rd
repackagers is a can of worms.
1999-04-30 00:50:08 +00:00
Julio Sánchez Fernández
38098bcbc8 Sometimes ssl.h is ssl/ssl.h. This is a simple fix so that it is
detected in those cases, more work is needed to abstract its location
so that programs can be compiled without change.
1999-04-29 16:55:43 +00:00
Kurt Zeilenga
dba57a312c Add mkversion script to generate version.c files. mkversion generates
identification strings compatible with ident(1) and what(1).
Uses $(VERSION) generated from configure.in.  rm build/version
rm old version .c files
1999-04-28 05:40:17 +00:00
Kurt Zeilenga
51fba2644a Add vfork comment 1999-04-26 23:55:08 +00:00
Kurt Zeilenga
7ba980f0f6 Modify slapd set user/group support to use -u/-g instead -U/-G.
Moved -u (udp) to -c (connectionless).  Connectionless is depreciated
and undocumented.
Added tests for set{,e}{u,g}id to configure.  Use existance of
setuid/setgid to enable feature.  Use seteuid/setegid only if
they exist.
Fixed minor minor leak of username/groupname if specificied
more than once.  (This should actually be an error)
1999-04-21 00:40:20 +00:00
Kurt Zeilenga
58afabdf00 EXPERIMENTAL: Disable cache saving and loading. 1999-04-20 01:43:01 +00:00
Kurt Zeilenga
48e73426cb Add basic gmodule detection for SLAPD_MODULES.
Cleanup perl detection.
1999-04-14 01:33:01 +00:00
Kurt Spanier
ae41f268de Re-introduction of of syslog in configure.in. The rest nothing, sorry. 1999-04-07 13:47:30 +00:00
Kurt Zeilenga
a816a5eb30 eliminate -lpthread -lexc from pthread link tests 1999-04-07 06:10:46 +00:00
Hallvard Furuseth
479c14ac6c Fix typo ol_cv_pthread_pthread -> ol_cv_pthread_threads for -threads option 1999-04-07 04:44:19 +00:00
Hallvard Furuseth
14f4d60d49 Remove superfluous )' in the pthread_create in default libraries' test 1999-04-07 04:20:08 +00:00
Kurt Zeilenga
404f953ef0 New pthread_try_link test. Looks for pthread_create and pthread_detach
and, if LinuxThreads, pthread_kill_other_threads_np().
1999-04-07 02:47:15 +00:00
Kurt Zeilenga
bbb7964508 New LinuxThreads detection. Correctly detects FreeBSD's LinuxThreads port
(but not sure if it's usable yet).  Needs to be tested on various versions
of Linux native LinuxThreads.
1999-04-06 23:44:27 +00:00
Kurt Zeilenga
b4658cbe24 Cleanup socket() detection.
Move select() detection forward, error if not available.
Move select() args type check forward so it can be used in subsequent tests.
1999-04-04 20:36:35 +00:00
John Quillan
fa2e485480 Fixe problem where perl options were retrieved from perl_inc and not
from ccopts.  This prevented the Perl backend from compiling.
1999-04-04 04:21:48 +00:00
Kurt Zeilenga
82453169fc Add select args type & vfork tests for experimentation purposes. 1999-04-04 00:59:32 +00:00
Kurt Zeilenga
04904a4418 comment out OSF/1 yielding select force. Likely incorrect. 1999-04-03 08:19:37 +00:00
Kurt Zeilenga
4d2b0cfab6 Reorder the pthreads tests and hope for the best. IRIX users beware. 1999-04-03 07:32:17 +00:00
Kurt Zeilenga
37acf0344c s/final/draft4/ in comment about (depreciated) draft4 libraries test order. 1999-04-03 05:58:16 +00:00
Kurt Zeilenga
0f57d966f9 Fix cut and paste mistakes in pthread detections cases: -mt, -thread, -threads. 1999-04-03 05:55:08 +00:00
Hallvard Furuseth
9ebd9a0289 Add -U and -G options to set user and group id.
Move socket setup to set_socket(), called before the uid/gid change.
1999-04-03 03:19:07 +00:00
Kurt Zeilenga
ff5f9edc04 Add checks for recv and recvfrom. 1999-04-02 18:58:48 +00:00
Juan Gomez
4838a836df Added mdbm option for with-ldbm-api variable. 1999-03-30 19:46:52 +00:00
Juan Gomez
009038a795 MDBM detection feature. 1999-03-30 04:25:52 +00:00
Kurt Zeilenga
a95247a58a Add pthread_detach to -kthread test. 1999-03-30 04:07:16 +00:00
Kurt Zeilenga
da25203c58 IRIX (very strange) default libraries have working pthread_create() but
no pthread_detach().  So, augment pthread_create() in default libraries
test to detach created thread.
1999-03-30 00:07:37 +00:00
Kurt Zeilenga
30f953160f Add wait4/3 detection.
Modify slapd_tester to use pid_t and wait macros.  May need to
implement additional macros in ac/wait.h (in addition to
WEXITSTATUS and WIFEXITED).
1999-03-29 01:40:17 +00:00
Hallvard Furuseth
dd44e1c28f Initial port of web_ldap to OpenLDAP. Also fixed some doc bugs. 1999-03-27 18:05:33 +00:00
Kurt Zeilenga
10d7f35484 Don't call AC_CANONICAL_HOST from configure.in. We use feature tests.
(libtool, though, will drag it for it's use...)
1999-03-26 01:05:22 +00:00
Kurt Zeilenga
a9ed7c24e2 Use modified works test to check for pthread_create in default
libraries.  Original work test is still used to valid detected
header/library are compatible.
1999-03-25 22:11:42 +00:00
Kurt Zeilenga
37ff5e356f Backout previous change. It breaks specification of pthreads via
the environment.  A more general solution is needed.
1999-03-25 19:51:54 +00:00
Juan Gomez
6a302baa9f Fixed Pthread detection problem in IRIX. 1999-03-24 04:04:50 +00:00
Kurt Zeilenga
61f6d5d8ca Add check for <assert.h> and put include in right file (acconfig.h) 1999-03-20 03:21:19 +00:00
Kurt Zeilenga
96b2ae55ac Add OL_STRUCT_PASSWD_PW_GECOS test. Checks for pw_gecos in struct passwd. 1999-03-17 22:23:29 +00:00
Kurt Zeilenga
70555f853a NULL needs to be defined for pthread_detach(NULL). 1999-03-16 00:38:16 +00:00
Kurt Zeilenga
5ba71a498b Update EBCDIC tests. 1999-03-15 23:45:28 +00:00
Kurt Zeilenga
02e6172bf8 Implement OL_HEADER_STDC (derived from AC_HEADER_STDC) with EBCDIC
support.  Will submit this to autoconf maintainers...
1999-03-15 21:40:57 +00:00
Kurt Zeilenga
8694a8395c Add EBCDIC test in preparation for VM port. 1999-03-15 19:31:13 +00:00
Ben Collins
e732e12279 configure.in now includes OL_DECL_STRDUP, configure and portable.h.in
rebuilt to reflect it.
1999-03-15 00:18:49 +00:00
Kurt Zeilenga
ae939acafe Fail -lbe check if -lroot doesn't exist. 1999-03-13 23:03:40 +00:00
Kurt Zeilenga
5d5370c3ec Make sure LN_S is set to "cp" if "ln -s" AND "ln" does work. 1999-03-13 22:57:38 +00:00
Kurt Zeilenga
4afc7aab40 Original test failed under FreeBSD. Reworked LN_H detection
after LN_S test.  Moved to openldap.m4 and cached result.
Does not yet handle case where LN_H == 'cp' and LN_S == 'ln'.
1999-03-13 22:53:10 +00:00
Ben Collins
f18213015c Check for how to hard link (ln or cp) and define as LS_H, also includes check for be_app() in -lbe 1999-03-13 19:31:50 +00:00
Ben Collins
159083640a We need a SUBDIR makefile in contrib/ so that compiling in a build dir will work 1999-03-13 18:16:11 +00:00
Ben Collins
362f051a57 Added check for <arpa/inet.h> 1999-03-13 02:17:34 +00:00
Ben Collins
c0b11aa8b5 Added check for getpass() as well as adding it to the -llutil Makefile.in (BeOS will need this) 1999-03-13 02:08:42 +00:00
Kurt Zeilenga
e2d90b3acb Update configure to:
-- fixed gethostbyaddr_r/gethostbyname_r compile warnings
  -- relocated Pthread -mt test to be before -kthread test
1999-03-10 23:31:06 +00:00
Hallvard Furuseth
a24b0c1c70 Integrate saucer in OpenLDAP build environment:
Add saucer/Makefile.in, add saucer to configure and top-level Makefile,
include "portable.h" and <ac/*.h>,
replace ldap_debug/lber_debug with ldap_set_option/lber_set_option.
1999-03-09 01:59:49 +00:00
Kurt Zeilenga
5302491e94 Use $TERMCAP_LIBS in readline test. 1999-03-08 23:01:23 +00:00
Kurt Zeilenga
8d3f492698 Add GNU readline detection. Needed for saucer enhancement (ITS#96). 1999-03-08 01:48:45 +00:00
Kurt Zeilenga
c0c673485b Relocate reentrant checks to before thread checks.
Change default to cc instead of gcc (experimental change).
1999-03-07 03:18:51 +00:00
Kurt Zeilenga
9e71e09bac Relocate reentrant function checks to before thread library checks.
Disable ctime_r() type check.  Need better test.
1999-03-07 00:22:11 +00:00
Kurt Zeilenga
df1672bd02 Update error message for pthread_create() works failure. 1999-03-06 22:33:58 +00:00
Kurt Zeilenga
6cd7680586 Fix typo in configure.in with gethostbyname_r_nargs 1999-03-05 15:59:28 +00:00
Kurt Zeilenga
bbc024fff9 Add comment concerning use of vendor 'cc' with empty CFLAGS with
same code (commented out).
1999-03-04 06:18:29 +00:00
Kurt Zeilenga
ce6836dbed Apply Hallvard's D4 pthread detection patch. 1999-03-03 23:32:00 +00:00
Kurt Zeilenga
625efd9466 If rsaref is needed, add it to TLS_LIBS. 1999-03-03 21:50:02 +00:00
Kurt Zeilenga
8895f5d071 Add first cut of ctime_r return type test. 1999-03-03 21:32:22 +00:00
Kurt Zeilenga
3028424f68 Extend TLS/SSL detection for use RSAref if necessary. 1999-03-02 20:02:29 +00:00
Bart Hartgers
e26de67770 Patch to support to determine the number of args of the
gethostby{name,addr}_r functions.
Contributed by Juan Carlos Gomes IT#68 (apparently).

Also includes support for detecting ssleay in configure.in.
1999-02-25 13:07:27 +00:00
Hallvard Furuseth
79f7c85067 Add locale support (slapd.conf keyword "locale") to slapd if HAVE_LOCALE_H 1999-02-22 21:01:24 +00:00
Kurt Spanier
2889c67adf Client programs for test008-concurrency moved to subdir tests/progs.
Building tests/progs/*.c in the main build process.
==> Test-suite must be called by 'make test', or 'make test-bdb2'
1999-02-22 11:28:01 +00:00
Kurt Zeilenga
9e2fc1ed06 Check for pthread with -mt (for Solaris 2.x).
Still requires user to workaround Solaris pthread_create in -lc issue.
1999-02-21 00:46:57 +00:00
Kurt Zeilenga
aa17fdd0bd Use ldap_pvt_strtok directly and unconditionally.
Implementation no longer uses strtok_r(), it may be broken
or have an odd prototype.
Update configure not to check for strtok/strtok_r nor require
strtok_r to LDAP_API_FEATURE_X_OPENLDAP_REENTRANT.
1999-02-20 20:12:03 +00:00
Kurt Zeilenga
a71f328831 Import Ben Collins <bcollins@debian.org> Back-TCL for SLAPD. 1999-02-14 19:20:14 +00:00