]> git.sur5r.net Git - openldap/log
openldap
19 years agoAdd callbacks for client TLS connection establishment:
Howard Chu [Tue, 23 Nov 2004 03:48:09 +0000 (03:48 +0000)]
Add callbacks for client TLS connection establishment:
LDAP_OPT_X_TLS_CONNECT_CB and LDAP_OPT_X_TLS_CONNECT_ARG
with int (LDAP_TLS_CONNECT_CB) (LDAP *ld, SSL *ssl, SSL_CTX *ctx, void *arg)
To be called whenever the client library allocates a new SSL* handle.

19 years agoTweak findcsn conditions for validating cookie csn
Howard Chu [Mon, 22 Nov 2004 03:56:27 +0000 (03:56 +0000)]
Tweak findcsn conditions for validating cookie csn

19 years agoPasses test017
Howard Chu [Mon, 22 Nov 2004 03:24:59 +0000 (03:24 +0000)]
Passes test017

19 years agoDon't BN_init allocated BIGNUMs, they're already initialized
Howard Chu [Mon, 22 Nov 2004 02:18:02 +0000 (02:18 +0000)]
Don't BN_init allocated BIGNUMs, they're already initialized

19 years agoFix modtail initialization in loop
Howard Chu [Mon, 22 Nov 2004 02:11:15 +0000 (02:11 +0000)]
Fix modtail initialization in loop

19 years agoMore refresh working...
Howard Chu [Sun, 21 Nov 2004 18:25:02 +0000 (18:25 +0000)]
More refresh working...

19 years agoGetting refresh working
Howard Chu [Sun, 21 Nov 2004 17:59:21 +0000 (17:59 +0000)]
Getting refresh working

19 years agoBDB 4.3 compatibility - errcall prototype
Howard Chu [Sun, 21 Nov 2004 16:50:24 +0000 (16:50 +0000)]
BDB 4.3 compatibility - errcall prototype

19 years agoDon't bother including <sys/epoll.h> if we're not using epoll.
Howard Chu [Sun, 21 Nov 2004 02:18:26 +0000 (02:18 +0000)]
Don't bother including <sys/epoll.h> if we're not using epoll.

19 years agoBetter test for epoll, make sure the syscall actually works
Howard Chu [Sat, 20 Nov 2004 14:20:29 +0000 (14:20 +0000)]
Better test for epoll, make sure the syscall actually works

19 years agoSilence warning about cross-compile default
Howard Chu [Sat, 20 Nov 2004 14:18:44 +0000 (14:18 +0000)]
Silence warning about cross-compile default

19 years agoallow a "users" type in ACI
Pierangelo Masarati [Sat, 20 Nov 2004 14:07:07 +0000 (14:07 +0000)]
allow a "users" type in ACI

19 years agomore cleanup and ITS number
Pierangelo Masarati [Sat, 20 Nov 2004 12:12:57 +0000 (12:12 +0000)]
more cleanup and ITS number

19 years agocleanup fix to ITS#3303
Pierangelo Masarati [Sat, 20 Nov 2004 12:07:39 +0000 (12:07 +0000)]
cleanup fix to ITS#3303

19 years agofix ITS#3303
Pierangelo Masarati [Sat, 20 Nov 2004 11:55:46 +0000 (11:55 +0000)]
fix ITS#3303

19 years agoadd more semantics to the "type" field; fix a bug in anonymous operations; treat...
Pierangelo Masarati [Sat, 20 Nov 2004 11:45:05 +0000 (11:45 +0000)]
add more semantics to the "type" field; fix a bug in anonymous operations; treat children aci_mask() as internal searches

19 years agomove ACIs under a dynamic infrastructure that allows run-time loadable custom access...
Pierangelo Masarati [Sat, 20 Nov 2004 01:27:03 +0000 (01:27 +0000)]
move ACIs under a dynamic infrastructure that allows run-time loadable custom access control logic (needs work)

19 years agoUse avl_find2, not avl_find
Howard Chu [Sat, 20 Nov 2004 00:55:58 +0000 (00:55 +0000)]
Use avl_find2, not avl_find

19 years agoCleanup, delete test define
Howard Chu [Fri, 19 Nov 2004 23:45:31 +0000 (23:45 +0000)]
Cleanup, delete test define

