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

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

20 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

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

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

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

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

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

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

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

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

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

20 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

20 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

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

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

20 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

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

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

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

20 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

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

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

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

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

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

20 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

20 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

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

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

20 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

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

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

20 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()

20 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

20 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

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

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

20 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

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

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

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

20 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

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

20 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

20 years agoFix typo in LTFINISH invcation
Howard Chu [Wed, 1 Oct 2003 02:26:41 +0000 (02:26 +0000)]
Fix typo in LTFINISH invcation

20 years agoITS#2744
Jong Hyuk Choi [Tue, 30 Sep 2003 18:01:47 +0000 (18:01 +0000)]
ITS#2744

20 years agoFix typo in comment.
Hallvard Furuseth [Tue, 30 Sep 2003 17:11:44 +0000 (17:11 +0000)]
Fix typo in comment.

20 years ago#include "lutil.h", to get lutil_entropy(). Fix call to lutil_entropy().
Hallvard Furuseth [Mon, 29 Sep 2003 23:33:39 +0000 (23:33 +0000)]
#include "lutil.h", to get lutil_entropy().  Fix call to lutil_entropy().

20 years agoDeclare bdb_cache_entry_db_unlock().
Hallvard Furuseth [Mon, 29 Sep 2003 23:32:11 +0000 (23:32 +0000)]
Declare bdb_cache_entry_db_unlock().

20 years ago#include <string.h>, to get memcmp() and memset().
Hallvard Furuseth [Mon, 29 Sep 2003 23:31:18 +0000 (23:31 +0000)]
#include <string.h>, to get memcmp() and memset().

20 years agoITS#2745 reset bei_state when reusing an EntryInfo
Howard Chu [Mon, 29 Sep 2003 22:01:03 +0000 (22:01 +0000)]
ITS#2745 reset bei_state when reusing an EntryInfo

20 years agoITS#2743 initialize rc
Howard Chu [Mon, 29 Sep 2003 19:54:53 +0000 (19:54 +0000)]
ITS#2743 initialize rc

20 years agoDeclare filter_escape_value_x() and make it static.
Hallvard Furuseth [Mon, 29 Sep 2003 14:09:31 +0000 (14:09 +0000)]
Declare filter_escape_value_x() and make it static.

20 years agoMove #include ldap_pvt.h after slap.h, to get ldap_bv2dn_x() & co.
Hallvard Furuseth [Mon, 29 Sep 2003 14:08:23 +0000 (14:08 +0000)]
Move #include ldap_pvt.h after slap.h, to get ldap_bv2dn_x() & co.

20 years agoPlug memory leak in slap_get_csn().
Hallvard Furuseth [Mon, 29 Sep 2003 14:06:48 +0000 (14:06 +0000)]
Plug memory leak in slap_get_csn().

20 years ago#include <ac/unistd.h>, to get geteuid() and getegid().
Hallvard Furuseth [Mon, 29 Sep 2003 14:04:48 +0000 (14:04 +0000)]
#include <ac/unistd.h>, to get geteuid() and getegid().

20 years agoPlug read_config memleak
Howard Chu [Mon, 29 Sep 2003 11:15:12 +0000 (11:15 +0000)]
Plug read_config memleak

20 years agoITS#2130 glued subordinates are not referrals, ignore ManageDSAit control
Howard Chu [Mon, 29 Sep 2003 10:39:41 +0000 (10:39 +0000)]
ITS#2130 glued subordinates are not referrals, ignore ManageDSAit control

20 years agoStarting a collection of overlays
Howard Chu [Mon, 29 Sep 2003 05:49:39 +0000 (05:49 +0000)]
Starting a collection of overlays

20 years agoInitialization fixes
Howard Chu [Mon, 29 Sep 2003 05:04:43 +0000 (05:04 +0000)]
Initialization fixes

20 years agoplug modrdn memleaks
Howard Chu [Sat, 27 Sep 2003 07:52:20 +0000 (07:52 +0000)]
plug modrdn memleaks

20 years agoITS#2736 clear result strings
Howard Chu [Sat, 27 Sep 2003 07:36:20 +0000 (07:36 +0000)]
ITS#2736 clear result strings

20 years agoITS#2600 replica uri= docs
Howard Chu [Sat, 27 Sep 2003 07:14:29 +0000 (07:14 +0000)]
ITS#2600 replica uri= docs

20 years agoAdded description for idlcachesize, shm_key
Howard Chu [Sat, 27 Sep 2003 07:06:48 +0000 (07:06 +0000)]
Added description for idlcachesize, shm_key

20 years agoInclude <ac/socket.h> so Windows can pull in struct timeval def
Howard Chu [Sat, 27 Sep 2003 06:48:15 +0000 (06:48 +0000)]
Include <ac/socket.h> so Windows can pull in struct timeval def

20 years agoDon't timeout slow-running operations
Howard Chu [Sat, 27 Sep 2003 05:36:20 +0000 (05:36 +0000)]
Don't timeout slow-running operations

20 years agoFix hdb cursor leak.
Howard Chu [Sat, 27 Sep 2003 05:17:08 +0000 (05:17 +0000)]
Fix hdb cursor leak.

20 years agoreinstate first argument to bdb_cache_delete_cleanup()
Luke Howard [Sat, 27 Sep 2003 05:12:17 +0000 (05:12 +0000)]
reinstate first argument to bdb_cache_delete_cleanup()

20 years agoCleanup SLAPI logging
Luke Howard [Sat, 27 Sep 2003 05:03:16 +0000 (05:03 +0000)]
Cleanup SLAPI logging
Remove _SPARC hostname special case - gethostname() should work