]> git.sur5r.net Git - openldap/log
openldap
21 years agoMore ITS#2490 - fix retries for multi-byte lengths
Howard Chu [Mon, 19 May 2003 12:14:15 +0000 (12:14 +0000)]
More ITS#2490 - fix retries for multi-byte lengths

21 years agoITS#2490 - more retry checks
Howard Chu [Mon, 19 May 2003 10:37:09 +0000 (10:37 +0000)]
ITS#2490 - more retry checks

21 years agoITS#2490 - allow retry for incomplete reads of BER tag & len
Howard Chu [Mon, 19 May 2003 10:33:18 +0000 (10:33 +0000)]
ITS#2490 - allow retry for incomplete reads of BER tag & len

21 years agoupdate back-monitor man page
Pierangelo Masarati [Sun, 18 May 2003 23:26:30 +0000 (23:26 +0000)]
update back-monitor man page

21 years agodo not init schema that's not specific to monitoring
Pierangelo Masarati [Sun, 18 May 2003 00:15:28 +0000 (00:15 +0000)]
do not init schema that's not specific to monitoring

21 years agoRework CAVEATS
Kurt Zeilenga [Sat, 17 May 2003 18:37:40 +0000 (18:37 +0000)]
Rework CAVEATS

21 years agouse back-monitor without including core.schema; commit by now; will cleanup later
Pierangelo Masarati [Sat, 17 May 2003 17:19:16 +0000 (17:19 +0000)]
use back-monitor without including core.schema; commit by now; will cleanup later

21 years agoclarify DN regex match quirks
Pierangelo Masarati [Sat, 17 May 2003 12:39:10 +0000 (12:39 +0000)]
clarify DN regex match quirks

21 years agocleanup
Kurt Zeilenga [Sat, 17 May 2003 01:37:01 +0000 (01:37 +0000)]
cleanup

21 years agoWarn folks that setting TLS option may break some applications.
Kurt Zeilenga [Sat, 17 May 2003 01:08:09 +0000 (01:08 +0000)]
Warn folks that setting TLS option may break some applications.
URI should be used instead.

21 years agoClean up SLAP_NVALUES comment
Kurt Zeilenga [Fri, 16 May 2003 03:58:28 +0000 (03:58 +0000)]
Clean up SLAP_NVALUES comment

21 years agoNVALUES updates to approximate matching...
Kurt Zeilenga [Fri, 16 May 2003 03:57:01 +0000 (03:57 +0000)]
NVALUES updates to approximate matching...

21 years agoFix some Statslog()s: Add missing newlines. Print file descriptor as long.
Hallvard Furuseth [Thu, 15 May 2003 23:45:33 +0000 (23:45 +0000)]
Fix some Statslog()s:  Add missing newlines. Print file descriptor as long.

21 years agoStreamlined listener/select/accept handling:
Howard Chu [Thu, 15 May 2003 13:10:52 +0000 (13:10 +0000)]
Streamlined listener/select/accept handling:
  For ITS#2482:
  added sl_is_mute flag to Listener - when set, the listener is ignored
  if accept() on a listener fails with EMFILE, set the sl_is_mute flag
  when removing a connection, if emfile != 0, look for a listener to unmute

  For ITS#2374:
  if global_idletimeout is set and there are active sessions, use a timeout
  on the select() to actively detect idle sessions.

