]> git.sur5r.net Git - openldap/log
openldap
20 years agocast isdigit argument to unsigned char.
Hallvard Furuseth [Thu, 30 Oct 2003 22:55:02 +0000 (22:55 +0000)]
cast isdigit argument to unsigned char.

20 years agoITS#2801: fix str2entry trace
Kurt Zeilenga [Thu, 30 Oct 2003 22:45:18 +0000 (22:45 +0000)]
ITS#2801: fix str2entry trace

20 years agocleanup
Kurt Zeilenga [Thu, 30 Oct 2003 22:44:45 +0000 (22:44 +0000)]
cleanup

20 years agouse AI_ADDRCONFIG if possible to not lookup AAAA when no IPv6 addresses are configured
Stig Venaas [Wed, 29 Oct 2003 14:49:35 +0000 (14:49 +0000)]
use AI_ADDRCONFIG if possible to not lookup AAAA when no IPv6 addresses are configured

20 years agoFix retry on failure
Howard Chu [Sat, 25 Oct 2003 22:07:31 +0000 (22:07 +0000)]
Fix retry on failure

20 years agoFix prev commit, don't timeout outbound connections
Howard Chu [Sat, 25 Oct 2003 21:14:07 +0000 (21:14 +0000)]
Fix prev commit, don't timeout outbound connections

20 years agoAdd "defer" arg to ldap_pvt_runqueue_resched to suspend scheduling of
Howard Chu [Sat, 25 Oct 2003 21:13:08 +0000 (21:13 +0000)]
Add "defer" arg to ldap_pvt_runqueue_resched to suspend scheduling of
a task in the queue without removing it.

20 years agothis should be the intended behavior
Pierangelo Masarati [Sat, 25 Oct 2003 16:32:17 +0000 (16:32 +0000)]
this should be the intended behavior

20 years agoMore naming checks
Kurt Zeilenga [Sat, 25 Oct 2003 02:26:19 +0000 (02:26 +0000)]
More naming checks

20 years agoProvide more descriptive naming violation error messages
Kurt Zeilenga [Sat, 25 Oct 2003 01:40:55 +0000 (01:40 +0000)]
Provide more descriptive naming violation error messages

20 years agofix compile error
Kurt Zeilenga [Fri, 24 Oct 2003 17:34:33 +0000 (17:34 +0000)]
fix compile error

20 years agoOutbound connection management
Howard Chu [Fri, 24 Oct 2003 12:58:13 +0000 (12:58 +0000)]
Outbound connection management

20 years agoAdd support for outbound connections in main listener.
Howard Chu [Fri, 24 Oct 2003 12:57:24 +0000 (12:57 +0000)]
Add support for outbound connections in main listener.
Restructure syncrepl/persist to use outbound connection manager.

20 years agoDrop unused arguments from syncrepl_add_glue
Howard Chu [Fri, 24 Oct 2003 08:10:16 +0000 (08:10 +0000)]
Drop unused arguments from syncrepl_add_glue

20 years agoDrop SLAPI support
Howard Chu [Fri, 24 Oct 2003 06:06:55 +0000 (06:06 +0000)]
Drop SLAPI support

20 years agoFix prev commit
Howard Chu [Fri, 24 Oct 2003 06:01:55 +0000 (06:01 +0000)]
Fix prev commit

20 years agoSLAPI fix - no-op when slapi_plugins_used == 0
Howard Chu [Fri, 24 Oct 2003 05:58:42 +0000 (05:58 +0000)]
SLAPI fix - no-op when slapi_plugins_used == 0

20 years agoAdd a basic DIT content rule test.
Kurt Zeilenga [Fri, 24 Oct 2003 04:40:32 +0000 (04:40 +0000)]
Add a basic DIT content rule test.
Fix DIT rules to allow extensibleObject in AUX
unifdef -DSLAP_EXTENDED_SCHEMA

20 years agoFix error recovery, cleanup session handles. Always reschedule task
Howard Chu [Fri, 24 Oct 2003 04:11:28 +0000 (04:11 +0000)]
Fix error recovery, cleanup session handles. Always reschedule task
at end of do_syncrepl; this fixes the problem of syncrepl never starting
if the master isn't up. Set sync interval to 60 seconds in persist mode;
it will retry connecting to the master when the master isn't up. Fail on
SASL at config time instead of at runtime when SASL is not enabled.

