]> git.sur5r.net Git - openldap/log
openldap
21 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

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

21 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)

21 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)

21 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)

21 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

21 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

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

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

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

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

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

21 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.

21 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().

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

21 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)

21 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.

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

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

21 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.

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

21 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

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

21 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

21 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

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

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

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

21 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

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

21 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...)

21 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

21 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.

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

21 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 )

21 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

21 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

21 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)

21 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.

21 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

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

21 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

21 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)

21 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

21 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.

21 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

21 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

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

21 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".

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

21 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.

21 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;

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

21 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)

21 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)

21 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

21 years agoReally rename ldap_int_get_controls() to ldap_pvt_get_controls().
Hallvard Furuseth [Tue, 14 Oct 2003 11:27:32 +0000 (11:27 +0000)]
Really rename ldap_int_get_controls() to ldap_pvt_get_controls().

21 years agoITS#2764: fix sed of perl ldopts
Kurt Zeilenga [Tue, 14 Oct 2003 05:47:00 +0000 (05:47 +0000)]
ITS#2764: fix sed of perl ldopts

21 years agoFix use of ProxyAuthz control
Howard Chu [Mon, 13 Oct 2003 19:30:28 +0000 (19:30 +0000)]
Fix use of ProxyAuthz control

21 years agoMinor tweak to last commit
Kurt Zeilenga [Mon, 13 Oct 2003 18:35:08 +0000 (18:35 +0000)]
Minor tweak to last commit

21 years agoRework of berbuf allocation:
Kurt Zeilenga [Mon, 13 Oct 2003 18:09:15 +0000 (18:09 +0000)]
Rework of berbuf allocation:
Moved BerElementBuffer to lber_pvt.h
Defined union by macro so it can be easily reused.
Updated client/tools/common.c.

21 years agorq_mutex placing fix
Jong Hyuk Choi [Mon, 13 Oct 2003 14:08:55 +0000 (14:08 +0000)]
rq_mutex placing fix

21 years agoITS#2747 fix exit conditions
Howard Chu [Mon, 13 Oct 2003 10:14:05 +0000 (10:14 +0000)]
ITS#2747 fix exit conditions

21 years agoFix test sequencing
Howard Chu [Mon, 13 Oct 2003 09:56:25 +0000 (09:56 +0000)]
Fix test sequencing

