Commit Graph

5343 Commits

Author SHA1 Message Date
Kurt Zeilenga
75c7331743 Added the easy part of NLS support, behind an #ifdef. 2001-10-04 18:06:08 +00:00
Kurt Zeilenga
e9415f4a38 rebuild after ando fix typo 2001-10-04 15:34:26 +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
3f0917e57b Move set_alloc to env. 2001-10-04 03:36:48 +00:00
Kurt Zeilenga
9b98f46a5e Add prelim index code from LDBM, needs work... 2001-10-04 02:55:09 +00:00
Kurt Zeilenga
433eb73ef8 Add BDB_INDEX error handling 2001-10-03 23:49:38 +00:00
Kurt Zeilenga
3ad55b225e Add error handling to BDB_INDEX code 2001-10-03 23:39:29 +00:00
Kurt Zeilenga
191853eb51 An incremental step. 2001-10-03 23:28:20 +00:00
Kurt Zeilenga
3225c05cd5 Add BDB index directives 2001-10-03 21:27:37 +00:00
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