Commit Graph

5432 Commits

Author SHA1 Message Date
Kurt Zeilenga
0135c8dbb1 Add BDB index config code 2001-10-03 21:11:52 +00:00
Kurt Zeilenga
292b6c8757 Replace #if 0 with #if MACRO 2001-10-03 20:34:00 +00:00
Kurt Zeilenga
86a680a4ec Enable management of attribute indices. Not yet used by test_filter. 2001-10-03 20:20:29 +00:00
Kurt Zeilenga
f704c35caf subschemaSubentry attributes could be leaked under some conditions,
plug them.
2001-10-03 18:19:07 +00:00
Pierangelo Masarati
35c38e271d use slap_str2undef_ad for unknown attributes 2001-10-03 18:17:08 +00:00
Pierangelo Masarati
8a3768276a candidate check using new macro from Kurt 2001-10-02 19:15:05 +00:00
Kurt Zeilenga
773b1907d2 Add BDB_IDL_N() macro for ando 2001-10-02 19:04:12 +00:00
Pierangelo Masarati
becb7ff0ce forward porting of time/size limits from back-ldbm (pending the definition of the most appropriate way to determine the number of candidates) 2001-10-02 12:00:01 +00:00
Pierangelo Masarati
4ac9b37db7 forward porting of empty parent dn checks from back-ldbm 2001-10-02 10:44:14 +00:00
Pierangelo Masarati
5544720505 forward porting of composite rdn handling from back-ldbm 2001-10-02 10:39:04 +00:00
Pierangelo Masarati
6e4a050657 fix memory leak in case of ACL failure (no write permission to rdn attributes) 2001-10-02 10:36:35 +00:00
Kurt Zeilenga
2f80480ef0 Tru64 diff does support "diff foo /dev/null",
replace with "diff foo - < /dev/null"
2001-10-02 08:27:18 +00:00
Kurt Zeilenga
7ea46e83f9 Implement r/w locks for BerkeleyDB with DB_THREAD.
Code basically ready for BerkeleyDB with DB_INIT_CDB, need detection.
2001-10-02 04:13:47 +00:00
Kurt Zeilenga
aac0fc5f0c Add tasks related to Cyrus SASLv2 2001-10-02 02:11:42 +00:00
Howard Chu
693a81e1db More CLDAP tweaks, to differentiate between real LDAPv2 CLDAP and "other"
LDAP/UDP messages. Slapd marks received CLDAP messages as LDAP_VERSION2.
The client library can generate CLDAP queries if -Protocol 2 is chosen,
otherwise not. LDAPv2 CLDAP cannot query the slapd rootDSE, gets no reply.
2001-10-02 01:02:23 +00:00
Kurt Zeilenga
47cb9aff9a Add prototype for ldap_dn_normalize() routine (to be implemented) 2001-10-02 00:22:40 +00:00
Pierangelo Masarati
1c010c59a1 fix candidate selection based on scope 2001-10-01 22:12:23 +00:00
Pierangelo Masarati
af8488c37d fix result bug; add hooks for error selection based on priority (now the last one is selected) 2001-10-01 22:11:37 +00:00
Pierangelo Masarati
ccef53677f fix various result returning bugs, mostly related to candidate selction that results in invalid candidates (bug detected by Markus Storm <Markus.Storm@mediaWays.net>) 2001-10-01 16:16:51 +00:00
Kurt Zeilenga
9be9afa084 Init MPOOL in DB_THREAD test 2001-10-01 06:38:24 +00:00
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