21 years agoRework Kerberos principals (ITS#2695)
Kurt Zeilenga [Mon, 13 Oct 2003 03:18:17 +0000 (03:18 +0000)]
Rework Kerberos principals (ITS#2695)

21 years agoApply patch suggested in ITS#2737 to address underallocation bug.
Kurt Zeilenga [Sun, 12 Oct 2003 23:31:00 +0000 (23:31 +0000)]
Apply patch suggested in ITS#2737 to address underallocation bug.
This could should be reworked to avoid multiple reallocs (likely
by overallocating).

21 years agoFix pdn assert
Kurt Zeilenga [Sun, 12 Oct 2003 22:34:14 +0000 (22:34 +0000)]
Fix pdn assert

21 years agoAdd a note that plaform #ifdefs are misplaced
Kurt Zeilenga [Sun, 12 Oct 2003 22:00:17 +0000 (22:00 +0000)]
Add a note that plaform #ifdefs are misplaced

21 years agoAdd second UTF-8 normalization case
Kurt Zeilenga [Sun, 12 Oct 2003 20:14:03 +0000 (20:14 +0000)]
Add second UTF-8 normalization case

21 years agoAdd basic UTF-8 normalization test (see ITS#2737)
Kurt Zeilenga [Sun, 12 Oct 2003 19:58:28 +0000 (19:58 +0000)]
Add basic UTF-8 normalization test (see ITS#2737)

21 years agorunqueue locking fix (ITS#2746)
Jong Hyuk Choi [Sun, 12 Oct 2003 09:13:04 +0000 (09:13 +0000)]
runqueue locking fix (ITS#2746)

21 years agomv ldap_int_get_controls to ldap_pvt_get_controls
Kurt Zeilenga [Sun, 12 Oct 2003 08:14:28 +0000 (08:14 +0000)]
mv ldap_int_get_controls to ldap_pvt_get_controls

21 years agoFurther cleanup last commit.
Kurt Zeilenga [Sun, 12 Oct 2003 07:31:31 +0000 (07:31 +0000)]
Further cleanup last commit.

21 years agoTentative fix for last comment (tests still running)
Kurt Zeilenga [Sun, 12 Oct 2003 07:19:27 +0000 (07:19 +0000)]
Tentative fix for last comment (tests still running)

21 years agoUpdate SLAPI manual page
Luke Howard [Sun, 12 Oct 2003 06:36:29 +0000 (06:36 +0000)]
Update SLAPI manual page

21 years agoITS#2757: fix parent-less add bug
Kurt Zeilenga [Sun, 12 Oct 2003 06:32:44 +0000 (06:32 +0000)]
ITS#2757: fix parent-less add bug

21 years agoFinish off berbuf fix
Kurt Zeilenga [Sun, 12 Oct 2003 06:07:02 +0000 (06:07 +0000)]
Finish off berbuf fix

21 years agoInitial fix for berbuf alignment bug (ITS#2760)
Kurt Zeilenga [Sun, 12 Oct 2003 04:45:09 +0000 (04:45 +0000)]
Initial fix for berbuf alignment bug (ITS#2760)
Needs to be applied to other stack allocated berbufs.

21 years agoITS#2621, reference slapd.plugin
Kurt Zeilenga [Sun, 12 Oct 2003 04:22:26 +0000 (04:22 +0000)]
ITS#2621, reference slapd.plugin

21 years agodocument ditcontentrule directive
Kurt Zeilenga [Sun, 12 Oct 2003 04:20:20 +0000 (04:20 +0000)]
document ditcontentrule directive

21 years agoITS#2751 additional fix
Howard Chu [Sat, 11 Oct 2003 02:52:48 +0000 (02:52 +0000)]
ITS#2751 additional fix

21 years agoITS#2751 reset op->o_callback before returning
Howard Chu [Sat, 11 Oct 2003 02:41:37 +0000 (02:41 +0000)]
ITS#2751 reset op->o_callback before returning

21 years agoITS#2762 tweak SASL include paths
Howard Chu [Sat, 11 Oct 2003 01:24:44 +0000 (01:24 +0000)]
ITS#2762 tweak SASL include paths

21 years agoPush invariant args into environment, they were making the "WAIT"
Howard Chu [Fri, 10 Oct 2003 12:11:22 +0000 (12:11 +0000)]
Push invariant args into environment, they were making the "WAIT"
parameter too difficult to use.

21 years agoFix typo
Howard Chu [Fri, 10 Oct 2003 07:39:33 +0000 (07:39 +0000)]
Fix typo

21 years agoGenerate pid/arg files after detaching
Kurt Zeilenga [Fri, 10 Oct 2003 02:07:24 +0000 (02:07 +0000)]
Generate pid/arg files after detaching

21 years agoFix non-portable initializers.
Howard Chu [Thu, 9 Oct 2003 10:36:28 +0000 (10:36 +0000)]
Fix non-portable initializers.

21 years agomisc syncrpel updates
Jong Hyuk Choi [Wed, 8 Oct 2003 09:36:06 +0000 (09:36 +0000)]
misc syncrpel updates

21 years agoDon't duplicate e_bv in entry_dup()
Luke Howard [Wed, 8 Oct 2003 06:40:16 +0000 (06:40 +0000)]
Don't duplicate e_bv in entry_dup()

21 years agoFix prev commit setting NO_GRANDKIDS incorrectly
Howard Chu [Wed, 8 Oct 2003 06:05:48 +0000 (06:05 +0000)]
Fix prev commit setting NO_GRANDKIDS incorrectly

21 years agoAdd entry_dup(); make slapi_entry_dup() use it
Luke Howard [Wed, 8 Oct 2003 00:48:33 +0000 (00:48 +0000)]
Add entry_dup(); make slapi_entry_dup() use it

21 years agoUpdate filter representations to conform to RFC 2254.
Kurt Zeilenga [Tue, 7 Oct 2003 22:41:45 +0000 (22:41 +0000)]
Update filter representations to conform to RFC 2254.

21 years agoslaptools update : replica promotion / demotion
Jong Hyuk Choi [Tue, 7 Oct 2003 20:01:37 +0000 (20:01 +0000)]
slaptools update : replica promotion / demotion
new slapadd options
-p       : promote : If the ldif file contains syncConsumerSubentries, convert
                     them to a single syncProviderSubentry. Its contextCSN
                     attribute has the largest value of the syncreplCookie
                     attributes of the syncConsumerSubentries.
                     syncProviderSubentry in the ldif file is retained.
-p -w    : promote : Recalculate contextCSN based on entryCSN of each entry.
           create    Existing syncConsumerSubentries and syncProviderSubentry
                     are ignored and not added to the directory.
-r       : demote  : If the ldif file contains syncProviderSubentry, convert it
                     to a syncConsumerSubentry having the default syncrepl id
                     of 0. syncConsumerSubentries in the ldif file are retained.
-r -w    : demote  : Recalculate syncreplCookie based on entryCSN of each entry.
           create    Existing syncConsumerSubentries and syncProviderSubentry
                     are ignored and not added to the directory. The default
                     syncrepl id of 0 will be used for the new
                     syncConsumerSubentry.
-r -w -i %d[,%d]*  : Using the comma separated list followed by the -i option,
                     it is possible to create multiple syncConsumerSubentries
                     having the syncrepl ids specified in the list.
                     syncreplCookie values of these sycnConsumerSubentries
                     will have the same value, either from the maximum
                     entryCSN value or from the contextCSN value of the
                     syncProviderSubentry.

21 years agoUse slapi_entry_dup() instead of converting entry to string and back
Luke Howard [Tue, 7 Oct 2003 16:09:40 +0000 (16:09 +0000)]
Use slapi_entry_dup() instead of converting entry to string and back

21 years agoAdded ldapdb_starttls keyword
Howard Chu [Tue, 7 Oct 2003 00:19:36 +0000 (00:19 +0000)]
Added ldapdb_starttls keyword

21 years agoComment out Kerberos flags.
Kurt Zeilenga [Mon, 6 Oct 2003 17:43:49 +0000 (17:43 +0000)]
Comment out Kerberos flags.

21 years agoAdd native SASL support to do.
Kurt Zeilenga [Mon, 6 Oct 2003 17:26:29 +0000 (17:26 +0000)]
Add native SASL support to do.

21 years agoenable back-monitor build by default
Pierangelo Masarati [Mon, 6 Oct 2003 00:09:59 +0000 (00:09 +0000)]
enable back-monitor build by default

21 years agofix a_nvals according to back-ldap implementation (ITS#2716; at least part of it)
Pierangelo Masarati [Sat, 4 Oct 2003 17:18:25 +0000 (17:18 +0000)]
fix a_nvals according to back-ldap implementation (ITS#2716; at least part of it)

21 years agoFix HDB's use of IDL cache
Howard Chu [Fri, 3 Oct 2003 02:19:09 +0000 (02:19 +0000)]
Fix HDB's use of IDL cache