]> git.sur5r.net Git - openldap/log
openldap
21 years agoReverse unintended commit
Kurt Zeilenga [Thu, 22 May 2003 05:33:04 +0000 (05:33 +0000)]
Reverse unintended commit

21 years agocleanup
Kurt Zeilenga [Thu, 22 May 2003 05:32:06 +0000 (05:32 +0000)]
cleanup

21 years agoRemove wrapping sequence to align with dtest
Kurt Zeilenga [Thu, 22 May 2003 04:45:50 +0000 (04:45 +0000)]
Remove wrapping sequence to align with dtest

21 years agoAdd trickle code to test ber_get_next.
Kurt Zeilenga [Thu, 22 May 2003 04:37:44 +0000 (04:37 +0000)]
Add trickle code to test ber_get_next.
Use etest {...} | dtest {...} to test.

21 years agoFix dtest ber_get_next() usage
Kurt Zeilenga [Thu, 22 May 2003 03:35:36 +0000 (03:35 +0000)]
Fix dtest ber_get_next() usage

21 years agoTLS hard updates
Kurt Zeilenga [Thu, 22 May 2003 00:37:01 +0000 (00:37 +0000)]
TLS hard updates

21 years agoZap "TLS hard"
Kurt Zeilenga [Thu, 22 May 2003 00:15:57 +0000 (00:15 +0000)]
Zap "TLS hard"

21 years agoError when user tries to mix command line and default URI components.
Kurt Zeilenga [Thu, 22 May 2003 00:13:00 +0000 (00:13 +0000)]
Error when user tries to mix command line and default URI components.
Remove TLS hard as an ldap.conf option as being not a over-writable
default.  The appropriate way to request ldaps:// is use an ldaps://
URI.  A rewrite to only sent hard for the default URIs but ignored
if the application provides it own URI would be acceptable.

21 years agoIf the sync mode is refreshAndPersist,
Jong Hyuk Choi [Wed, 21 May 2003 23:44:10 +0000 (23:44 +0000)]
If the sync mode is refreshAndPersist,
search does not return error when base entry is not found

21 years agoselect loop changes for persistent threads
Jong Hyuk Choi [Tue, 20 May 2003 23:52:11 +0000 (23:52 +0000)]
select loop changes for persistent threads

21 years agorunqueue update according to the idle timer change
Jong Hyuk Choi [Tue, 20 May 2003 22:13:21 +0000 (22:13 +0000)]
runqueue update according to the idle timer change

21 years agopersistent search updates with recent changes
Jong Hyuk Choi [Tue, 20 May 2003 20:21:39 +0000 (20:21 +0000)]
persistent search updates with recent changes

21 years agoslapd-syncrepl-slave-persist.conf : added
Jong Hyuk Choi [Tue, 20 May 2003 19:58:11 +0000 (19:58 +0000)]
slapd-syncrepl-slave-persist.conf : added
slapd-sycnrepl-slave-refresh.conf : renamed from slapd-syncrepl-slave.conf

21 years agotest018-syncreplication-persist : added
Jong Hyuk Choi [Tue, 20 May 2003 19:57:18 +0000 (19:57 +0000)]
test018-syncreplication-persist : added
test017-syncreplication         : renamed to test017-syncreplication-refresh

21 years agoMove SLAPD_MONITOR_DN out of format strings.
Hallvard Furuseth [Tue, 20 May 2003 18:16:45 +0000 (18:16 +0000)]
Move SLAPD_MONITOR_DN out of format strings.
Otherwise slapd would break if SLAPD_MONITOR_DN contained a '%'.

21 years agoFix debug output (print int as %d, not %s).
Hallvard Furuseth [Tue, 20 May 2003 18:13:39 +0000 (18:13 +0000)]
Fix debug output (print int as %d, not %s).

21 years agoFix debug statement (remove spurious '.' after '\n').
Hallvard Furuseth [Tue, 20 May 2003 18:12:14 +0000 (18:12 +0000)]
Fix debug statement (remove spurious '.' after '\n').

21 years agober_get_next - set errno to 0 before calling ber_int_sb_read(), otherwise
Howard Chu [Tue, 20 May 2003 04:08:35 +0000 (04:08 +0000)]
ber_get_next - set errno to 0 before calling ber_int_sb_read(), otherwise
an EOF will return with the previously set errno value.

21 years agoBuild without HAVE_TLS
Luke Howard [Tue, 20 May 2003 02:59:19 +0000 (02:59 +0000)]
Build without HAVE_TLS

21 years ago- change in message to modlist conversion
Jong Hyuk Choi [Tue, 20 May 2003 01:45:12 +0000 (01:45 +0000)]
- change in message to modlist conversion

21 years agoclarify the size of a generalizedTime
Pierangelo Masarati [Mon, 19 May 2003 21:10:49 +0000 (21:10 +0000)]
clarify the size of a generalizedTime

21 years agoFix typo
Kurt Zeilenga [Mon, 19 May 2003 18:54:15 +0000 (18:54 +0000)]
Fix typo

21 years agoFix typo.
Hallvard Furuseth [Mon, 19 May 2003 17:30:14 +0000 (17:30 +0000)]
Fix typo.

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