Kurt Zeilenga
44146a1cb7
Rework DB_THREAD support. CDB support needs reimplementation.
2001-10-01 06:08:46 +00:00
Kurt Zeilenga
69dc4002ac
Disable (for now) check for HAVE_BERKELEY_DB_THREAD and hence disable
...
use of BerkeleyDB's Concurrent DB API.
2001-09-29 23:41:34 +00:00
Pierangelo Masarati
77dc11ba3c
liberal treatment of trailing spaces in changetype and mod op lines in ldif files (needs -DLIBERAL_CHANGETYPE_MODOP)
2001-09-29 10:29:24 +00:00
Stig Venaas
3c28bb413d
Removed a superfluous line left after the ai_addr == NULL fix
2001-09-29 09:40:47 +00:00
Kurt Zeilenga
e78265738d
Rework getaddrinfo() stuff for ai_addr == NULL
2001-09-29 06:33:54 +00:00
Kurt Zeilenga
712295ef4b
Rework getaddrinfo/inet_ntop not to segfault with ai_addr is (bogusly) NULL
2001-09-29 06:32:58 +00:00
Kurt Zeilenga
8f4795d064
Import MacOS X 10.1 fix from lukeh@padl.com (ITS#1361)
2001-09-29 05:17:49 +00:00
Kurt Zeilenga
a69d8bff93
Increase read/write and search/write ratios.
2001-09-28 22:39:53 +00:00
Howard Chu
e80b5d4040
Clean up CLDAP stuff
2001-09-28 22:19:51 +00:00
Kurt Zeilenga
7bf6698692
Rebuild
2001-09-28 21:22:37 +00:00
Kurt Zeilenga
4eb7f1a11e
Minor rewording
2001-09-28 21:22:00 +00:00
Kurt Zeilenga
ea4bf672cc
Sync detection with use. Don't use DB_CDB_ALLDB. Causes hang.
2001-09-28 20:52:48 +00:00
Kurt Zeilenga
d397f6aa2f
Fix #undef LDAP_CONNECTIONLESS builds
2001-09-28 20:09:49 +00:00
Ralf Haferkamp
c0dbaa736d
some changes to make the library working with gcc 3.0 (mostly namespace
...
stuff). See also ITS#1322
2001-09-28 16:39:58 +00:00
Kurt Zeilenga
a1ecd9b697
Fix reference stats2 message
2001-09-28 01:44:13 +00:00
Howard Chu
926b454765
Set protocol to LDAP_VERSION2 on UDP session.
2001-09-28 00:49:01 +00:00
Kurt Zeilenga
af8769b06d
Reorder includes
2001-09-28 00:34:18 +00:00
Howard Chu
647b5f84ee
Resurrection/rewrite of CLDAP (RFC1798 Connectionless LDAP).
...
Compile with -DLDAP_CONNECTIONLESS to use this code.
For slapd, use "-h cldap://" to listen on UDP.
For ldapsearch, use "-H cldap://" to query on UDP.
Client-side support is very minimal:
no automatic timeout/retries
no basedn wildcard expansion on results
no support for specifying multiple servers at once.
2001-09-28 00:18:40 +00:00
Kurt Zeilenga
a466dc75b1
Fix see also formating
2001-09-27 19:56:29 +00:00
Kurt Zeilenga
da22af709b
Move stacksize setting outside of detach #ifdef
2001-09-27 18:54:17 +00:00
Kurt Zeilenga
af37269416
Rework do_ldap retry loop to better handle server down errors.
...
Could likely treat other errors (LDAP_BUSY) as non-fatal errors.
2001-09-27 03:13:28 +00:00
Kurt Zeilenga
9ab1282f5d
Minor cleanup
2001-09-27 02:51:22 +00:00
Kurt Zeilenga
ddc6c016b0
Misc. IETF LDAPext updates
2001-09-27 02:39:52 +00:00
Howard Chu
2a853f0ca5
Change avl.c to use ber_memalloc and ber_memrealloc.
...
Add -llber to Makefile so testavl will build.
2001-09-27 01:08:22 +00:00
Howard Chu
ef7b93242d
Replace some calloc/realloc with ch_calloc/ch_realloc for consistency.
2001-09-26 23:42:53 +00:00
Stig Venaas
28ab9fcaf5
Section 3 man page for ldap_parse_reference()
2001-09-26 10:35:54 +00:00
Kurt Zeilenga
c45a6f5c23
Fix up binary search
2001-09-26 03:50:48 +00:00
Kurt Zeilenga
7b0da28939
Low stack to 16 MB... this really needs to be tunable
2001-09-26 02:42:47 +00:00
Kurt Zeilenga
5f4d8a71e6
Use a 64MB stack (instead of a 64K on some systems) by default.
...
This should be tunable...
2001-09-26 02:35:41 +00:00
Kurt Zeilenga
8c758b34f8
Fix build errors
2001-09-26 01:54:39 +00:00
Kurt Zeilenga
37d44620a5
idl_check for back-bdb
2001-09-25 23:56:49 +00:00
Kurt Zeilenga
ef59732180
Add a sample ACL
2001-09-25 20:30:51 +00:00
Kurt Zeilenga
f4d48da5f4
Minor change to last commit...
2001-09-25 19:50:46 +00:00
Kurt Zeilenga
0e53126e68
Additional CR/LF fixes
2001-09-25 19:45:23 +00:00
Kurt Zeilenga
2c1273cd17
ITS#1328 LDIFv1 CR/LF fix
2001-09-25 18:48:48 +00:00
Kurt Zeilenga
e7d3103424
Acknowledge IETF work
2001-09-25 17:51:36 +00:00
Kurt Zeilenga
61de99937f
ldif.h include cleanup
2001-09-25 00:03:24 +00:00
Kurt Zeilenga
2af75ecc6a
Trim both \n and \r\n from config files.
2001-09-24 22:18:02 +00:00
Kurt Zeilenga
790a18cb86
chasing multi-level referrals core dumps (ITS#1346) bug fix
...
from Zachary Amsden <zach@mirapoint.com>.
2001-09-24 18:50:44 +00:00
Kurt Zeilenga
2aa298d5b4
Add ldap_url_desc2str()
2001-09-24 18:32:16 +00:00
Kurt Zeilenga
afd665034a
Add ldap_url_desc2str().
2001-09-24 18:30:57 +00:00
Kurt Zeilenga
b1f429b1cd
Minor updates to TODO list
2001-09-24 18:28:37 +00:00
Kurt Zeilenga
6e5b538839
Reword pthread error message for clarity
2001-09-24 18:26:24 +00:00
Howard Chu
2124673988
Tweaked ID_BLOCKs to record NIDs for INDIRECT blocks as well as directs.
...
Use high bit of NMAX to indicate an INDIRECT. Changes are behind
#ifdef USE_INDIRECT_NIDS
2001-09-22 06:52:32 +00:00
Howard Chu
58f4ffca59
Fix another SEGV from previous patch.
2001-09-22 05:35:52 +00:00
Howard Chu
4eaad48247
Added optional 3rd parameter, to make the script display the slapd pid
...
and wait. User must hit <NewLine> to continue. This gives the opportunity
to attach a debugger to the slapd before proceeding with the test.
2001-09-22 05:34:22 +00:00
Howard Chu
00a28378f8
Fix previous idl_find patch. Cannot test <=0 with unsigned ints, duh...
2001-09-22 04:10:03 +00:00
Kurt Zeilenga
6cc6a187da
Fix an off by one bug which could cause a realloced buffer to be
...
too small. Changed extra size algorithm to use a much simplier
approach and detailed non-optimized version.
2001-09-22 03:18:02 +00:00
Howard Chu
b52795c283
Add idl_find binary search routine, used by idl_insert and idl_split_block
...
instead of linear search.
2001-09-21 20:30:27 +00:00
Howard Chu
2f6b7e3d43
Check debug level before invoking debug routine, slight optimization
2001-09-21 17:53:16 +00:00