Commit Graph

248 Commits

Author SHA1 Message Date
Kurt Zeilenga
1681421d01 Move SETSIZE hack to a header to avoid config.status munging 2004-07-09 17:52:26 +00:00
Kurt Zeilenga
659b41ec7d Add check for hstrerror 2004-04-25 01:05:15 +00:00
Kurt Zeilenga
7f0c73bf49 new strerror_r checks 2004-04-24 21:30:28 +00:00
Howard Chu
f5851f3001 Added referential integrity and attribute uniqueness overlays 2004-04-17 08:45:29 +00:00
Kurt Zeilenga
cfd495857d rebuilt with lastmod 2004-04-16 05:58:39 +00:00
Kurt Zeilenga
6abba139bb Hide if SIZEOF_WCHAR_T < 4. 2004-04-08 08:54:49 +00:00
Howard Chu
f2e1df3ef7 Consolidated static/dynamic backend switches 2004-04-08 05:56:23 +00:00
Kurt Zeilenga
a576085200 Rebuild 2004-03-20 21:38:50 +00:00
Kurt Zeilenga
e00cfb2595 Rebuild 2004-03-20 20:51:16 +00:00
Kurt Zeilenga
0c70dda2ed rebuild 2004-02-26 17:09:18 +00:00
Kurt Zeilenga
bc0161025d rebuild 2004-01-17 19:59:01 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Kurt Zeilenga
52c0adeb19 minor tweak and rebuild 2003-12-16 01:58:15 +00:00
Kurt Zeilenga
9920e9fbf6 Add support for -DOPENLDAP_FD_SETSIZE=N for use on Linux.
Works on BSD as well (equiv. to -DFD_SETSIZE=N).
2003-12-14 06:46:30 +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
64e337eacf Overlay build environment 2003-12-06 10:59:27 +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
32c523af3b Fix long long comment 2003-09-22 06:07:25 +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
Hallvard Furuseth
55093034c6 Add HAVE_LONG_LONG 2003-06-28 19:52:19 +00:00
Hallvard Furuseth
af0bd5ab68 No longer make LDAP_TEST imply LDAP_DEBUG. 2003-06-06 13:53:01 +00:00
Kurt Zeilenga
75fed6691a zap --enable-phonetic 2003-05-23 05:27:30 +00:00
Kurt Zeilenga
d6f82a74c1 Rebuild configure scripts with --enable-hdb support
Add HDB to test suite
2003-04-23 16:50:56 +00:00
Kurt Zeilenga
14d8a58076 Re-add <ac/localize.h> 2003-04-07 22:44:15 +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
4809e4da1e Basic infrastructure for i18n/l10n 2003-04-05 20:49:16 +00:00
Kurt Zeilenga
1b4180faa8 rebuild 2003-03-06 00:38:42 +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
4b3396f5fd unifdef -DLDAP_NOCACHE 2003-02-09 07:42:18 +00:00
Kurt Zeilenga
48d47954a6 Rework #ifdef'ing of expermental controls to ease release engineering
using LDAP_DEVEL (to indicate experimental) to enable experimental features
(true for HEAD unless LDAP_REL_ENG is defined)
2003-02-08 21:53:05 +00:00
Kurt Zeilenga
6939c53170 Happy new year 2003-01-03 20:20:47 +00:00
Kurt Zeilenga
3520850df7 rebuild 2002-12-09 16:46:47 +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
3289dffd31 Rebuild 2002-11-11 03:21:14 +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
Howard Chu
890d4b9449 Moved stdio replacements from liblutil lutil_* to liblber ber_pvt_*. 2002-09-10 00:47:32 +00:00
Howard Chu
afce29547d Regenerated with Pthread version update 2002-09-07 14:24:22 +00:00
Kurt Zeilenga
341ba76238 regenerate for sasl version checks 2002-08-28 07:32:00 +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
674c55f78f remove --enable-kbind option (can be manually set) 2002-06-12 04:55:30 +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
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
a9cf0f5c08 Add uuid_to_str() detection. 2002-02-11 20:17:08 +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
Kurt Zeilenga
e9a7313de9 Minor astestic changes 2002-02-11 00:28:17 +00:00