]> git.sur5r.net Git - openldap/log
openldap
23 years agoImplement r/w locks for BerkeleyDB with DB_THREAD.
Kurt Zeilenga [Tue, 2 Oct 2001 04:13:47 +0000 (04:13 +0000)]
Implement r/w locks for BerkeleyDB with DB_THREAD.
Code basically ready for BerkeleyDB with DB_INIT_CDB, need detection.

23 years agoAdd tasks related to Cyrus SASLv2
Kurt Zeilenga [Tue, 2 Oct 2001 02:11:42 +0000 (02:11 +0000)]
Add tasks related to Cyrus SASLv2

23 years agoMore CLDAP tweaks, to differentiate between real LDAPv2 CLDAP and "other"
Howard Chu [Tue, 2 Oct 2001 01:02:23 +0000 (01:02 +0000)]
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.

23 years agoAdd prototype for ldap_dn_normalize() routine (to be implemented)
Kurt Zeilenga [Tue, 2 Oct 2001 00:22:40 +0000 (00:22 +0000)]
Add prototype for ldap_dn_normalize() routine (to be implemented)

23 years agofix candidate selection based on scope
Pierangelo Masarati [Mon, 1 Oct 2001 22:12:23 +0000 (22:12 +0000)]
fix candidate selection based on scope