19 years agoAdd avl_find2 returning the Avlnode, allowing its data to be reset directly
Howard Chu [Fri, 19 Nov 2004 23:33:46 +0000 (23:33 +0000)]
Add avl_find2 returning the Avlnode, allowing its data to be reset directly
instead of recycling thru avl_find/avl_delete/avl_insert

19 years agoUse exop_is_write() macro
Howard Chu [Fri, 19 Nov 2004 23:27:02 +0000 (23:27 +0000)]
Use exop_is_write() macro

19 years agoOverlay for serializing modifications of a specific entry without
Howard Chu [Fri, 19 Nov 2004 23:22:49 +0000 (23:22 +0000)]
Overlay for serializing modifications of a specific entry without
using backend-specific locks

19 years agoAdd SLAP_EXOP_WRITES flag, expose flags in Operation,
Howard Chu [Fri, 19 Nov 2004 22:19:13 +0000 (22:19 +0000)]
Add SLAP_EXOP_WRITES flag, expose flags in Operation,
add exop_is_write() macro for detecting exops that modify a target entry

19 years agoFix waking test
Howard Chu [Fri, 19 Nov 2004 00:13:00 +0000 (00:13 +0000)]
Fix waking test

19 years agoFix prev commit
Howard Chu [Thu, 18 Nov 2004 23:08:57 +0000 (23:08 +0000)]
Fix prev commit

19 years agoCheck for sys/epoll.h
Howard Chu [Thu, 18 Nov 2004 22:07:37 +0000 (22:07 +0000)]
Check for sys/epoll.h

19 years agoAdd check for epoll(), sys/epoll.h
Howard Chu [Thu, 18 Nov 2004 22:06:15 +0000 (22:06 +0000)]
Add check for epoll(), sys/epoll.h

19 years agoshutdown on failure in epoll_ctl when adding a socket...
Howard Chu [Thu, 18 Nov 2004 19:29:24 +0000 (19:29 +0000)]
shutdown on failure in epoll_ctl when adding a socket...

19 years agoFix prev commit, didn't mean to have HAVE_EPOLL hardcoded
Howard Chu [Thu, 18 Nov 2004 19:15:21 +0000 (19:15 +0000)]
Fix prev commit, didn't mean to have HAVE_EPOLL hardcoded

19 years agoepoll support works
Howard Chu [Thu, 18 Nov 2004 19:06:14 +0000 (19:06 +0000)]
epoll support works

19 years agoFix epoll compilation
Howard Chu [Thu, 18 Nov 2004 17:27:43 +0000 (17:27 +0000)]
Fix epoll compilation

19 years agoFirst pass at macro-izing event handling method. Still only supports
Howard Chu [Thu, 18 Nov 2004 16:41:04 +0000 (16:41 +0000)]
First pass at macro-izing event handling method. Still only supports
select(). If you think this is too ugly, feel free to revert...

19 years agoAllow a small number of waking events to be outstanding, not just 1
Howard Chu [Thu, 18 Nov 2004 15:40:49 +0000 (15:40 +0000)]
Allow a small number of waking events to be outstanding, not just 1
(chose 5 arbitrarily)

19 years agoCount writers, don't pass w fd_set if there are none
Howard Chu [Thu, 18 Nov 2004 00:19:52 +0000 (00:19 +0000)]
Count writers, don't pass w fd_set if there are none
Deleted broken/unused FD_MANUAL_COPY code

19 years agothe caching database may need to inherit ACLs and limits from the proxy
Pierangelo Masarati [Wed, 17 Nov 2004 21:38:14 +0000 (21:38 +0000)]
the caching database may need to inherit ACLs and limits from the proxy

19 years agoFix include path for backend.h when using separate object directory
Howard Chu [Wed, 17 Nov 2004 20:22:46 +0000 (20:22 +0000)]
Fix include path for backend.h when using separate object directory

19 years agoAvoid trashing client memory when socket is greater than FD_SETSIZE
Howard Chu [Wed, 17 Nov 2004 20:04:18 +0000 (20:04 +0000)]
Avoid trashing client memory when socket is greater than FD_SETSIZE