20 years agoAdd/update server startup scripts
Kurt Zeilenga [Fri, 24 Oct 2003 03:35:20 +0000 (03:35 +0000)]
Add/update server startup scripts

20 years agoFix caseExact/caseIgnore IA5 normalization
Howard Chu [Thu, 23 Oct 2003 05:28:22 +0000 (05:28 +0000)]
Fix caseExact/caseIgnore IA5 normalization

20 years agoITS#2781 don't worry about missing updateref if SLAPD_MULTIMASTER
Howard Chu [Thu, 23 Oct 2003 01:50:12 +0000 (01:50 +0000)]
ITS#2781 don't worry about missing updateref if SLAPD_MULTIMASTER

20 years ago(clean up o_groups anyway)
Howard Chu [Thu, 23 Oct 2003 01:30:54 +0000 (01:30 +0000)]
(clean up o_groups anyway)

20 years agoUse tmpmem for group cache, doesn't need cleanup
Howard Chu [Thu, 23 Oct 2003 01:29:56 +0000 (01:29 +0000)]
Use tmpmem for group cache, doesn't need cleanup

20 years agoITS#2779, cache group ACLs per operation instead of per-connection
Howard Chu [Thu, 23 Oct 2003 01:23:45 +0000 (01:23 +0000)]
ITS#2779, cache group ACLs per operation instead of per-connection

20 years agocleanup
Kurt Zeilenga [Thu, 23 Oct 2003 01:16:06 +0000 (01:16 +0000)]
cleanup

20 years agoDon't return garbage when plist is empty.
Kurt Zeilenga [Thu, 23 Oct 2003 01:15:36 +0000 (01:15 +0000)]
Don't return garbage when plist is empty.

20 years agoremoving trailing spaces
Jong Hyuk Choi [Wed, 22 Oct 2003 21:58:21 +0000 (21:58 +0000)]
removing trailing spaces

20 years agochecking ldapmodify return code & replace member with uniquemember.
Jong Hyuk Choi [Wed, 22 Oct 2003 21:48:56 +0000 (21:48 +0000)]
checking ldapmodify return code & replace member with uniquemember.

20 years agoUnlock mutexes before deleting them
Howard Chu [Wed, 22 Oct 2003 21:40:52 +0000 (21:40 +0000)]
Unlock mutexes before deleting them

20 years agoFix 1 v 2 typo
Kurt Zeilenga [Wed, 22 Oct 2003 21:36:10 +0000 (21:36 +0000)]
Fix 1 v 2 typo

20 years agos/member/uniqueMember/
Kurt Zeilenga [Wed, 22 Oct 2003 21:33:55 +0000 (21:33 +0000)]
s/member/uniqueMember/

20 years agoFix last commit
Kurt Zeilenga [Wed, 22 Oct 2003 21:30:31 +0000 (21:30 +0000)]
Fix last commit

20 years agoCheck ldapmodify for success.
Kurt Zeilenga [Wed, 22 Oct 2003 21:20:58 +0000 (21:20 +0000)]
Check ldapmodify for success.

20 years agoReverse last commit
Kurt Zeilenga [Wed, 22 Oct 2003 21:14:42 +0000 (21:14 +0000)]
Reverse last commit

20 years agofix broken test ldif files
Jong Hyuk Choi [Wed, 22 Oct 2003 20:43:08 +0000 (20:43 +0000)]
fix broken test ldif files

20 years agoRevent last change. Must use TOPSRCDIR for VPATH support.
Kurt Zeilenga [Wed, 22 Oct 2003 17:15:16 +0000 (17:15 +0000)]
Revent last change.  Must use TOPSRCDIR for VPATH support.

20 years agofix ucdata path
Jong Hyuk Choi [Wed, 22 Oct 2003 17:04:12 +0000 (17:04 +0000)]
fix ucdata path

20 years agoFix CONF/CONF1 usage
Howard Chu [Wed, 22 Oct 2003 10:46:41 +0000 (10:46 +0000)]
Fix CONF/CONF1 usage

20 years agoUndo test020 overwrite
Howard Chu [Wed, 22 Oct 2003 10:45:56 +0000 (10:45 +0000)]
Undo test020 overwrite

20 years agoFix dnPrettyNormalize mem usage
Howard Chu [Wed, 22 Oct 2003 10:35:49 +0000 (10:35 +0000)]
Fix dnPrettyNormalize mem usage

20 years agoFix typo in killpid
Howard Chu [Wed, 22 Oct 2003 10:15:07 +0000 (10:15 +0000)]
Fix typo in killpid