23 years agofix result bug; add hooks for error selection based on priority (now the last one...
Pierangelo Masarati [Mon, 1 Oct 2001 22:11:37 +0000 (22:11 +0000)]
fix result bug; add hooks for error selection based on priority (now the last one is selected)

23 years agofix various result returning bugs, mostly related to candidate selction that results...
Pierangelo Masarati [Mon, 1 Oct 2001 16:16:51 +0000 (16:16 +0000)]
fix various result returning bugs, mostly related to candidate selction that results in invalid candidates (bug detected by Markus Storm <Markus.Storm@mediaWays.net>)

23 years agoInit MPOOL in DB_THREAD test
Kurt Zeilenga [Mon, 1 Oct 2001 06:38:24 +0000 (06:38 +0000)]
Init MPOOL in DB_THREAD test

23 years agoRework DB_THREAD support. CDB support needs reimplementation.
Kurt Zeilenga [Mon, 1 Oct 2001 06:08:46 +0000 (06:08 +0000)]
Rework DB_THREAD support.  CDB support needs reimplementation.

23 years agoDisable (for now) check for HAVE_BERKELEY_DB_THREAD and hence disable
Kurt Zeilenga [Sat, 29 Sep 2001 23:41:34 +0000 (23:41 +0000)]
Disable (for now) check for HAVE_BERKELEY_DB_THREAD and hence disable
use of BerkeleyDB's Concurrent DB API.

23 years agoliberal treatment of trailing spaces in changetype and mod op lines in ldif files...
Pierangelo Masarati [Sat, 29 Sep 2001 10:29:24 +0000 (10:29 +0000)]
liberal treatment of trailing spaces in changetype and mod op lines in ldif files (needs -DLIBERAL_CHANGETYPE_MODOP)

23 years agoRemoved a superfluous line left after the ai_addr == NULL fix
Stig Venaas [Sat, 29 Sep 2001 09:40:47 +0000 (09:40 +0000)]
Removed a superfluous line left after the ai_addr == NULL fix

23 years agoRework getaddrinfo() stuff for ai_addr == NULL
Kurt Zeilenga [Sat, 29 Sep 2001 06:33:54 +0000 (06:33 +0000)]
Rework getaddrinfo() stuff for ai_addr == NULL

23 years agoRework getaddrinfo/inet_ntop not to segfault with ai_addr is (bogusly) NULL
Kurt Zeilenga [Sat, 29 Sep 2001 06:32:58 +0000 (06:32 +0000)]
Rework getaddrinfo/inet_ntop not to segfault with ai_addr is (bogusly) NULL

23 years agoImport MacOS X 10.1 fix from lukeh@padl.com (ITS#1361)
Kurt Zeilenga [Sat, 29 Sep 2001 05:17:49 +0000 (05:17 +0000)]
Import MacOS X 10.1 fix from lukeh@padl.com (ITS#1361)

23 years agoIncrease read/write and search/write ratios.
Kurt Zeilenga [Fri, 28 Sep 2001 22:39:53 +0000 (22:39 +0000)]
Increase read/write and search/write ratios.

23 years agoClean up CLDAP stuff
Howard Chu [Fri, 28 Sep 2001 22:19:51 +0000 (22:19 +0000)]
Clean up CLDAP stuff

23 years agoRebuild
Kurt Zeilenga [Fri, 28 Sep 2001 21:22:37 +0000 (21:22 +0000)]
Rebuild

23 years agoMinor rewording
Kurt Zeilenga [Fri, 28 Sep 2001 21:22:00 +0000 (21:22 +0000)]
Minor rewording

23 years agoSync detection with use. Don't use DB_CDB_ALLDB. Causes hang.
Kurt Zeilenga [Fri, 28 Sep 2001 20:52:48 +0000 (20:52 +0000)]
Sync detection with use.  Don't use DB_CDB_ALLDB.  Causes hang.

23 years agoFix #undef LDAP_CONNECTIONLESS builds
Kurt Zeilenga [Fri, 28 Sep 2001 20:09:49 +0000 (20:09 +0000)]
Fix #undef LDAP_CONNECTIONLESS builds

23 years agosome changes to make the library working with gcc 3.0 (mostly namespace
Ralf Haferkamp [Fri, 28 Sep 2001 16:39:58 +0000 (16:39 +0000)]
some changes to make the library working with gcc 3.0 (mostly namespace
stuff). See also ITS#1322

23 years agoFix reference stats2 message
Kurt Zeilenga [Fri, 28 Sep 2001 01:44:13 +0000 (01:44 +0000)]
Fix reference stats2 message

23 years agoSet protocol to LDAP_VERSION2 on UDP session.
Howard Chu [Fri, 28 Sep 2001 00:49:01 +0000 (00:49 +0000)]
Set protocol to LDAP_VERSION2 on UDP session.

23 years agoReorder includes
Kurt Zeilenga [Fri, 28 Sep 2001 00:34:18 +0000 (00:34 +0000)]
Reorder includes

23 years agoResurrection/rewrite of CLDAP (RFC1798 Connectionless LDAP).
Howard Chu [Fri, 28 Sep 2001 00:18:40 +0000 (00:18 +0000)]
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.

23 years agoFix see also formating
Kurt Zeilenga [Thu, 27 Sep 2001 19:56:29 +0000 (19:56 +0000)]
Fix see also formating

23 years agoMove stacksize setting outside of detach #ifdef
Kurt Zeilenga [Thu, 27 Sep 2001 18:54:17 +0000 (18:54 +0000)]
Move stacksize setting outside of detach #ifdef

23 years agoRework do_ldap retry loop to better handle server down errors.
Kurt Zeilenga [Thu, 27 Sep 2001 03:13:28 +0000 (03:13 +0000)]
Rework do_ldap retry loop to better handle server down errors.
Could likely treat other errors (LDAP_BUSY) as non-fatal errors.

23 years agoMinor cleanup
Kurt Zeilenga [Thu, 27 Sep 2001 02:51:22 +0000 (02:51 +0000)]
Minor cleanup

23 years agoMisc. IETF LDAPext updates
Kurt Zeilenga [Thu, 27 Sep 2001 02:39:52 +0000 (02:39 +0000)]
Misc. IETF LDAPext updates

23 years agoChange avl.c to use ber_memalloc and ber_memrealloc.
Howard Chu [Thu, 27 Sep 2001 01:08:22 +0000 (01:08 +0000)]
Change avl.c to use ber_memalloc and ber_memrealloc.
Add -llber to Makefile so testavl will build.

23 years agoReplace some calloc/realloc with ch_calloc/ch_realloc for consistency.
Howard Chu [Wed, 26 Sep 2001 23:42:53 +0000 (23:42 +0000)]
Replace some calloc/realloc with ch_calloc/ch_realloc for consistency.

23 years agoSection 3 man page for ldap_parse_reference()
Stig Venaas [Wed, 26 Sep 2001 10:35:54 +0000 (10:35 +0000)]
Section 3 man page for ldap_parse_reference()

23 years agoFix up binary search
Kurt Zeilenga [Wed, 26 Sep 2001 03:50:48 +0000 (03:50 +0000)]
Fix up binary search

23 years agoLow stack to 16 MB... this really needs to be tunable
Kurt Zeilenga [Wed, 26 Sep 2001 02:42:47 +0000 (02:42 +0000)]
Low stack to 16 MB... this really needs to be tunable

23 years agoUse a 64MB stack (instead of a 64K on some systems) by default.
Kurt Zeilenga [Wed, 26 Sep 2001 02:35:41 +0000 (02:35 +0000)]
Use a 64MB stack (instead of a 64K on some systems) by default.
This should be tunable...

23 years agoFix build errors
Kurt Zeilenga [Wed, 26 Sep 2001 01:54:39 +0000 (01:54 +0000)]
Fix build errors

23 years agoidl_check for back-bdb
Kurt Zeilenga [Tue, 25 Sep 2001 23:56:49 +0000 (23:56 +0000)]
idl_check for back-bdb

23 years agoAdd a sample ACL
Kurt Zeilenga [Tue, 25 Sep 2001 20:30:51 +0000 (20:30 +0000)]
Add a sample ACL

23 years agoMinor change to last commit...
Kurt Zeilenga [Tue, 25 Sep 2001 19:50:46 +0000 (19:50 +0000)]
Minor change to last commit...

23 years agoAdditional CR/LF fixes
Kurt Zeilenga [Tue, 25 Sep 2001 19:45:23 +0000 (19:45 +0000)]
Additional CR/LF fixes

23 years agoITS#1328 LDIFv1 CR/LF fix
Kurt Zeilenga [Tue, 25 Sep 2001 18:48:48 +0000 (18:48 +0000)]
ITS#1328 LDIFv1 CR/LF fix

23 years agoAcknowledge IETF work
Kurt Zeilenga [Tue, 25 Sep 2001 17:51:36 +0000 (17:51 +0000)]
Acknowledge IETF work

23 years agoldif.h include cleanup
Kurt Zeilenga [Tue, 25 Sep 2001 00:03:24 +0000 (00:03 +0000)]
ldif.h include cleanup

23 years agoTrim both \n and \r\n from config files.
Kurt Zeilenga [Mon, 24 Sep 2001 22:18:02 +0000 (22:18 +0000)]
Trim both \n and \r\n from config files.

23 years agochasing multi-level referrals core dumps (ITS#1346) bug fix
Kurt Zeilenga [Mon, 24 Sep 2001 18:50:44 +0000 (18:50 +0000)]
chasing multi-level referrals core dumps (ITS#1346) bug fix
from Zachary Amsden <zach@mirapoint.com>.

23 years agoAdd ldap_url_desc2str()
Kurt Zeilenga [Mon, 24 Sep 2001 18:32:16 +0000 (18:32 +0000)]
Add ldap_url_desc2str()

23 years agoAdd ldap_url_desc2str().
Kurt Zeilenga [Mon, 24 Sep 2001 18:30:57 +0000 (18:30 +0000)]
Add ldap_url_desc2str().

23 years agoMinor updates to TODO list
Kurt Zeilenga [Mon, 24 Sep 2001 18:28:37 +0000 (18:28 +0000)]
Minor updates to TODO list

23 years agoReword pthread error message for clarity
Kurt Zeilenga [Mon, 24 Sep 2001 18:26:24 +0000 (18:26 +0000)]
Reword pthread error message for clarity

23 years agoTweaked ID_BLOCKs to record NIDs for INDIRECT blocks as well as directs.
Howard Chu [Sat, 22 Sep 2001 06:52:32 +0000 (06:52 +0000)]
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

23 years agoFix another SEGV from previous patch.
Howard Chu [Sat, 22 Sep 2001 05:35:52 +0000 (05:35 +0000)]
Fix another SEGV from previous patch.

23 years agoAdded optional 3rd parameter, to make the script display the slapd pid
Howard Chu [Sat, 22 Sep 2001 05:34:22 +0000 (05:34 +0000)]
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.

23 years agoFix previous idl_find patch. Cannot test <=0 with unsigned ints, duh...
Howard Chu [Sat, 22 Sep 2001 04:10:03 +0000 (04:10 +0000)]
Fix previous idl_find patch. Cannot test <=0 with unsigned ints, duh...

23 years agoFix an off by one bug which could cause a realloced buffer to be
Kurt Zeilenga [Sat, 22 Sep 2001 03:18:02 +0000 (03:18 +0000)]
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.

23 years agoAdd idl_find binary search routine, used by idl_insert and idl_split_block
Howard Chu [Fri, 21 Sep 2001 20:30:27 +0000 (20:30 +0000)]
Add idl_find binary search routine, used by idl_insert and idl_split_block
instead of linear search.

23 years agoCheck debug level before invoking debug routine, slight optimization
Howard Chu [Fri, 21 Sep 2001 17:53:16 +0000 (17:53 +0000)]
Check debug level before invoking debug routine, slight optimization

23 years agobump MAXARGS to 500
Kurt Zeilenga [Fri, 21 Sep 2001 00:48:47 +0000 (00:48 +0000)]
bump MAXARGS to 500

23 years agoBump MAXARGS to 500.
Kurt Zeilenga [Fri, 21 Sep 2001 00:48:00 +0000 (00:48 +0000)]
Bump MAXARGS to 500.

23 years agoFinished the integerMatch matching rule and the integer syntax.
Mark Adamson [Thu, 20 Sep 2001 15:50:49 +0000 (15:50 +0000)]
Finished the integerMatch matching rule and the integer syntax.

23 years agoSection 3 man pages for ldap_first_reference(), ldap_next_reference() and
Stig Venaas [Wed, 19 Sep 2001 16:13:14 +0000 (16:13 +0000)]
Section 3 man pages for ldap_first_reference(), ldap_next_reference() and
ldap_count_references()

23 years agoSection 3 man pages for ldap_first_message(), ldap_next_message() and
Stig Venaas [Wed, 19 Sep 2001 14:34:59 +0000 (14:34 +0000)]
Section 3 man pages for ldap_first_message(), ldap_next_message() and
ldap_count_messages()

23 years agologs changes even if no appropriate replica (or none at all) is defined (ITS#1335)
Pierangelo Masarati [Wed, 19 Sep 2001 09:09:51 +0000 (09:09 +0000)]
logs changes even if no appropriate replica (or none at all) is defined (ITS#1335)

23 years agoMisc. updates to release templates
Kurt Zeilenga [Wed, 19 Sep 2001 01:26:24 +0000 (01:26 +0000)]
Misc. updates to release templates

23 years agoRebuild
Kurt Zeilenga [Tue, 18 Sep 2001 19:38:44 +0000 (19:38 +0000)]
Rebuild

23 years agoMinor cleanup
Kurt Zeilenga [Tue, 18 Sep 2001 18:44:16 +0000 (18:44 +0000)]
Minor cleanup

23 years agoMinor cleanup of last commit
Kurt Zeilenga [Tue, 18 Sep 2001 18:24:47 +0000 (18:24 +0000)]
Minor cleanup of last commit

23 years agocomment out inetLocalMailReciepent as it has no assigned OID
Kurt Zeilenga [Tue, 18 Sep 2001 17:52:43 +0000 (17:52 +0000)]
comment out inetLocalMailReciepent as it has no assigned OID

23 years agoMinor cleanup
Kurt Zeilenga [Tue, 18 Sep 2001 17:35:47 +0000 (17:35 +0000)]
Minor cleanup

23 years agoFix for ITS#1258 - even if we're accepting various malformed definitions,
Howard Chu [Tue, 18 Sep 2001 12:21:33 +0000 (12:21 +0000)]
Fix for ITS#1258 - even if we're accepting various malformed definitions,
don't allow OIDs that are a mix of numeric and non-numeric fields.

23 years agoFix previous patch, didn't take handle syntax/noidlen properly
Howard Chu [Tue, 18 Sep 2001 12:03:20 +0000 (12:03 +0000)]
Fix previous patch, didn't take handle syntax/noidlen properly

23 years agoFix ITS#1213, OID macro parsing in attributetypes
Howard Chu [Tue, 18 Sep 2001 11:30:00 +0000 (11:30 +0000)]
Fix ITS#1213, OID macro parsing in attributetypes

23 years agoPatch for SASL EXTERNAL. Needs to be tested with other mechanisms.
Kurt Zeilenga [Tue, 18 Sep 2001 07:44:18 +0000 (07:44 +0000)]
Patch for SASL EXTERNAL.  Needs to be tested with other mechanisms.

23 years agoSilence some typecast warnings
Howard Chu [Tue, 18 Sep 2001 05:22:53 +0000 (05:22 +0000)]
Silence some typecast warnings

23 years agoDon't pass NULL hostname to ldap_pvt_tls_check_hostname, use "localhost"
Howard Chu [Tue, 18 Sep 2001 05:19:55 +0000 (05:19 +0000)]
Don't pass NULL hostname to ldap_pvt_tls_check_hostname, use "localhost"

23 years agoFix crashes for SASL/EXTERNAL binds:
Howard Chu [Tue, 18 Sep 2001 03:10:05 +0000 (03:10 +0000)]
Fix crashes for SASL/EXTERNAL binds:
  in slap_sasl_getdn, test id, not dn. dn is still NULL
  also, don't check for trailing slash
  in slap_sasl_bind, initialize reslen to 0

23 years agoFix declaration mismatch when CYRUS is not present
Howard Chu [Tue, 18 Sep 2001 00:37:56 +0000 (00:37 +0000)]
Fix declaration mismatch when CYRUS is not present

23 years agoClean up include logging
Kurt Zeilenga [Mon, 17 Sep 2001 22:38:52 +0000 (22:38 +0000)]
Clean up include logging

23 years agoFix typo in winsock detection
Kurt Zeilenga [Sun, 16 Sep 2001 22:20:29 +0000 (22:20 +0000)]
Fix typo in winsock detection

23 years agoBack out ManageDsaIt change.
Kurt Zeilenga [Sun, 16 Sep 2001 22:03:38 +0000 (22:03 +0000)]
Back out ManageDsaIt change.

23 years agoMinor cleanup
Kurt Zeilenga [Sun, 16 Sep 2001 22:02:50 +0000 (22:02 +0000)]
Minor cleanup

23 years agoRemove lint
Kurt Zeilenga [Sun, 16 Sep 2001 22:00:53 +0000 (22:00 +0000)]
Remove lint

23 years agocleanup and cast of logs
Pierangelo Masarati [Thu, 13 Sep 2001 21:30:44 +0000 (21:30 +0000)]
cleanup and cast of logs

23 years agoUse time_t not char * to represent timestamps.
Kurt Zeilenga [Sun, 9 Sep 2001 21:16:17 +0000 (21:16 +0000)]
Use time_t not char * to represent timestamps.
Fixes billionth second since epoch bug.

23 years agoClean up asserts, should assert desc != NULL instead of attr != NULL
Kurt Zeilenga [Sun, 9 Sep 2001 18:58:54 +0000 (18:58 +0000)]
Clean up asserts, should assert desc != NULL instead of attr != NULL

23 years agoRemove dead code
Kurt Zeilenga [Sun, 9 Sep 2001 04:47:03 +0000 (04:47 +0000)]
Remove dead code

23 years agoAdd root DSE supportedFeatures support.
Kurt Zeilenga [Sun, 9 Sep 2001 04:01:07 +0000 (04:01 +0000)]
Add root DSE supportedFeatures support.

23 years agoBlindly fix TLS/SASL external interaction.
Kurt Zeilenga [Sun, 9 Sep 2001 03:42:26 +0000 (03:42 +0000)]
Blindly fix TLS/SASL external interaction.

23 years agoMinor cleanup of ldap_perror()
Kurt Zeilenga [Sun, 9 Sep 2001 03:02:54 +0000 (03:02 +0000)]
Minor cleanup of ldap_perror()

23 years agoUpdate to latest
Kurt Zeilenga [Sat, 8 Sep 2001 04:33:29 +0000 (04:33 +0000)]
Update to latest

23 years agoCorrect typo
Kurt Zeilenga [Sat, 8 Sep 2001 04:32:08 +0000 (04:32 +0000)]
Correct typo

23 years agoUpdate to 2.7
Kurt Zeilenga [Sat, 8 Sep 2001 04:30:14 +0000 (04:30 +0000)]
Update to 2.7

23 years agoUpdate from DRAFT to 2.7
Kurt Zeilenga [Sat, 8 Sep 2001 04:29:45 +0000 (04:29 +0000)]
Update from DRAFT to 2.7

23 years agoRevert
Kurt Zeilenga [Sat, 8 Sep 2001 04:28:39 +0000 (04:28 +0000)]
Revert

23 years agoUpdate 'invalid data' error message.
Kurt Zeilenga [Sat, 8 Sep 2001 03:55:41 +0000 (03:55 +0000)]
Update 'invalid data' error message.

23 years agoForced commit to correct last log message.
Kurt Zeilenga [Sat, 8 Sep 2001 02:42:08 +0000 (02:42 +0000)]
Forced commit to correct last log message.
patch was provided by craig.rawlins@qld.gov.au (ITS#1289)

23 years agoAdd referral scope checks (ITS#1289) from dshriver@sharemedia.com
Kurt Zeilenga [Sat, 8 Sep 2001 02:37:02 +0000 (02:37 +0000)]
Add referral scope checks (ITS#1289) from dshriver@sharemedia.com

23 years agoAdd IDL debugging code from SuSE.
Kurt Zeilenga [Fri, 7 Sep 2001 21:58:31 +0000 (21:58 +0000)]
Add IDL debugging code from SuSE.

23 years agofinish the prefious fixes... it is really hard to commit a truly good patch without...
Dmitry Kovalev [Fri, 7 Sep 2001 18:50:52 +0000 (18:50 +0000)]
finish the prefious fixes... it is really hard to commit a truly good patch without even a chance to check if it is compilable ;)