Commit Graph

552 Commits

Author SHA1 Message Date
Hallvard Furuseth
1f5ca7bd31 Remove spurious '-a' at end of test statement. 2003-12-07 21:58:41 +00:00
Howard Chu
a39ba1611f ITS#2341 ol_enable_dynamic shouldn't depend on enable_slapd 2003-12-07 12:39:00 +00:00
Kurt Zeilenga
459d6f41e2 As ud(1) is in the Attic, TERMCAP no longer needed 2003-12-06 21:41:14 +00:00
Kurt Zeilenga
c425a7ce1d Move back-tcl to the Attic 2003-12-06 21:37:44 +00:00
Howard Chu
27616a7066 Remove old BUILD_CACHE symbol 2003-12-06 11:41:56 +00:00
Howard Chu
64e337eacf Overlay build environment 2003-12-06 10:59:27 +00:00
Kurt Zeilenga
6264225bb9 zap libldbm 2003-12-04 23:42:05 +00:00
Howard Chu
d8bafebf16 ITS#2764 catch -lc at end of line as well 2003-12-02 02:20:09 +00:00
Pierangelo Masarati
90d6902ad5 typo... 2003-12-01 11:49:19 +00:00
Kurt Zeilenga
2c21fdcecb move AVL routines into -llutil
update misc notices
2003-11-26 04:17:25 +00:00
Kurt Zeilenga
e3a4c4ec9c Notice/Acknowledge updates 2003-11-26 02:58:56 +00:00
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