]> git.sur5r.net Git - openldap/log
openldap
19 years agoAdd threaded AVL functions
Howard Chu [Wed, 21 Sep 2005 11:27:14 +0000 (11:27 +0000)]
Add threaded AVL functions

19 years agoRearrange avlnode / padding, add threaded AVL functions
Howard Chu [Wed, 21 Sep 2005 11:26:56 +0000 (11:26 +0000)]
Rearrange avlnode / padding, add threaded AVL functions

19 years agosome TESTDIR fixes
Kurt Zeilenga [Wed, 21 Sep 2005 02:40:09 +0000 (02:40 +0000)]
some TESTDIR fixes

19 years agoDon't use #ifdefs in the inside of a macro
Kurt Zeilenga [Mon, 19 Sep 2005 22:17:22 +0000 (22:17 +0000)]
Don't use #ifdefs in the inside of a macro

19 years agouse result of validation (ITS#4028)
Pierangelo Masarati [Mon, 19 Sep 2005 09:06:29 +0000 (09:06 +0000)]
use result of validation (ITS#4028)

19 years agoAdd thread debugging wrapper thr_debug.c and ldap_thr_debug.h in libldap_r/,
Hallvard Furuseth [Sat, 17 Sep 2005 23:28:08 +0000 (23:28 +0000)]
Add thread debugging wrapper thr_debug.c and ldap_thr_debug.h in libldap_r/,
enabled with LDAP_THREAD_DEBUG (cpp macro and environment variable):

Move any ldap_pvt_* definitions from ldap_int_thread.h to ldap_pvt_thread.h.
#define ldap_int_thread_equal/ldap_pvt_thread_equal instead of tpool.c:TID_EQ.
Define some ldap_debug_*_t types, and LDAP_UINTPTR_T, in ldap_int_thread.h.
ldap_int_thread.h/ldap_pvt_thread.h can now be included multiple times, giving
different results depending on whether libldap_r/ldap_thr_debug.h was included.
Add some cleanup and some preprocessor hacks.
#define LDAP_THREAD*_IMPLEMENTATION in libldap_r/*.c, used by ldap_thr_debug.h.
Add PTHREAD_MUTEX_ERRORCHECK/PTHREAD_MUTEX_ERRORCHECK_NP in thr_posix.c.

19 years agoMore POSIX 1003.1-2001 support: Replace test -a with &&. Replace egrep
Hallvard Furuseth [Sat, 17 Sep 2005 22:44:03 +0000 (22:44 +0000)]
More POSIX 1003.1-2001 support: Replace test -a with &&.  Replace egrep
with $EGREP_CMD from configure.  (Renamed from configure's $EGREP just
in case egrep variants exist that use the EGREP environment variable.)

19 years agoRebuild for configure.in rev 1.600 (POSIX 1003.1-2001 support)
Hallvard Furuseth [Sat, 17 Sep 2005 22:24:47 +0000 (22:24 +0000)]
Rebuild for configure.in rev 1.600 (POSIX 1003.1-2001 support)

19 years agoSupport POSIX 1003.1-2001 without XSI extensions (ITS #2667):
Hallvard Furuseth [Sat, 17 Sep 2005 22:22:15 +0000 (22:22 +0000)]
Support POSIX 1003.1-2001 without XSI extensions (ITS #2667):
Do not use test -a/-o.  Use shell features like &&, || or case...esac.
Use grep instead of egrep (but not the not-yet-portable Posix variant grep -E).
Based on a patch from Paul Eggert.

19 years agoAdd dummy reference to librewrite to force it to link
Howard Chu [Sat, 17 Sep 2005 00:55:50 +0000 (00:55 +0000)]
Add dummy reference to librewrite to force it to link

19 years agoaddress ITS#4023
Pierangelo Masarati [Fri, 16 Sep 2005 18:12:57 +0000 (18:12 +0000)]
address ITS#4023

19 years agoissue additional useful warning messages; may eventually turn into errors?
Pierangelo Masarati [Fri, 16 Sep 2005 15:00:13 +0000 (15:00 +0000)]
issue additional useful warning messages; may eventually turn into errors?

19 years agoFix prev commit, BIG_ENDIAN was broken
Howard Chu [Fri, 16 Sep 2005 01:56:36 +0000 (01:56 +0000)]
Fix prev commit, BIG_ENDIAN was broken

19 years agoMore hdb tweaks, add radix sort code from mbackes@symas.com
Howard Chu [Fri, 16 Sep 2005 01:25:40 +0000 (01:25 +0000)]
More hdb tweaks, add radix sort code from mbackes@symas.com

19 years agoFix SWAP macro
Howard Chu [Thu, 15 Sep 2005 13:54:26 +0000 (13:54 +0000)]
Fix SWAP macro

19 years agoMore optimizing - try harder to avoid sorting
Howard Chu [Thu, 15 Sep 2005 08:29:58 +0000 (08:29 +0000)]
More optimizing - try harder to avoid sorting

19 years agoFix ISTACK space
Howard Chu [Thu, 15 Sep 2005 03:59:11 +0000 (03:59 +0000)]
Fix ISTACK space

19 years agoYet another idl_merge fix (test032 failure)
Howard Chu [Thu, 15 Sep 2005 03:49:52 +0000 (03:49 +0000)]
Yet another idl_merge fix (test032 failure)

19 years agoFix prev commit, use BDB_IDL_LAST()
Howard Chu [Thu, 15 Sep 2005 03:19:26 +0000 (03:19 +0000)]
Fix prev commit, use BDB_IDL_LAST()

19 years agoSilence return val warnings in prev commit
Howard Chu [Thu, 15 Sep 2005 02:02:27 +0000 (02:02 +0000)]
Silence return val warnings in prev commit

19 years agoITS#4029 Fix misplaced lines in prev commit
Howard Chu [Thu, 15 Sep 2005 01:22:22 +0000 (01:22 +0000)]
ITS#4029 Fix misplaced lines in prev commit

19 years agoAdd syncdata keyword, to select different sync data formats. Defaults
Howard Chu [Wed, 14 Sep 2005 15:27:20 +0000 (15:27 +0000)]
Add syncdata keyword, to select different sync data formats. Defaults
to "default", can be set to "accesslog" or "changelog". changelog is
not fully implemented yet.

19 years agoAdd a "nopresent" keyword to skip the present phase; for backends that are
Howard Chu [Wed, 14 Sep 2005 15:25:52 +0000 (15:25 +0000)]
Add a "nopresent" keyword to skip the present phase; for backends that are
only used for logging (c.f. accesslog overlay) the present phase is useless.

19 years agoAdd CSN management
Howard Chu [Wed, 14 Sep 2005 15:18:48 +0000 (15:18 +0000)]
Add CSN management

19 years agoZero out op2
Howard Chu [Wed, 14 Sep 2005 14:10:25 +0000 (14:10 +0000)]
Zero out op2

19 years agoAdd flag for only logging successful operations
Howard Chu [Wed, 14 Sep 2005 09:11:03 +0000 (09:11 +0000)]
Add flag for only logging successful operations

19 years agoChange slap_ad_undef_remove() to slap_ad_undef_promote().
Howard Chu [Wed, 14 Sep 2005 06:17:59 +0000 (06:17 +0000)]
Change slap_ad_undef_remove() to slap_ad_undef_promote().
AttributeDescriptions must never be freed in a running slapd.

19 years agoTweak the description of continuation lines in LDIF
Howard Chu [Wed, 14 Sep 2005 01:13:18 +0000 (01:13 +0000)]
Tweak the description of continuation lines in LDIF

19 years agoFix whitespace, remove mention of backslashes.
Howard Chu [Wed, 14 Sep 2005 00:55:46 +0000 (00:55 +0000)]
Fix whitespace, remove mention of backslashes.

19 years agoMore back-hdb search optimization
Howard Chu [Tue, 13 Sep 2005 07:55:01 +0000 (07:55 +0000)]
More back-hdb search optimization

19 years agoSimplify array operations
Howard Chu [Tue, 13 Sep 2005 07:51:51 +0000 (07:51 +0000)]
Simplify array operations

19 years agoAdd missing comma between Debug() args
Hallvard Furuseth [Tue, 13 Sep 2005 03:35:53 +0000 (03:35 +0000)]
Add missing comma between Debug() args

19 years agoFormat fixes. #include <ac/ctype.h>. Cast isspace() arg to unsigned char.
Hallvard Furuseth [Tue, 13 Sep 2005 03:32:19 +0000 (03:32 +0000)]
Format fixes.  #include <ac/ctype.h>.  Cast isspace() arg to unsigned char.

19 years agoFix prev commit
Howard Chu [Mon, 12 Sep 2005 05:52:55 +0000 (05:52 +0000)]
Fix prev commit

19 years agoTweak stack size in prev commit
Howard Chu [Mon, 12 Sep 2005 03:56:21 +0000 (03:56 +0000)]
Tweak stack size in prev commit

19 years agoUse quicksort instead of heapsort for hdb_idl_sort
Howard Chu [Mon, 12 Sep 2005 03:54:52 +0000 (03:54 +0000)]
Use quicksort instead of heapsort for hdb_idl_sort

19 years agocleanup
Pierangelo Masarati [Sat, 10 Sep 2005 19:20:14 +0000 (19:20 +0000)]
cleanup

19 years agosilence warnings
Pierangelo Masarati [Sat, 10 Sep 2005 18:59:35 +0000 (18:59 +0000)]
silence warnings

19 years agoput logging under Debug(); silence warnings; s/warnings/errors/ #ifdef'd
Pierangelo Masarati [Sat, 10 Sep 2005 18:42:33 +0000 (18:42 +0000)]
put logging under Debug(); silence warnings; s/warnings/errors/ #ifdef'd

19 years agoimproved authz_backend detection for internal databases (ITS#4018)
Pierangelo Masarati [Sat, 10 Sep 2005 09:56:29 +0000 (09:56 +0000)]
improved authz_backend detection for internal databases (ITS#4018)

19 years agoFix syntax of modrdn/ bad newsuperior test
Howard Chu [Sat, 10 Sep 2005 01:52:27 +0000 (01:52 +0000)]
Fix syntax of modrdn/ bad newsuperior test

19 years agoTweak newsuperior error codes
Howard Chu [Sat, 10 Sep 2005 01:51:34 +0000 (01:51 +0000)]
Tweak newsuperior error codes

19 years agoITS#2757 remove isroot checks, simplify
Howard Chu [Sat, 10 Sep 2005 01:49:46 +0000 (01:49 +0000)]
ITS#2757 remove isroot checks, simplify

19 years agoITS#2757 remove be_isroot checks, simplify...
Howard Chu [Sat, 10 Sep 2005 01:16:55 +0000 (01:16 +0000)]
ITS#2757 remove be_isroot checks, simplify...

19 years agoITS#3979 restore 2.1,2.2 search order
Howard Chu [Fri, 9 Sep 2005 12:17:33 +0000 (12:17 +0000)]
ITS#3979 restore 2.1,2.2 search order

19 years agoITS#3979 restore 2.1,2.2 search order
Howard Chu [Fri, 9 Sep 2005 11:43:44 +0000 (11:43 +0000)]
ITS#3979 restore 2.1,2.2 search order

19 years agoITS#3979 restore old (RE21, RE22) search order
Howard Chu [Fri, 9 Sep 2005 11:43:13 +0000 (11:43 +0000)]
ITS#3979 restore old (RE21, RE22) search order

19 years agoITS#3979 only support tool entry points if root DB has them
Howard Chu [Fri, 9 Sep 2005 11:37:00 +0000 (11:37 +0000)]
ITS#3979 only support tool entry points if root DB has them

19 years agoITS#3979 better check for duplicate bi_open functions
Howard Chu [Fri, 9 Sep 2005 07:40:54 +0000 (07:40 +0000)]
ITS#3979 better check for duplicate bi_open functions

19 years agoITS#3981 ch_realloc( addr, 0 ) frees addr, return NULL
Howard Chu [Fri, 9 Sep 2005 07:06:58 +0000 (07:06 +0000)]
ITS#3981 ch_realloc( addr, 0 ) frees addr, return NULL

19 years agoITS#3989 more fixes
Howard Chu [Fri, 9 Sep 2005 04:53:56 +0000 (04:53 +0000)]
ITS#3989 more fixes

19 years agorelease resources (ITS#4016)
Pierangelo Masarati [Fri, 9 Sep 2005 02:37:38 +0000 (02:37 +0000)]
release resources (ITS#4016)

19 years agoSilence valgrind warnings
Howard Chu [Fri, 9 Sep 2005 01:44:42 +0000 (01:44 +0000)]
Silence valgrind warnings

19 years agoITS#4015 silence pointer/integer size warnings
Howard Chu [Thu, 8 Sep 2005 23:47:19 +0000 (23:47 +0000)]
ITS#4015 silence pointer/integer size warnings

19 years agocast pointer to long instead of int to hopefully avoid
Kurt Zeilenga [Thu, 8 Sep 2005 21:38:20 +0000 (21:38 +0000)]
cast pointer to long instead of int to hopefully avoid
truncation.  Change does at least silence warning.

19 years agoplug one-time leaks
Pierangelo Masarati [Thu, 8 Sep 2005 20:46:48 +0000 (20:46 +0000)]
plug one-time leaks

19 years agofix format and signedness issues
Pierangelo Masarati [Thu, 8 Sep 2005 20:18:43 +0000 (20:18 +0000)]
fix format and signedness issues

19 years agoITS#4010 fixes complaint, larger problem remains
Howard Chu [Thu, 8 Sep 2005 15:28:36 +0000 (15:28 +0000)]
ITS#4010 fixes complaint, larger problem remains

19 years agodon't bother about the port if none is given (ITS#4012)
Pierangelo Masarati [Thu, 8 Sep 2005 15:13:01 +0000 (15:13 +0000)]
don't bother about the port if none is given (ITS#4012)

19 years agofix messages in previous commit
Pierangelo Masarati [Thu, 8 Sep 2005 14:32:09 +0000 (14:32 +0000)]
fix messages in previous commit

19 years agoreject registrations when back-monitor is not configured
Pierangelo Masarati [Thu, 8 Sep 2005 14:23:35 +0000 (14:23 +0000)]
reject registrations when back-monitor is not configured

19 years agoCheck errcode from dn2entry before using ei
Howard Chu [Thu, 8 Sep 2005 11:14:12 +0000 (11:14 +0000)]
Check errcode from dn2entry before using ei

19 years agoITS#3989 fix crash - don't access freed psearch records
Howard Chu [Thu, 8 Sep 2005 02:19:05 +0000 (02:19 +0000)]
ITS#3989 fix crash - don't access freed psearch records

19 years agoMisc Windows linking fixes
Howard Chu [Wed, 7 Sep 2005 10:27:55 +0000 (10:27 +0000)]
Misc Windows linking fixes

19 years agoITS#4009 set X-ORDERED extension on olcReplica
Howard Chu [Wed, 7 Sep 2005 03:30:59 +0000 (03:30 +0000)]
ITS#4009 set X-ORDERED extension on olcReplica

19 years agoFix typos
Howard Chu [Wed, 7 Sep 2005 01:14:17 +0000 (01:14 +0000)]
Fix typos

19 years agoITS#4006 add stub for ldap_pvt_thread_pool_context_reset()
Howard Chu [Tue, 6 Sep 2005 22:11:26 +0000 (22:11 +0000)]
ITS#4006 add stub for ldap_pvt_thread_pool_context_reset()

19 years agoallow "proxied" attributeDescriptions in DN as well (more about ITS#3959)
Pierangelo Masarati [Tue, 6 Sep 2005 17:21:24 +0000 (17:21 +0000)]
allow "proxied" attributeDescriptions in DN as well (more about ITS#3959)

19 years agopretty the DN as well
Pierangelo Masarati [Tue, 6 Sep 2005 17:19:36 +0000 (17:19 +0000)]
pretty the DN as well

19 years agofix typo (ITS#4005)
Pierangelo Masarati [Tue, 6 Sep 2005 15:17:07 +0000 (15:17 +0000)]
fix typo (ITS#4005)

19 years agocleanup dynacl usage()
Pierangelo Masarati [Tue, 6 Sep 2005 14:26:53 +0000 (14:26 +0000)]
cleanup dynacl usage()

19 years agofew more fixes
Pierangelo Masarati [Tue, 6 Sep 2005 14:26:06 +0000 (14:26 +0000)]
few more fixes

19 years agodon't lookup rootdn if the password is incorrect (ITS#4004)
Pierangelo Masarati [Tue, 6 Sep 2005 12:35:37 +0000 (12:35 +0000)]
don't lookup rootdn if the password is incorrect (ITS#4004)

19 years agoITS#3807 use a different tokenizer for parsing LDIF values into words.
Howard Chu [Tue, 6 Sep 2005 09:04:26 +0000 (09:04 +0000)]
ITS#3807 use a different tokenizer for parsing LDIF values into words.

19 years agoAdd searchFilter var in searchDN session. Would have preferred to confine
Howard Chu [Tue, 6 Sep 2005 07:13:14 +0000 (07:13 +0000)]
Add searchFilter var in searchDN session. Would have preferred to confine
this to the searchDN context. Please review.

19 years agoITS#4003 frontend->be_replogfile can legitimately be set.
Howard Chu [Mon, 5 Sep 2005 02:42:24 +0000 (02:42 +0000)]
ITS#4003 frontend->be_replogfile can legitimately be set.

19 years agoreally fix commit before last
Kurt Zeilenga [Mon, 5 Sep 2005 01:47:27 +0000 (01:47 +0000)]
really fix commit before last

19 years agoMoved from back-bdb
Howard Chu [Mon, 5 Sep 2005 01:32:44 +0000 (01:32 +0000)]
Moved from back-bdb

19 years agoFix typo in last commit
Kurt Zeilenga [Mon, 5 Sep 2005 01:11:45 +0000 (01:11 +0000)]
Fix typo in last commit

19 years agoMove uidNumber and gidNumber into slapd(8)
Kurt Zeilenga [Mon, 5 Sep 2005 01:08:40 +0000 (01:08 +0000)]
Move uidNumber and gidNumber into slapd(8)
to ensure they are available for ldapi://.

19 years agoall right, don't worry about free() by now
Pierangelo Masarati [Sun, 4 Sep 2005 23:54:30 +0000 (23:54 +0000)]
all right, don't worry about free() by now

19 years agoITS#3980 fix when master doesn't explicitly reset grace/lock attrs
Howard Chu [Sun, 4 Sep 2005 23:44:04 +0000 (23:44 +0000)]
ITS#3980 fix when master doesn't explicitly reset grace/lock attrs

19 years agodisable pagedResults or reject
Pierangelo Masarati [Sun, 4 Sep 2005 20:08:35 +0000 (20:08 +0000)]
disable pagedResults or reject

19 years agosilence warning
Pierangelo Masarati [Sun, 4 Sep 2005 20:07:17 +0000 (20:07 +0000)]
silence warning

19 years agocleanup
Pierangelo Masarati [Sun, 4 Sep 2005 20:00:40 +0000 (20:00 +0000)]
cleanup

19 years agofix old erroneous commit (ITS#4001)
Pierangelo Masarati [Sun, 4 Sep 2005 19:21:39 +0000 (19:21 +0000)]
fix old erroneous commit (ITS#4001)

19 years agoAlso compile for LDBM
Howard Chu [Sun, 4 Sep 2005 16:24:16 +0000 (16:24 +0000)]
Also compile for LDBM

19 years agoITS#3980, filter out some delete modifications on replicas if target
Howard Chu [Sun, 4 Sep 2005 16:22:30 +0000 (16:22 +0000)]
ITS#3980, filter out some delete modifications on replicas if target
attrs don't exist

19 years agoITS#3978: Added alock calls; warns about inconsistency but continues
Howard Chu [Sun, 4 Sep 2005 15:48:44 +0000 (15:48 +0000)]
ITS#3978: Added alock calls; warns about inconsistency but continues
to start. Fails for concurrent access attempts, since ldbm does not
support any concurrency. (So slaptools are prevented from running when
slapd is already active.)

19 years agoFix XXHEADERS dependency
Howard Chu [Sun, 4 Sep 2005 15:23:35 +0000 (15:23 +0000)]
Fix XXHEADERS dependency

19 years agoITS#3978 move alock from back-bdb to slapd
Howard Chu [Sun, 4 Sep 2005 15:21:57 +0000 (15:21 +0000)]
ITS#3978 move alock from back-bdb to slapd

19 years agoITS#3802, #3999 skip wake_sds in epoll event loop
Howard Chu [Sun, 4 Sep 2005 15:04:09 +0000 (15:04 +0000)]
ITS#3802, #3999 skip wake_sds in epoll event loop

19 years agoFix multicast bit
Kurt Zeilenga [Sun, 4 Sep 2005 09:01:46 +0000 (09:01 +0000)]
Fix multicast bit

19 years agoSilence warnings
Hallvard Furuseth [Sat, 3 Sep 2005 17:03:36 +0000 (17:03 +0000)]
Silence warnings

19 years agoAdd missing return from rev 1.27
Howard Chu [Fri, 2 Sep 2005 21:27:49 +0000 (21:27 +0000)]
Add missing return from rev 1.27

19 years agoper LDAPext discussion, delete pwdAccountLockedTime on password change
Howard Chu [Fri, 2 Sep 2005 20:38:05 +0000 (20:38 +0000)]
per LDAPext discussion, delete pwdAccountLockedTime on password change

19 years agoBypass all add/modify checks on replicas, the master has done them already.
Howard Chu [Fri, 2 Sep 2005 20:23:32 +0000 (20:23 +0000)]
Bypass all add/modify checks on replicas, the master has done them already.

19 years agoITS#3989 fix ID used for syncprov_findbase
Howard Chu [Fri, 2 Sep 2005 10:08:44 +0000 (10:08 +0000)]
ITS#3989 fix ID used for syncprov_findbase

19 years agoMinor formatting tweaks
Howard Chu [Fri, 2 Sep 2005 06:44:33 +0000 (06:44 +0000)]
Minor formatting tweaks

19 years agoRemove #undef HAVE_EPOLL accidentally committed in rev 1.316
Howard Chu [Thu, 1 Sep 2005 23:21:46 +0000 (23:21 +0000)]
Remove #undef HAVE_EPOLL accidentally committed in rev 1.316