Commit Graph

691 Commits

Author SHA1 Message Date
Kurt Zeilenga
04208190b0 Update Notices
move libldif to liblutil
Berkeley DB 4.2 support
2003-11-25 23:20:38 +00:00
Kurt Zeilenga
26f6b2d1dd Fix PERL ldopt handling 2003-10-21 20:56:36 +00:00
Kurt Zeilenga
2438e33b35 Generate test/run script 2003-10-21 03:08:29 +00:00
Kurt Zeilenga
3fbe93c704 Rework support for certificate exact matching based, in part,
on patch submitted by Mark Ruijter <openldap@siennax.com>.
This addresses (hopefully) ITS 2702, 2703, 2719, 2771.
Additional work:
	fix extraneous frees in libldap/getdn.c x509 rewrite routine
	indexing
2003-10-18 02:39:08 +00:00
Kurt Zeilenga
9201971c59 ITS#2764: fix sed of perl ldopts 2003-10-14 05:47:00 +00:00
Howard Chu
729e38854d Fix typo 2003-10-10 07:39:33 +00:00
Kurt Zeilenga
5e9fae342a Comment out Kerberos flags. 2003-10-06 17:43:49 +00:00
Pierangelo Masarati
489b178eaa enable back-monitor build by default 2003-10-06 00:09:59 +00:00
Kurt Zeilenga
0bf7746a75 Fix LONG LONG header comment 2003-09-22 06:07:15 +00:00
Luke Howard
0143bfaaee Also check for strtoll() 2003-09-21 06:04:14 +00:00
Luke Howard
0ce1c00f09 Check for strtoq, strtouq 2003-09-21 05:37:20 +00:00
Jong Hyuk Choi
d113166475 Proxy cache patch (by Jong, Apurva, & Kurt)
1. Glueing patch for proxy cache
2. test script update to avoid schema checking voilations (attributes set)
3. configuration patch for proxy cache
2003-08-13 23:44:56 +00:00
Hallvard Furuseth
55093034c6 Add HAVE_LONG_LONG 2003-06-28 19:52:19 +00:00
Kurt Zeilenga
89ab17fe71 ITS#2608: blind fix for back-ldap/back-meta configuratin clash 2003-06-21 18:46:15 +00:00
Kurt Zeilenga
de05fdc56c mark --enable-slapi as experimental 2003-05-31 02:54:05 +00:00
Kurt Zeilenga
703444febd Partially fix slapi builds, still have undefined references 2003-05-23 06:27:38 +00:00
Kurt Zeilenga
75fed6691a zap --enable-phonetic 2003-05-23 05:27:30 +00:00
Kurt Zeilenga
97368d792e Really zap readline(3) detection 2003-05-23 05:22:44 +00:00
Kurt Zeilenga
1a5bc955ed Remove readline detection 2003-05-23 05:21:08 +00:00
Howard Chu
83d95b5fc2 Added back-hdb 2003-04-23 09:13:24 +00:00
Kurt Zeilenga
acdbf29e93 Backout autoconf 2.57 changes. Too much work for now. 2003-04-07 22:23:24 +00:00
Kurt Zeilenga
b851a1a757 More autoconf 2.57 changes (this is getting ugly) 2003-04-07 22:03:11 +00:00
Kurt Zeilenga
6118cb4c0d Some more autoconf 2.57 updates, much more still needed (ugh). 2003-04-07 18:48:28 +00:00
Kurt Zeilenga
f73f1cfe76 More configure tweaks (autoconf 2.57)... much more needed 2003-04-07 18:19:56 +00:00
Kurt Zeilenga
ad640d3616 Use more robust AC_PROG_SHTOOL instead of homegrown check 2003-04-07 04:43:17 +00:00
Kurt Zeilenga
dd6666d420 Disable gettext detection for now 2003-04-07 04:33:18 +00:00
Kurt Zeilenga
d263297d76 Fix version strings 2003-04-06 05:49:45 +00:00
Kurt Zeilenga
547a68096c Add gettext detection 2003-04-06 02:17:04 +00:00
Kurt Zeilenga
814ef183d5 Autoconf upgrade (partial) 2003-04-06 01:44:08 +00:00
Howard Chu
9f5d4458c2 For IPv6 check for getnameinfo as well as getaddrinfo 2003-03-05 01:32:41 +00:00
Pierangelo Masarati
a66c98705e fix typo 2003-03-03 21:22:23 +00:00
Kurt Zeilenga
fe4f355328 Add acc_rights detection (needs testing) 2003-03-02 21:46:40 +00:00
Kurt Zeilenga
206b071e7f Add check of <sys/uio.h> and include as needed for struct iovec. 2003-03-02 21:21:36 +00:00
Kurt Zeilenga
4e1310c486 more cleanup 2003-02-15 18:20:37 +00:00
Kurt Zeilenga
552a9ab351 cleanup 2003-02-15 17:51:47 +00:00
Kurt Zeilenga
2bf2cb63ba Use existing --enable-dynamic flag to unset -static.
May break NT use of flag...
2003-02-10 06:36:08 +00:00
Kurt Zeilenga
a851d460ec LTSTATIC update 2003-02-09 18:03:39 +00:00
Kurt Zeilenga
4b3396f5fd unifdef -DLDAP_NOCACHE 2003-02-09 07:42:18 +00:00
Kurt Zeilenga
6939c53170 Happy new year 2003-01-03 20:20:47 +00:00
Kurt Zeilenga
ed171cd5a2 use env(1) for old/experimental stuff 2003-01-03 06:10:15 +00:00
Kurt Zeilenga
8f08424455 Fix typo 2003-01-03 06:03:58 +00:00
Kurt Zeilenga
be0d59dbf5 static games 2003-01-02 20:38:57 +00:00
Pierangelo Masarati
08710f80cd fix previous commit 2002-12-07 19:19:26 +00:00
Kurt Zeilenga
a444626d99 Disable slapi by default (for now)
Rebuild configure
2002-12-07 18:52:55 +00:00
Pierangelo Masarati
1b70e16448 SLAPI - Netscape plugin API for slapd - based on patch contributed by Steve Omrani <somrani@us.ibm.com> as ITS#2073 2002-12-07 17:19:29 +00:00
Howard Chu
d7c0a19aab Added check for sendmsg(). Added hack to use BSD sendmsg()/recvmsg() to
propagate peer creds if no explicit PEERCRED facility exists. Works
on Solaris 8.
2002-12-04 16:03:02 +00:00
Kurt Zeilenga
eb41333e4c Use getpeereid(3) where available else use *_PEERCRED replacment function 2002-12-04 06:17:32 +00:00
Kurt Zeilenga
73b4170a6c Rework libldap to not attempt to set LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE 2002-12-04 04:51:55 +00:00
Kurt Zeilenga
97b211174a Set -static when doing build from CVS 2002-11-26 18:11:05 +00:00
Pierangelo Masarati
5794b3a2dd Add checks for SQL headers in configure.in (need to rerun autoheader
and autoconf); #include "ac/string.h" instead of <string.h>
2002-11-09 17:03:07 +00:00
Kurt Zeilenga
20df7df206 Misc configure cleanup 2002-10-29 04:55:15 +00:00
Kurt Zeilenga
a2f9e41b2b SHTOOL cleanup 2002-10-25 05:46:56 +00:00
Kurt Zeilenga
3bd79f6de3 Hide shtool echo bold warnings 2002-10-18 21:33:30 +00:00
Kurt Zeilenga
475515ef78 Fix stupid bug 2002-10-18 21:09:46 +00:00
Kurt Zeilenga
09b31bab4d Add back-shell --with-threads warning 2002-10-18 18:53:07 +00:00
Kurt Zeilenga
85fbd68ed9 tweak {thr,sched,pthread}_yield() detection 2002-10-13 03:07:08 +00:00
Howard Chu
82eed24c3d Prefer thr_yield over sched_yield for Solaris 2002-10-12 01:21:21 +00:00
Kurt Zeilenga
40b685b70d Patch: Delete the buggy surrogate parent code (ITS#1815)
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
2002-10-10 20:28:36 +00:00
Kurt Zeilenga
9f4d662f87 If OpenSSL provides crypt(3), no need to check -lcrypt 2002-10-04 02:44:47 +00:00
Howard Chu
dd77936809 Fix previous commit, LIBSRCS/LIBOBJS should not have stdio.c/stdio.o 2002-09-12 22:49:03 +00:00
Howard Chu
890d4b9449 Moved stdio replacements from liblutil lutil_* to liblber ber_pvt_*. 2002-09-10 00:47:32 +00:00
Howard Chu
c9b7fc6407 New POSIX threads version support. Detects Draft 4,5,6,7,10 (final).
Should eliminate individual checks for pthread_yield, sched_yield,
and pthread_detach, but they're left in for now as a redundant check.
2002-09-07 14:09:09 +00:00
Howard Chu
4d8a2e2815 Remove dependencies on HAVE_VSNPRINTF, use replacement in liblutil/stdio.c
if needed. Same check for snprintf.
2002-09-06 20:54:22 +00:00
Howard Chu
62ceae250c ITS#2065 omit libbackends.a when no static backends configured.
Also fixed dependencies for dynamic backends and tools.
2002-09-04 10:58:25 +00:00
Kurt Zeilenga
b9cd3616b1 Add check for sockaddr_storage before enabling IPv6 2002-08-28 19:26:12 +00:00
Howard Chu
3cb7a09eb0 Added check for Cyrus SASL sasl_version() 2002-08-28 07:12:22 +00:00
Howard Chu
3346eb0eba Delete unused LDBM_LIB macro. (Not to be confused with LDBM_LIBS...) 2002-08-28 02:58:04 +00:00
Kurt Zeilenga
8de258d2e2 Patch: 'ldapmodify -y file' reads password from file (ITS#2031)
================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
            ================
Adapted by Kurt Zeilenga for inclusion in OpenLDAP.  My comments are
marked with enclosed with square brackets (e.g. [Kurt's comment] below.
            ================

If I run ldapmodify & co from a script, I don't want to use '-W password'
because the password shows up in the output of 'ps' for everyone,
and I can't pipe the password to 'ldapmodify -w' because -w uses
getpassphrase() which reads from the tty instead of stdin.
So I added '-y file' which reads the password from file.  The programs
exit if the file cannot be read.

[Complete contents of file is used as password.  Use:
	echo -n "secret" > password
to create a file with "secret" as the password.  The -n avoids
adding a newline (which would invalidate the password).  Note
that echo is a builtin and hence its arguments are not visible
to 'ps'.]

I changed ldapmodify, ldapmodrdn, ldapdelete, ldapsearch, ldapcompare.
I did not bother to change ldappasswd and ldapwhoami, because they
prompt for many passwords.  [I fixed up ldapwhoami.]

Rerun autoconf after applying this patch. [Done.]

Note:  I do not know if Windows NT has fstat(), so I set HAVE_FSTAT to
undef in portable.nt.  (fstat() is used to warn if the file is publicly
readable or writeable.)  [I used fstat() to set the buffer size to
read.]

[Note: using the contents of a file extends the tools to support
passwords which could not normally be provided using getpassphrase()
or via the command line.]

Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, Aug 2002.
[Kurt D. Zeilenga <kurt@openldap.org>, Aug 2002.]
2002-08-24 05:47:17 +00:00
Kurt Zeilenga
9c28c9b361 Zap LDAPv2-only stuff 2002-08-08 03:01:14 +00:00
Kurt Zeilenga
21c0791afe Check for gcc as well. 2002-06-25 05:50:20 +00:00
Kurt Zeilenga
2757cb7504 Complain if cc is missing. 2002-06-25 02:18:50 +00:00
Kurt Zeilenga
b43ad1dd0e Generate man page date from version.sh 2002-06-13 03:59:10 +00:00
Kurt Zeilenga
674c55f78f remove --enable-kbind option (can be manually set) 2002-06-12 04:55:30 +00:00
Howard Chu
8f30c95a84 Delete SLAPD_MODULES_LIST, never needed it. 2002-05-18 02:06:32 +00:00
Kurt Zeilenga
4e51bba217 Patch: Implement surrogate parent for back-shell (ITS#1815)
================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
			================

A surrogate parent is supposed to keep back-shell children from
deadlocking due to resources locked by a threading parent.

Implementation note: The surrogate parent closes all unused file
descriptors, so it logs errors to stderr instead of via Debug() and
uses relloc() instead of ch_realloc().

Also close a file descriptor leak if fork() fails in fork.c.

Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, May 2002.
2002-05-15 06:18:14 +00:00
Kurt Zeilenga
1107e78c5f update SASL compat test to check for 1.5 compatibility 2002-05-13 20:16:44 +00:00
Kurt Zeilenga
82dc573752 Always check SASL compatibility
(Cyrus SASL 2 library may not be called -lsasl2).
2002-05-13 18:48:27 +00:00
Howard Chu
41c5a36376 Require 2.1.3 or higher for Cyrus SASL 2 2002-05-07 23:56:59 +00:00
Pierangelo Masarati
c7224dc31e back-meta needs librewrite and back-ldap; automatically enable them 2002-05-02 09:06:12 +00:00
Kurt Zeilenga
888a7c4efc Error if ar(1) is missing. (ITS#1772) 2002-05-01 19:22:32 +00:00
Howard Chu
ccca59e3fe ITS#1749 added some descriptions for fetch, rewrite, rlookups, modules,
ldbm api/types
2002-04-20 10:24:24 +00:00
Kurt Zeilenga
bf662a8cd1 Trim finger from HEAD 2002-04-15 18:12:42 +00:00
Kurt Zeilenga
fb440f01ab Align --help 2002-04-15 17:17:34 +00:00
Pierangelo Masarati
4a8ab5dbf2 Mostly based on patches provided by Hallvard B. Furuseth
ITS#1677 - cast away const warnings
ITS#1678 - unsigned char args to ctype funcs
ITS#1682 - don't redefine ldap_debug
ITS#1683 - uninitialized vars
ITS#1703 - ldo_debug initialization
ITS#1705 - unsigned testing
ITS#1706 - socklen_t args
ITS#1719 - back-tcl update (other cleanups/fixes/improvements; yet untested)
ITS#1724 - integerNormalize/integerFilter/integerIndexer bugs
ITS#1725 - libdes not required

Implement back-null (/dev/null style backend)
Cleanup some misc warnings ("%lu" format, unused/uninitialized vars,
        ambiguous operator precedence)

Kurt, please regenerate configure
2002-04-08 09:43:22 +00:00
Kurt Zeilenga
e3dcb0481e Clarify error text 2002-04-02 18:16:13 +00:00
Kurt Zeilenga
a9cf0f5c08 Add uuid_to_str() detection. 2002-02-11 20:17:08 +00:00
Kurt Zeilenga
b0394dfc72 No need to AC_SUBST(SHTOOL) 2002-02-11 16:43:13 +00:00
Kurt Zeilenga
d23c559646 Don't use 'shtool mkln' as ln(1) replacement.
Allow both <sasl/sasl.h> and <sasl.h>
2002-02-11 08:28:51 +00:00
Pierangelo Masarati
450126ef21 remove cruft related to librewrite 2002-02-11 08:09:25 +00:00
Kurt Zeilenga
e9a7313de9 Minor astestic changes 2002-02-11 00:28:17 +00:00
Kurt Zeilenga
b315d8af34 Update Cyrus SASL detection to always look for <sasl.h> regardless
of version and then try -lsasl2 and -lsasl.  Make SASL code
conditional on SASL_VERSION_MAJOR, not HAVE_CYRUS_SASL.
2002-02-10 17:51:19 +00:00
Howard Chu
0b54812c2c Added check for Cyrus SASLv2 2002-02-10 14:23:55 +00:00
Kurt Zeilenga
0269dc750e Misc SHTOOL use updates 2002-02-10 06:26:48 +00:00
Kurt Zeilenga
54c204ea98 Update to use shtool, remove ltconfig 2002-02-10 04:30:23 +00:00
Kurt Zeilenga
3a5b94cdbd Update to libtool 1.4.2 2002-02-10 03:03:47 +00:00
Kurt Zeilenga
15902ae7e1 Add comment to -lV3 test that this is not needed in
newer versions of HP-UX.  However, as the test causes
no problems on any system, it's left in place (as someone
might actually be using an older version of HP-UX).
2002-01-30 01:21:08 +00:00
Kurt Zeilenga
5c7297a738 Add updated TCP wrapper check based upon patch provided
by Albert Chin-A-Young <china@thewrittenword.com> in ITS#1544.
2002-01-30 00:05:45 +00:00
Kurt Zeilenga
1e7ca2e850 Add BDB compatibility check. Require Berkeley DB 3.3 or greater. 2002-01-23 19:08:07 +00:00
Kurt Zeilenga
041e3d1ed4 Misc thread cleanup 2002-01-21 03:12:40 +00:00
Kurt Zeilenga
68e58d15de More (blind) cthread changes 2002-01-21 02:32:34 +00:00
Kurt Zeilenga
6169ef5873 Really Fix typos 2002-01-21 02:23:20 +00:00
Kurt Zeilenga
6232d90320 Correct cthread typos 2002-01-21 02:07:27 +00:00
Kurt Zeilenga
0e03e5c3f9 Fix typo in last commit 2002-01-20 22:31:10 +00:00
Kurt Zeilenga
9f9c6b57c6 Fix cthread header test 2002-01-20 22:25:08 +00:00
Kurt Zeilenga
94193358b4 Switch the default backend to BDB. 2002-01-15 17:26:44 +00:00
Kurt Zeilenga
0e2af54a3f Update copyright statements 2002-01-04 21:17:25 +00:00
Howard Chu
9bdc803485 Delete check for sys/queue.h (replaced by ldap_queue.h) 2002-01-03 16:24:54 +00:00
Kurt Zeilenga
208a88f872 Don't enable IPv6 if --disable-ipv6 2001-12-27 02:22:13 +00:00
Howard Chu
d829c02f0b Add checks for mkstemp and mktemp. Tweak utils.c:mkstemp to honor the
HAVE_MKTEMP macro in addition to HAVE_MKSTEMP
2001-12-18 02:54:49 +00:00
Howard Chu
46b42307ea From jon@symas.com - NT UUID support requires librpcrt4. 2001-12-11 22:48:30 +00:00
Kurt Zeilenga
c2e162c6d6 misc cleanup 2001-12-08 04:29:34 +00:00
Howard Chu
bf7f1046d4 Add SLAPD_STATIC_BACKENDS and SLAPD_DYNAMIC_BACKENDS macros to simplify
backend build rules.
2001-12-08 04:01:30 +00:00
Howard Chu
0552b1c53f NT updates from jon@symas.com. 2001-12-07 04:03:25 +00:00
Kurt Zeilenga
35220ca0ad Add BSD Queue (and list) management 2001-12-06 15:55:34 +00:00
Kurt Zeilenga
01e81666ac Small fix to gar detection 2001-12-04 18:21:43 +00:00
Kurt Zeilenga
bc27682790 Fix kerberos test 2001-11-28 15:57:36 +00:00
Kurt Zeilenga
f7e10947ca Use gar if ar(1) is not available 2001-11-28 02:32:47 +00:00
Kurt Zeilenga
feda953cc4 Cthread changes for the Hurd.
---
Copyright 2001, Igor Khavkine, All rights reserved.
This is free software; you can redistribute and use it
under the same terms as OpenLDAP itself.
2001-11-28 02:05:14 +00:00
Kurt Zeilenga
e972006555 Cleanup --help 2001-10-24 07:31:17 +00:00
Kurt Zeilenga
2e9983ca08 Add additional __res_query check 2001-10-23 17:32:53 +00:00
Kurt Zeilenga
125165ff97 Add check for __res_query in default libraries 2001-10-21 00:32:47 +00:00
Pierangelo Masarati
578c2b65ea fix typo (ITS#1397) 2001-10-19 08:09:03 +00:00
Kurt Zeilenga
5e7336fcf1 Move saucer to the Attic. Has not been updated to support LDAPv3. 2001-10-13 01:25:09 +00:00
Kurt Zeilenga
2cef1e69b7 Updates for MIT KerberosV 1.1 based upon suggestions
from Booker C. Bense <bbense@stanford.edu>.
2001-10-06 02:24:51 +00:00
Pierangelo Masarati
4abf210a2d fix typo; need to rebuild configure 2001-10-04 15:28:01 +00:00
Kurt Zeilenga
3120d37951 More changes to let BDB build without LDBM. 2001-10-04 06:34:03 +00:00
Kurt Zeilenga
9a34ebabd2 Hack to allow --enable-bdb --disable-ldbm, needs more work. 2001-10-04 04:54:12 +00:00
Kurt Zeilenga
6e5b538839 Reword pthread error message for clarity 2001-09-24 18:26:24 +00:00
Kurt Zeilenga
5644bbbeea Fix typo in winsock detection 2001-09-16 22:20:29 +00:00
Kurt Zeilenga
118ca0dd4b Fix db1 error and add kerberos comment 2001-08-24 20:20:34 +00:00
Pierangelo Masarati
5fdba27288 This is the skeleton of back-monitor, the slapd monitoring backend.
The old monitoring stuff has been removed; the new backend is
enabled by using --enable-monitor at configure time and requires

	database monitor

in slapd.conf to be activated.  At present it implements a subset
of the old monitoring options, and it should be extendable to
a number of different subsystems.  The search operation has been
implementd; it does not honor abandon or size/time limits, though.
The compare and the abandon operations are planned.

Copyright Pierangelo Masarati <ando@sys-net.it>; the code is provided
AS IS with NO GUARANTEE.  It can be used and distributed under the
conditions stated by the OpenLDAP Public License.
2001-07-14 17:34:24 +00:00
Kurt Zeilenga
736953cb1e clean out contrib and clients 2001-07-07 05:28:23 +00:00
Kurt Zeilenga
42846566a8 No need to check for snprintf as code requires it to be present. 2001-06-22 18:10:55 +00:00
Kurt Zeilenga
d0bfd83fa0 Complete tmpnam removal 2001-06-09 01:06:56 +00:00
Kurt Zeilenga
44bef574c8 Updated pthread test and usage (avoid pthread_detach if possible)
don't use tmpnam()
2001-06-09 01:05:35 +00:00
Kurt Zeilenga
be9a50af25 Update copyright (including with or without modification clarification) 2001-05-29 03:29:53 +00:00
Kurt Zeilenga
3ca26377c0 A little BDB cleanup 2001-05-28 22:05:49 +00:00
Kurt Zeilenga
5e94800144 Remove __db_lock.share file 2001-05-28 22:00:27 +00:00
Pierangelo Masarati
74fa239a20 This is the commit of:
- librewrite, for string rewriting; it may be used in back-ldap
    by configuring with '--enable-rewrite'. It must be used in
    back-meta. There's a text file, 'libraries/librewrite/RATIONALE',
    that explains the usage and the features. More comprehensive
    documentation will follow.
  - enhancements of back-ldap (ITS#989,ITS#998,ITS#1002,ITS#1054 and ITS#1137)
    including dn rewriting, a fix to group acl matching and so
  - back-meta: a new backend that proxies a set of remote servers
    by spawning queries. It uses portions of back-ldap and the rewrite
    capabilities of librewrite. It can be compiled by configuring
    with `--enable-ldap --enable-rewrite --enable-meta'.
    There's a text file, 'servers/slapd/back-meta/Documentation', that
    describes the main features and config statements.

Note: someone (Kurt?) should run 'autoconf' and commit 'configure' as
my autoconf version must be different: my configures contain a number
of differences and I didn't feel comfortable in adding them :)
2001-05-12 00:51:28 +00:00
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