20 years agoFix for selectable backend
Howard Chu [Wed, 22 Oct 2003 09:39:50 +0000 (09:39 +0000)]
Fix for selectable backend

20 years agoFix prev commit, avoid abort when entry is NULL
Howard Chu [Wed, 22 Oct 2003 07:57:25 +0000 (07:57 +0000)]
Fix prev commit, avoid abort when entry is NULL

20 years agoShortcut syncrepl candidate selection if CSN is up to date
Howard Chu [Wed, 22 Oct 2003 07:53:28 +0000 (07:53 +0000)]
Shortcut syncrepl candidate selection if CSN is up to date

20 years agoForgot to add renamed tests
Kurt Zeilenga [Wed, 22 Oct 2003 07:39:18 +0000 (07:39 +0000)]
Forgot to add renamed tests

20 years agoFind scripts by short names (test000, rootdse)
Kurt Zeilenga [Wed, 22 Oct 2003 07:06:28 +0000 (07:06 +0000)]
Find scripts by short names (test000, rootdse)

20 years agosyncrepl_entry() return code fix (returns 1 when e needs to be freed)
Jong Hyuk Choi [Wed, 22 Oct 2003 06:28:34 +0000 (06:28 +0000)]
syncrepl_entry() return code fix (returns 1 when e needs to be freed)

20 years agoSyncrepl code cleanup (namely prefix struct field names)
Kurt Zeilenga [Wed, 22 Oct 2003 05:19:30 +0000 (05:19 +0000)]
Syncrepl code cleanup (namely prefix struct field names)

20 years agoRework test scripts to use single 'testrun' directory.
Kurt Zeilenga [Wed, 22 Oct 2003 05:14:08 +0000 (05:14 +0000)]
Rework test scripts to use single 'testrun' directory.
Split glue test in two.
Remove (slurpd) subtree replication test.
Reorder syncrepl/proxy tests

20 years agofix for changing si->syncCookie to bvarray
Jong Hyuk Choi [Tue, 21 Oct 2003 22:02:30 +0000 (22:02 +0000)]
fix for changing si->syncCookie to bvarray

20 years agoremove ldbm related lines
Jong Hyuk Choi [Tue, 21 Oct 2003 21:14:56 +0000 (21:14 +0000)]
remove ldbm related lines

20 years agoFix PERL ldopt handling
Kurt Zeilenga [Tue, 21 Oct 2003 20:56:36 +0000 (20:56 +0000)]
Fix PERL ldopt handling

20 years agoFix cookie search
Howard Chu [Tue, 21 Oct 2003 08:26:58 +0000 (08:26 +0000)]
Fix cookie search

20 years agoFix -w option
Kurt Zeilenga [Tue, 21 Oct 2003 03:18:15 +0000 (03:18 +0000)]
Fix -w option

20 years agoGenerate test/run script
Kurt Zeilenga [Tue, 21 Oct 2003 03:08:29 +0000 (03:08 +0000)]
Generate test/run script

20 years agoRework test suite to use run script.
Kurt Zeilenga [Tue, 21 Oct 2003 03:08:08 +0000 (03:08 +0000)]
Rework test suite to use run script.
A little rough around the edges still.

20 years agoAvoid questionable use of strlen(), strcpy(), and strcat().
Kurt Zeilenga [Mon, 20 Oct 2003 22:23:11 +0000 (22:23 +0000)]
Avoid questionable use of strlen(), strcpy(), and strcat().

20 years agoWith export of variables
Kurt Zeilenga [Mon, 20 Oct 2003 05:19:51 +0000 (05:19 +0000)]
With export of variables

20 years agoInitial run script (for further devel discussions)
Kurt Zeilenga [Mon, 20 Oct 2003 05:17:24 +0000 (05:17 +0000)]
Initial run script (for further devel discussions)

20 years agoAdd note about not using ldapdb with slapd.
Howard Chu [Sun, 19 Oct 2003 22:45:00 +0000 (22:45 +0000)]
Add note about not using ldapdb with slapd.

20 years agoMisc notes
Howard Chu [Sun, 19 Oct 2003 19:41:14 +0000 (19:41 +0000)]
Misc notes

20 years agoFix error messages
Howard Chu [Sun, 19 Oct 2003 11:23:07 +0000 (11:23 +0000)]
Fix error messages