19 years agoFIXME: needs work/cleanup
Pierangelo Masarati [Wed, 17 Nov 2004 19:42:19 +0000 (19:42 +0000)]
FIXME: needs work/cleanup

19 years agoimprove diagnostics
Pierangelo Masarati [Wed, 17 Nov 2004 17:55:44 +0000 (17:55 +0000)]
improve diagnostics

19 years agorevert last commit
Pierangelo Masarati [Wed, 17 Nov 2004 15:56:25 +0000 (15:56 +0000)]
revert last commit

19 years agoFix BDB 4.3 fasttool, flag must be set before opening environment
Howard Chu [Wed, 17 Nov 2004 15:12:31 +0000 (15:12 +0000)]
Fix BDB 4.3 fasttool, flag must be set before opening environment

19 years agocleanup previous commit
Pierangelo Masarati [Wed, 17 Nov 2004 15:05:59 +0000 (15:05 +0000)]
cleanup previous commit

19 years agolog the right function names
Pierangelo Masarati [Wed, 17 Nov 2004 14:53:03 +0000 (14:53 +0000)]
log the right function names

19 years agotest "entry" as default attribute
Pierangelo Masarati [Wed, 17 Nov 2004 13:43:04 +0000 (13:43 +0000)]
test "entry" as default attribute

19 years agoSet OPENLDAP_FD_SETSIZE to 4096 (if not defined)
Kurt Zeilenga [Wed, 17 Nov 2004 04:07:14 +0000 (04:07 +0000)]
Set OPENLDAP_FD_SETSIZE to 4096 (if not defined)

19 years agorebuild
Kurt Zeilenga [Wed, 17 Nov 2004 04:04:08 +0000 (04:04 +0000)]
rebuild

19 years agocleanup and line up with code
Pierangelo Masarati [Tue, 16 Nov 2004 22:14:21 +0000 (22:14 +0000)]
cleanup and line up with code

19 years agoAvoid filling the wake_sds when massive numbers of connections close at once.
Howard Chu [Tue, 16 Nov 2004 20:26:50 +0000 (20:26 +0000)]
Avoid filling the wake_sds when massive numbers of connections close at once.

19 years agomore on ITS#3396: note that the filter is mandatory, and that the protocol must be...
Pierangelo Masarati [Tue, 16 Nov 2004 18:57:40 +0000 (18:57 +0000)]
more on ITS#3396: note that the filter is mandatory, and that the protocol must be ldap://

19 years agofix ITS#3396 (filter in URI replacement must be present)
Pierangelo Masarati [Tue, 16 Nov 2004 18:43:48 +0000 (18:43 +0000)]
fix ITS#3396 (filter in URI replacement must be present)