21 years agoremove unused arg from fprintf (ITS#2516)
Pierangelo Masarati [Thu, 15 May 2003 12:18:04 +0000 (12:18 +0000)]
remove unused arg from fprintf (ITS#2516)

21 years ago#include "lutil.h" to get lutil_strcopy().
Hallvard Furuseth [Thu, 15 May 2003 11:51:33 +0000 (11:51 +0000)]
#include "lutil.h" to get lutil_strcopy().

21 years agoRemove excess `0' arguments to fprintf.
Hallvard Furuseth [Thu, 15 May 2003 11:47:42 +0000 (11:47 +0000)]
Remove excess `0' arguments to fprintf.

21 years ago#include <ac/unistd.h> to get write()
Hallvard Furuseth [Thu, 15 May 2003 11:45:57 +0000 (11:45 +0000)]
#include <ac/unistd.h> to get write()

21 years ago#include <ac/string.h> to get strcasecmp().
Hallvard Furuseth [Thu, 15 May 2003 11:43:33 +0000 (11:43 +0000)]
#include <ac/string.h> to get strcasecmp().

21 years agoadd create/modify timestamp to all entries; use monitorTimestamp for start/current...
Pierangelo Masarati [Thu, 15 May 2003 01:19:30 +0000 (01:19 +0000)]
add create/modify timestamp to all entries; use monitorTimestamp for start/current time; minor cleanup

21 years agocleanup previous commit; update header
Pierangelo Masarati [Thu, 15 May 2003 01:18:45 +0000 (01:18 +0000)]
cleanup previous commit; update header

21 years agoneed starttime before backend db_open() is invoked
Pierangelo Masarati [Thu, 15 May 2003 01:12:17 +0000 (01:12 +0000)]
need starttime before backend db_open() is invoked

21 years agoadd local generalized time generator
Pierangelo Masarati [Thu, 15 May 2003 01:03:38 +0000 (01:03 +0000)]
add local generalized time generator

21 years ago#include <ac/string.h>, to get strlen(), strncmp() and strncasecmp().
Hallvard Furuseth [Wed, 14 May 2003 21:36:34 +0000 (21:36 +0000)]
#include <ac/string.h>, to get strlen(), strncmp() and strncasecmp().

21 years agoremove ch_malloc/ch_free
Jong Hyuk Choi [Wed, 14 May 2003 21:30:25 +0000 (21:30 +0000)]
remove ch_malloc/ch_free

21 years agoupdated certificateExactMatch support,
Kurt Zeilenga [Wed, 14 May 2003 20:52:23 +0000 (20:52 +0000)]
updated certificateExactMatch support,
doesn't yet use ctx malloc routines

21 years agoITS#2514 fix NULL deref
Howard Chu [Wed, 14 May 2003 19:30:25 +0000 (19:30 +0000)]
ITS#2514 fix NULL deref

21 years agoITS#2509 add missing arg for dnNormalize
Howard Chu [Wed, 14 May 2003 13:58:30 +0000 (13:58 +0000)]
ITS#2509 add missing arg for dnNormalize

21 years agoITS#2511 use %p to log pointer values
Howard Chu [Wed, 14 May 2003 13:54:15 +0000 (13:54 +0000)]
ITS#2511 use %p to log pointer values

21 years agoFix ldap_get_attribute_ber to get values in-place.
Howard Chu [Wed, 14 May 2003 13:16:56 +0000 (13:16 +0000)]
Fix ldap_get_attribute_ber to get values in-place.
Revert previous memleak fix in ldapsearch.c

21 years agoDon't crash if attr_find() fails (Howard, you might like to review this)
Luke Howard [Wed, 14 May 2003 07:25:00 +0000 (07:25 +0000)]
Don't crash if attr_find() fails (Howard, you might like to review this)

21 years agoFix content rule validation code -- don't use validation result variable
Luke Howard [Wed, 14 May 2003 05:29:46 +0000 (05:29 +0000)]
Fix content rule validation code -- don't use validation result variable
as an iterator!

21 years agoITS#2507, fix *_candidates error return values
Howard Chu [Tue, 13 May 2003 11:39:14 +0000 (11:39 +0000)]
ITS#2507, fix *_candidates error return values

21 years agoOptimize modify_internal, only reindex the actual modified values, not
Howard Chu [Tue, 13 May 2003 03:09:48 +0000 (03:09 +0000)]
Optimize modify_internal, only reindex the actual modified values, not
the entire attribute.

21 years agoFix prev commit, must passthru precomputed scopes
Howard Chu [Tue, 13 May 2003 02:44:22 +0000 (02:44 +0000)]
Fix prev commit, must passthru precomputed scopes

21 years agoITS#2506 - fix prev patch, don't ignore undefined filters. treat as False,
Howard Chu [Tue, 13 May 2003 01:16:26 +0000 (01:16 +0000)]
ITS#2506 - fix prev patch, don't ignore undefined filters. treat as False,
test_filter will never match them anyway.

21 years agoITS#2505 - make sr_strings per-op instead of static
Howard Chu [Mon, 12 May 2003 23:57:19 +0000 (23:57 +0000)]
ITS#2505 - make sr_strings per-op instead of static

21 years agoplug memleak in alternate print_entry()
Howard Chu [Mon, 12 May 2003 14:29:35 +0000 (14:29 +0000)]
plug memleak in alternate print_entry()

21 years agoRevert prev commit
Howard Chu [Sun, 11 May 2003 10:09:51 +0000 (10:09 +0000)]
Revert prev commit

21 years agoPlug leak in hdb
Howard Chu [Sun, 11 May 2003 08:42:58 +0000 (08:42 +0000)]
Plug leak in hdb

21 years agoAdded SLAP_TOOL_READMAIN and SLAP_TOOL_READONLY slapMode flags. The rw
Howard Chu [Sun, 11 May 2003 07:03:48 +0000 (07:03 +0000)]
Added SLAP_TOOL_READMAIN and SLAP_TOOL_READONLY slapMode flags. The rw
arg to tool_entry_open comes too late for back-bdb to use.

21 years agoAnother idle time tweak
Howard Chu [Sun, 11 May 2003 06:06:22 +0000 (06:06 +0000)]
Another idle time tweak

21 years agoPlug mem leak in slapindex
Howard Chu [Sat, 10 May 2003 03:56:01 +0000 (03:56 +0000)]
Plug mem leak in slapindex

21 years agoFor ITS#2502 - force release of locks on exiting threads
Howard Chu [Fri, 9 May 2003 22:30:28 +0000 (22:30 +0000)]
For ITS#2502 - force release of locks on exiting threads

21 years agorm cruft
Kurt Zeilenga [Fri, 9 May 2003 22:12:07 +0000 (22:12 +0000)]
rm cruft

21 years ago-Test only valid for bdb
Jong Hyuk Choi [Fri, 9 May 2003 20:08:08 +0000 (20:08 +0000)]
-Test only valid for bdb

21 years ago-reenabling LDAP_CACHING
Jong Hyuk Choi [Fri, 9 May 2003 16:48:50 +0000 (16:48 +0000)]
-reenabling LDAP_CACHING

21 years ago-syncUUID search in syncrepl
Jong Hyuk Choi [Fri, 9 May 2003 06:50:44 +0000 (06:50 +0000)]
-syncUUID search in syncrepl
-test017-syncreplication

21 years agoAdd a few more "nice to haves"
Kurt Zeilenga [Fri, 9 May 2003 02:12:42 +0000 (02:12 +0000)]
Add a few more "nice to haves"

21 years agonow LDAP_CACHING can be enabled again; not sure it works, though
Pierangelo Masarati [Fri, 9 May 2003 00:36:31 +0000 (00:36 +0000)]
now LDAP_CACHING can be enabled again; not sure it works, though

21 years agorunqueue restructuring
Jong Hyuk Choi [Wed, 7 May 2003 23:52:08 +0000 (23:52 +0000)]
runqueue restructuring

21 years agorunqueue update
Jong Hyuk Choi [Wed, 7 May 2003 22:29:26 +0000 (22:29 +0000)]
runqueue update

21 years agominor tweak
Kurt Zeilenga [Wed, 7 May 2003 22:22:21 +0000 (22:22 +0000)]
minor tweak

21 years agoa runqueue for periodic thread execution (for syncrepl)
Jong Hyuk Choi [Wed, 7 May 2003 02:06:01 +0000 (02:06 +0000)]
a runqueue for periodic thread execution (for syncrepl)

21 years agoFix typo in last commit
Kurt Zeilenga [Tue, 6 May 2003 15:00:58 +0000 (15:00 +0000)]
Fix typo in last commit

21 years agoITS#2486: plug leak
Kurt Zeilenga [Mon, 5 May 2003 17:35:59 +0000 (17:35 +0000)]
ITS#2486: plug leak

21 years agoBlind fix for NGROUPS Tru64 5.1 bug (ITS#2485)
Kurt Zeilenga [Mon, 5 May 2003 17:29:26 +0000 (17:29 +0000)]
Blind fix for NGROUPS Tru64 5.1 bug (ITS#2485)

21 years agotemporarily disable LDAP_CACHING (till API update)
Jong Hyuk Choi [Mon, 5 May 2003 16:03:59 +0000 (16:03 +0000)]
temporarily disable LDAP_CACHING (till API update)

21 years agoDon't crash slapi_filter_get_subfilt() if no "any" filter
Luke Howard [Mon, 5 May 2003 10:23:33 +0000 (10:23 +0000)]
Don't crash slapi_filter_get_subfilt() if no "any" filter

21 years agoContent rule logic fix
Luke Howard [Mon, 5 May 2003 09:17:10 +0000 (09:17 +0000)]
Content rule logic fix

21 years agoDon't crash if no attributes in slapi_attr_value_find()
Luke Howard [Sun, 4 May 2003 16:59:10 +0000 (16:59 +0000)]
Don't crash if no attributes in slapi_attr_value_find()

21 years agoadd network timeout (ITS#2413 reworked)
Pierangelo Masarati [Sat, 3 May 2003 11:30:38 +0000 (11:30 +0000)]
add network timeout (ITS#2413 reworked)

21 years agoAdd slapi_x_filter_append(), as a replacement for slapi_filter_join() that
Luke Howard [Sat, 3 May 2003 04:16:02 +0000 (04:16 +0000)]
Add slapi_x_filter_append(), as a replacement for slapi_filter_join() that
can create compound filters containing multiple filters. Have proposed API
to Sun DS team; until then it should likely be marked LDAP_DEVEL (if SLAPI
is not entirely marked as such already).

21 years agoFix slapi_filter_join() behavioural bug.
Luke Howard [Sat, 3 May 2003 04:15:35 +0000 (04:15 +0000)]
Fix slapi_filter_join() behavioural bug.
Fix slapi_filter_dup() crasher.

Add slapi_x_filter_append(), as a replacement for slapi_filter_join() that
can create compound filters containing multiple filters. Will propose API
to Sun DS team; until then it should likely be marked LDAP_DEVEL (if SLAPI
is not entirely marked as such already).

21 years agoJunk
Kurt Zeilenga [Fri, 2 May 2003 22:14:09 +0000 (22:14 +0000)]
Junk

21 years agoRemove junk
Kurt Zeilenga [Fri, 2 May 2003 22:12:07 +0000 (22:12 +0000)]
Remove junk

21 years agostrdup cleanup
Jong Hyuk Choi [Fri, 2 May 2003 18:00:33 +0000 (18:00 +0000)]
strdup cleanup

21 years agoITS#2480 uninit'd vars
Howard Chu [Fri, 2 May 2003 13:38:16 +0000 (13:38 +0000)]
ITS#2480 uninit'd vars

21 years agoFix assignment of <char/int>* to unsigned <char/int>* and vice versa.
Hallvard Furuseth [Fri, 2 May 2003 13:29:28 +0000 (13:29 +0000)]
Fix assignment of <char/int>* to unsigned <char/int>* and vice versa.

21 years agoctrls[] was initialized with which non-constants.
Hallvard Furuseth [Fri, 2 May 2003 13:26:25 +0000 (13:26 +0000)]
ctrls[] was initialized with which non-constants.

21 years agoEntry *e could be freed uninitialized after goto return_results;
Hallvard Furuseth [Fri, 2 May 2003 13:24:44 +0000 (13:24 +0000)]
Entry *e could be freed uninitialized after goto return_results;

21 years agoInsert missing %s in printf format to print ldap_err2string().
Hallvard Furuseth [Fri, 2 May 2003 13:13:30 +0000 (13:13 +0000)]
Insert missing %s in printf format to print ldap_err2string().

21 years agoFix printf/Debug format arguments.
Hallvard Furuseth [Fri, 2 May 2003 13:08:47 +0000 (13:08 +0000)]
Fix printf/Debug format arguments.

21 years agoUse pthread_equal to compare thread IDs
Howard Chu [Fri, 2 May 2003 12:23:31 +0000 (12:23 +0000)]
Use pthread_equal to compare thread IDs

21 years ago- LDAP_SYNCREPL defined in include/ldap.h
Jong Hyuk Choi [Thu, 1 May 2003 23:39:29 +0000 (23:39 +0000)]
- LDAP_SYNCREPL defined in include/ldap.h
- add "updatedn" to the replication specification
- return referral to update to the slave server

21 years agoFix HDB search_aliases crash, cleanup search scope processing: call dn2idl
Howard Chu [Thu, 1 May 2003 11:59:08 +0000 (11:59 +0000)]
Fix HDB search_aliases crash, cleanup search scope processing: call dn2idl
directly instead of going thru filter_candidates. Use hdb_ function prefix
in dn2id.c to avoid ambiguities...

21 years agoFix build breakage
Luke Howard [Thu, 1 May 2003 10:13:46 +0000 (10:13 +0000)]
Fix build breakage

21 years agoFix prev commit
Howard Chu [Thu, 1 May 2003 09:50:40 +0000 (09:50 +0000)]
Fix prev commit

21 years agoITS#2424 use two SASL contexts per session to conform to RFC 2222
Howard Chu [Thu, 1 May 2003 04:11:57 +0000 (04:11 +0000)]
ITS#2424 use two SASL contexts per session to conform to RFC 2222

21 years agosyncrepl REFRESH : a master entry modify case fix
Jong Hyuk Choi [Thu, 1 May 2003 02:14:47 +0000 (02:14 +0000)]
syncrepl REFRESH : a master entry modify case fix

21 years agocleanup
Jong Hyuk Choi [Wed, 30 Apr 2003 22:41:37 +0000 (22:41 +0000)]
cleanup

21 years agocomment cleanup
Jong Hyuk Choi [Wed, 30 Apr 2003 16:39:40 +0000 (16:39 +0000)]
comment cleanup

21 years agolist of nonpresent entries in syncinfo_t
Jong Hyuk Choi [Wed, 30 Apr 2003 16:38:15 +0000 (16:38 +0000)]
list of nonpresent entries in syncinfo_t

21 years agosyncrepl refresh mode : both scope-in & scope-out working fine
Jong Hyuk Choi [Wed, 30 Apr 2003 16:35:23 +0000 (16:35 +0000)]
syncrepl refresh mode : both scope-in & scope-out working fine

21 years agoFix prev commit
Howard Chu [Wed, 30 Apr 2003 16:00:36 +0000 (16:00 +0000)]
Fix prev commit

21 years agoITS#2424 reset SASL on an existing connection
Howard Chu [Wed, 30 Apr 2003 15:38:32 +0000 (15:38 +0000)]
ITS#2424 reset SASL on an existing connection

21 years agoFor ITS#2424, move all SASL session management to ldap_int_sasl_bind.
Howard Chu [Wed, 30 Apr 2003 14:13:58 +0000 (14:13 +0000)]
For ITS#2424, move all SASL session management to ldap_int_sasl_bind.

21 years agoA pre-operation plugin is not required to set SLAPI_RESULT_CODE in
Luke Howard [Wed, 30 Apr 2003 13:37:14 +0000 (13:37 +0000)]
A pre-operation plugin is not required to set SLAPI_RESULT_CODE in
order to prevent the operation from being passed to the backend. It
need only return a non-zero error code.

21 years agoITS#2475 delete bogus SASL2 call
Howard Chu [Wed, 30 Apr 2003 08:08:08 +0000 (08:08 +0000)]
ITS#2475 delete bogus SASL2 call

21 years agoAdded errmsg arg to lutil_passwd_{check,hash} functions
Howard Chu [Wed, 30 Apr 2003 07:52:05 +0000 (07:52 +0000)]
Added errmsg arg to lutil_passwd_{check,hash} functions

21 years agoLog errors from dn2id failures
Howard Chu [Wed, 30 Apr 2003 07:47:24 +0000 (07:47 +0000)]
Log errors from dn2id failures

21 years agoUse DB_RMW when deleting dn2id elements
Howard Chu [Wed, 30 Apr 2003 07:46:58 +0000 (07:46 +0000)]
Use DB_RMW when deleting dn2id elements

21 years agoUse computed filters to pass in search scope.
Howard Chu [Wed, 30 Apr 2003 07:46:01 +0000 (07:46 +0000)]
Use computed filters to pass in search scope.

21 years ago- mods memory allocation fix
Jong Hyuk Choi [Wed, 30 Apr 2003 04:01:25 +0000 (04:01 +0000)]
- mods memory allocation fix
- persistent syncreplCookie (in syncConsumerSubentry) access becomes reliable

21 years agoITS#2401 support tests for dynamically loaded backends
Howard Chu [Wed, 30 Apr 2003 03:04:18 +0000 (03:04 +0000)]
ITS#2401 support tests for dynamically loaded backends

21 years ago- manageDSAit is implicitly assumed for LCUP / SYNC
Jong Hyuk Choi [Wed, 30 Apr 2003 02:04:23 +0000 (02:04 +0000)]
- manageDSAit is implicitly assumed for LCUP / SYNC
- LCUP / SYNC search both entries and subentries at the same time

21 years agoLCUP / SYNC overrides manageDSAit upon calling select_backend()
Jong Hyuk Choi [Wed, 30 Apr 2003 02:01:03 +0000 (02:01 +0000)]
LCUP / SYNC overrides manageDSAit upon calling select_backend()

21 years agocleanup
Jong Hyuk Choi [Tue, 29 Apr 2003 23:32:58 +0000 (23:32 +0000)]
cleanup

21 years agoRevert prev commit. It's a symptom that BDB was built incorrectly.
Howard Chu [Tue, 29 Apr 2003 22:02:24 +0000 (22:02 +0000)]
Revert prev commit. It's a symptom that BDB was built incorrectly.

21 years agoBetter handling of computed filters
Howard Chu [Tue, 29 Apr 2003 21:51:23 +0000 (21:51 +0000)]
Better handling of computed filters