20 years agoITS#2684 keep psearch operations on the connection's active list so they
Howard Chu [Sun, 19 Oct 2003 11:20:34 +0000 (11:20 +0000)]
ITS#2684 keep psearch operations on the connection's active list so they
can be located by connection_abandon() during an unexpected close. Remove
the operations in bdb_abandon() etc.

20 years agoITS#2780, redundant cache add
Howard Chu [Sun, 19 Oct 2003 09:55:31 +0000 (09:55 +0000)]
ITS#2780, redundant cache add

20 years agoFix prev commit, syncrepl_add_glue must start from sufix
Howard Chu [Sun, 19 Oct 2003 08:57:30 +0000 (08:57 +0000)]
Fix prev commit, syncrepl_add_glue must start from sufix

20 years agoTweak startup, exiting
Howard Chu [Sun, 19 Oct 2003 05:46:56 +0000 (05:46 +0000)]
Tweak startup, exiting

20 years agoITS#2684 fix bogus entry_free(), connection problem remains
Howard Chu [Sun, 19 Oct 2003 04:42:02 +0000 (04:42 +0000)]
ITS#2684 fix bogus entry_free(), connection problem remains

20 years agoITS#2778 use real malloc for new entry, not sl_malloc
Howard Chu [Sun, 19 Oct 2003 02:18:38 +0000 (02:18 +0000)]
ITS#2778 use real malloc for new entry, not sl_malloc

20 years agoMore malloc cleanup
Howard Chu [Sun, 19 Oct 2003 00:30:55 +0000 (00:30 +0000)]
More malloc cleanup

20 years agoadd a few misc projects
Kurt Zeilenga [Sat, 18 Oct 2003 22:16:13 +0000 (22:16 +0000)]
add a few misc projects

20 years agoMake space for trailing NUL
Howard Chu [Sat, 18 Oct 2003 21:59:53 +0000 (21:59 +0000)]
Make space for trailing NUL

20 years agoBack out previous commit - files apart from test.c
Luke Howard [Sat, 18 Oct 2003 16:01:16 +0000 (16:01 +0000)]
Back out previous commit - files apart from test.c

20 years agoITS#2777 - fix previous commit
Luke Howard [Sat, 18 Oct 2003 15:59:58 +0000 (15:59 +0000)]
ITS#2777 - fix previous commit

20 years agoPossible fix for ITS#2777 - getline() conflict when _GNU_SOURCE is
Luke Howard [Sat, 18 Oct 2003 15:56:32 +0000 (15:56 +0000)]
Possible fix for ITS#2777 - getline() conflict when _GNU_SOURCE is
defined. I simply renamed it to get_line(). (Probably this will
conflict with something else...)

20 years agoReturn duplicated entry from entry_dup() - interesting that
Luke Howard [Sat, 18 Oct 2003 15:07:51 +0000 (15:07 +0000)]
Return duplicated entry from entry_dup() - interesting that
this was actually working when compiling without optimization

20 years agoITS#2747, Reorganize syncrepl, fix some memleaks. More remain.
Howard Chu [Sat, 18 Oct 2003 14:13:37 +0000 (14:13 +0000)]
ITS#2747, Reorganize syncrepl, fix some memleaks. More remain.

20 years agoRevert/Fix prev commit
Howard Chu [Sat, 18 Oct 2003 12:59:55 +0000 (12:59 +0000)]
Revert/Fix prev commit

20 years agoFix parse order in new print_entry ( ctrls )
Howard Chu [Sat, 18 Oct 2003 11:05:48 +0000 (11:05 +0000)]
Fix parse order in new print_entry ( ctrls )

20 years agoExplicitly mark attribute/assertion syntax of values to be normalized
Kurt Zeilenga [Sat, 18 Oct 2003 06:18:05 +0000 (06:18 +0000)]
Explicitly mark attribute/assertion syntax of values to be normalized

20 years agoITS#2771 fix memory usage in LDAPDN_rewrite, fix normalizer
Howard Chu [Sat, 18 Oct 2003 05:49:58 +0000 (05:49 +0000)]
ITS#2771 fix memory usage in LDAPDN_rewrite, fix normalizer

20 years agoAdd basic support for certificateMatch (as an extensible matching rule)
Kurt Zeilenga [Sat, 18 Oct 2003 04:20:19 +0000 (04:20 +0000)]
Add basic support for certificateMatch (as an extensible matching rule)