19 years agopartially revert previous commit (the "creator" special DN pattern is redundant as...
Pierangelo Masarati [Mon, 15 Nov 2004 22:57:03 +0000 (22:57 +0000)]
partially revert previous commit (the "creator" special DN pattern is redundant as "dnattr" is more expressive

19 years agoback out previous commit
Pierangelo Masarati [Mon, 15 Nov 2004 22:54:17 +0000 (22:54 +0000)]
back out previous commit

19 years agomove special dn patterns to style enum; add creator special dn pattern
Pierangelo Masarati [Mon, 15 Nov 2004 22:21:50 +0000 (22:21 +0000)]
move special dn patterns to style enum; add creator special dn pattern

19 years agomove special dn patterns to style enum; add creator special dn pattern
Pierangelo Masarati [Mon, 15 Nov 2004 22:15:28 +0000 (22:15 +0000)]
move special dn patterns to style enum; add creator special dn pattern

19 years agominor cleanup
Pierangelo Masarati [Mon, 15 Nov 2004 22:10:10 +0000 (22:10 +0000)]
minor cleanup

19 years agoremove back-*/external.h
Pierangelo Masarati [Mon, 15 Nov 2004 19:45:49 +0000 (19:45 +0000)]
remove back-*/external.h

19 years agoadd directory in labeledURI for back-bdb/hdb; put overlays in database entry's children
Pierangelo Masarati [Mon, 15 Nov 2004 15:46:56 +0000 (15:46 +0000)]
add directory in labeledURI for back-bdb/hdb; put overlays in database entry's children

19 years agocleanup
Pierangelo Masarati [Mon, 15 Nov 2004 14:17:08 +0000 (14:17 +0000)]
cleanup

19 years agodon't list multiple occurrences of the same overlay
Pierangelo Masarati [Mon, 15 Nov 2004 14:13:54 +0000 (14:13 +0000)]
don't list multiple occurrences of the same overlay

19 years agoallow backends to automatically install overlays; issue warnings in case of duplicate...
Pierangelo Masarati [Mon, 15 Nov 2004 10:28:33 +0000 (10:28 +0000)]
allow backends to automatically install overlays; issue warnings in case of duplicates (fixes ITS#3395 for cases (1.a), (1.b) and (2) simultaneously)

19 years agoFix prev commit. I wonder if we should convert the fdset bitvector into
Howard Chu [Mon, 15 Nov 2004 04:05:32 +0000 (04:05 +0000)]
Fix prev commit. I wonder if we should convert the fdset bitvector into
an array like winsock does. That would speed up response time for small
number of connections with large FD_SETSIZE, but probably equalize out
as the number of active connections goes up. ??

19 years agoSlight tweak for select descriptor checking
Howard Chu [Sun, 14 Nov 2004 21:27:53 +0000 (21:27 +0000)]
Slight tweak for select descriptor checking

19 years agoComponentFilterMatch support for userCertificate
Sang Seok Lim [Sun, 14 Nov 2004 20:11:38 +0000 (20:11 +0000)]
ComponentFilterMatch support for userCertificate

19 years agofirst step towards removing back-*/external.h
Pierangelo Masarati [Sat, 13 Nov 2004 18:52:44 +0000 (18:52 +0000)]
first step towards removing back-*/external.h

19 years agofix ITS#3391
Pierangelo Masarati [Sat, 13 Nov 2004 18:40:16 +0000 (18:40 +0000)]
fix ITS#3391

19 years agoinherit from back-ldap
Pierangelo Masarati [Sat, 13 Nov 2004 18:36:02 +0000 (18:36 +0000)]
inherit from back-ldap

19 years agomore cleanup
Pierangelo Masarati [Sat, 13 Nov 2004 18:23:54 +0000 (18:23 +0000)]
more cleanup

19 years agocleanup
Pierangelo Masarati [Sat, 13 Nov 2004 17:59:21 +0000 (17:59 +0000)]
cleanup

19 years agocleanup
Pierangelo Masarati [Sat, 13 Nov 2004 17:51:18 +0000 (17:51 +0000)]
cleanup

19 years agosanity check
Pierangelo Masarati [Sat, 13 Nov 2004 17:27:15 +0000 (17:27 +0000)]
sanity check

19 years agoimprove overlay helpers
Pierangelo Masarati [Sat, 13 Nov 2004 17:20:24 +0000 (17:20 +0000)]
improve overlay helpers

19 years agocleanup
Pierangelo Masarati [Sat, 13 Nov 2004 16:16:01 +0000 (16:16 +0000)]
cleanup

19 years agofurther cleanup
Pierangelo Masarati [Sat, 13 Nov 2004 15:10:47 +0000 (15:10 +0000)]
further cleanup

19 years agoline up tests with back-ldap and rwm
Pierangelo Masarati [Sat, 13 Nov 2004 15:04:01 +0000 (15:04 +0000)]
line up tests with back-ldap and rwm

19 years agofurther cleanup
Pierangelo Masarati [Sat, 13 Nov 2004 14:57:39 +0000 (14:57 +0000)]
further cleanup

19 years agono longer required (moved to rwm overlay)
Pierangelo Masarati [Sat, 13 Nov 2004 14:50:34 +0000 (14:50 +0000)]
no longer required (moved to rwm overlay)

19 years agoimport stuff removed from back-ldap
Pierangelo Masarati [Sat, 13 Nov 2004 14:45:18 +0000 (14:45 +0000)]
import stuff removed from back-ldap

19 years agoremove rewrite stuff -- now delegted to rwm overlay
Pierangelo Masarati [Sat, 13 Nov 2004 14:43:30 +0000 (14:43 +0000)]
remove rewrite stuff -- now delegted to rwm overlay

19 years agofasttool: BDB 4.3 uses DB_LOG_INMEMORY instead of DB_TXN_NOT_DURABLE
Howard Chu [Sat, 13 Nov 2004 13:23:33 +0000 (13:23 +0000)]
fasttool: BDB 4.3 uses DB_LOG_INMEMORY instead of DB_TXN_NOT_DURABLE

19 years agoUpdate BDB 4.3 errcall prototype again to silence warnings
Howard Chu [Sat, 13 Nov 2004 13:22:48 +0000 (13:22 +0000)]
Update BDB 4.3 errcall prototype again to silence warnings

19 years agoadd test for proxy massaging, in view of using rwm for back-ldap massaging
Pierangelo Masarati [Sat, 13 Nov 2004 12:23:01 +0000 (12:23 +0000)]
add test for proxy massaging, in view of using rwm for back-ldap massaging

19 years agodisable referral rewrite in default suffix massage
Pierangelo Masarati [Sat, 13 Nov 2004 12:15:40 +0000 (12:15 +0000)]
disable referral rewrite in default suffix massage

19 years agoBDB 4.3 detection, new static backend handler
Howard Chu [Sat, 13 Nov 2004 09:25:46 +0000 (09:25 +0000)]
BDB 4.3 detection, new static backend handler

19 years agomore on monitor customization
Pierangelo Masarati [Fri, 12 Nov 2004 12:54:42 +0000 (12:54 +0000)]
more on monitor customization

19 years agocleanup
Pierangelo Masarati [Fri, 12 Nov 2004 12:53:19 +0000 (12:53 +0000)]
cleanup

19 years agoinitialize var
Pierangelo Masarati [Fri, 12 Nov 2004 12:52:42 +0000 (12:52 +0000)]
initialize var

19 years agocheck validity of naming context
Pierangelo Masarati [Fri, 12 Nov 2004 12:51:53 +0000 (12:51 +0000)]
check validity of naming context

19 years agofix spurius noSuchObject when base=suffix
Pierangelo Masarati [Fri, 12 Nov 2004 12:51:16 +0000 (12:51 +0000)]
fix spurius noSuchObject when base=suffix

19 years agodon't hijack members of op for temporaries...
Pierangelo Masarati [Fri, 12 Nov 2004 12:49:43 +0000 (12:49 +0000)]
don't hijack members of op for temporaries...

19 years agocleanup
Pierangelo Masarati [Fri, 12 Nov 2004 12:46:30 +0000 (12:46 +0000)]
cleanup

19 years agosilence warnings
Pierangelo Masarati [Fri, 12 Nov 2004 12:45:40 +0000 (12:45 +0000)]
silence warnings

19 years ago<CONTROL> deserves a separate section
Pierangelo Masarati [Fri, 12 Nov 2004 12:45:10 +0000 (12:45 +0000)]
<CONTROL> deserves a separate section

19 years agomake sure we're comparing the same database
Pierangelo Masarati [Thu, 11 Nov 2004 13:12:34 +0000 (13:12 +0000)]
make sure we're comparing the same database

19 years agoremove backed-out code from previous commit
Pierangelo Masarati [Thu, 11 Nov 2004 09:43:15 +0000 (09:43 +0000)]
remove backed-out code from previous commit

19 years agocleanup
Pierangelo Masarati [Thu, 11 Nov 2004 08:03:31 +0000 (08:03 +0000)]
cleanup

19 years agorework static backend initialization
Pierangelo Masarati [Thu, 11 Nov 2004 00:39:19 +0000 (00:39 +0000)]
rework static backend initialization

19 years agorework static backend initialization
Pierangelo Masarati [Thu, 11 Nov 2004 00:38:11 +0000 (00:38 +0000)]
rework static backend initialization

19 years agofix return code; fix test (please review)
Pierangelo Masarati [Thu, 11 Nov 2004 00:32:47 +0000 (00:32 +0000)]
fix return code; fix test (please review)

19 years agofix slap_sl_free() calls in pre / post read controls
Jong Hyuk Choi [Wed, 10 Nov 2004 21:38:41 +0000 (21:38 +0000)]
fix slap_sl_free() calls in pre / post read controls

19 years agoFix bind_anon keyword
Howard Chu [Wed, 10 Nov 2004 18:20:49 +0000 (18:20 +0000)]
Fix bind_anon keyword