20 years agoInclude a (userCertificate:certificateExactMatch:=SN$DN) assertion.
Kurt Zeilenga [Sat, 18 Oct 2003 03:47:33 +0000 (03:47 +0000)]
Include a (userCertificate:certificateExactMatch:=SN$DN) assertion.

20 years agoRework support for certificate exact matching based, in part,
Kurt Zeilenga [Sat, 18 Oct 2003 02:39:08 +0000 (02:39 +0000)]
Rework support for certificate exact matching based, in part,
on patch submitted by Mark Ruijter <openldap@siennax.com>.
This addresses (hopefully) ITS 2702, 2703, 2719, 2771.
Additional work:
fix extraneous frees in libldap/getdn.c x509 rewrite routine
indexing

20 years agoFix modify attrs= overflow bug
Kurt Zeilenga [Sat, 18 Oct 2003 02:33:15 +0000 (02:33 +0000)]
Fix modify attrs= overflow bug

20 years agoAdd a trace message to dnX509normalize
Kurt Zeilenga [Fri, 17 Oct 2003 22:38:19 +0000 (22:38 +0000)]
Add a trace message to dnX509normalize

20 years agoFix SLAPD_NS_MTA_MD5 compile bug (ITS#2773)
Kurt Zeilenga [Fri, 17 Oct 2003 04:40:16 +0000 (04:40 +0000)]
Fix SLAPD_NS_MTA_MD5 compile bug (ITS#2773)

20 years agoFix linking --with-cyrus-sasl and --without-tls
Kurt Zeilenga [Fri, 17 Oct 2003 04:27:32 +0000 (04:27 +0000)]
Fix linking --with-cyrus-sasl and --without-tls

20 years agoAdd initial certificate test
Kurt Zeilenga [Fri, 17 Oct 2003 02:15:50 +0000 (02:15 +0000)]
Add initial certificate test
(userCertificate;binary=*) works
(userCertificate=*) doesn't but should
Needs to be expanded to include equality tests.

20 years agoForced commit, prev commit was ITS#2758
Howard Chu [Thu, 16 Oct 2003 18:58:15 +0000 (18:58 +0000)]
Forced commit, prev commit was ITS#2758

20 years agoITS#2770 - delete bogus maxbuf checks on sasl_read
Howard Chu [Thu, 16 Oct 2003 18:56:02 +0000 (18:56 +0000)]
ITS#2770 - delete bogus maxbuf checks on sasl_read

20 years agoITS#2769 - NT SIGBREAK handling
Howard Chu [Wed, 15 Oct 2003 12:16:35 +0000 (12:16 +0000)]
ITS#2769 - NT SIGBREAK handling

20 years agoclarify that replacement, but not expression evaluation,
Kurt Zeilenga [Wed, 15 Oct 2003 08:04:25 +0000 (08:04 +0000)]
clarify that replacement, but not expression evaluation,
is done on the string in group.regex=string
We really should rename the style, in this case, to "replacement".

20 years agoImprove printing of ACLs
Kurt Zeilenga [Wed, 15 Oct 2003 07:48:01 +0000 (07:48 +0000)]
Improve printing of ACLs

20 years agoDon't use compat features unnecessarily.
Kurt Zeilenga [Wed, 15 Oct 2003 03:39:05 +0000 (03:39 +0000)]
Don't use compat features unnecessarily.

20 years agoUse macro instead of sizeof
Kurt Zeilenga [Wed, 15 Oct 2003 03:30:15 +0000 (03:30 +0000)]
Use macro instead of sizeof
-       p += sizeof(HEADER);
+       p += NS_HFIXEDSZ;

20 years agocleanup
Kurt Zeilenga [Wed, 15 Oct 2003 03:08:43 +0000 (03:08 +0000)]
cleanup

20 years agoITS #2766 (remove slap_syncrepl_bvc & slap_syncrepl_cn_bvc from proto-slap.h)
Jong Hyuk Choi [Tue, 14 Oct 2003 20:40:44 +0000 (20:40 +0000)]
ITS #2766 (remove slap_syncrepl_bvc & slap_syncrepl_cn_bvc from proto-slap.h)

20 years agoremove #include <db.h> (ITS#2765)
Jong Hyuk Choi [Tue, 14 Oct 2003 20:22:09 +0000 (20:22 +0000)]
remove #include <db.h> (ITS#2765)

20 years agofix slap_syncrepl_cn_bv
Jong Hyuk Choi [Tue, 14 Oct 2003 16:26:01 +0000 (16:26 +0000)]
fix slap_syncrepl_cn_bv