]> git.sur5r.net Git - openldap/log
openldap
20 years agoNow that we have a fixed number of slots for controls, don't bother
Howard Chu [Tue, 23 Nov 2004 14:42:04 +0000 (14:42 +0000)]
Now that we have a fixed number of slots for controls, don't bother
realloc'ing slap_known_controls.

20 years agoAdd comment for spare bits in ctrlflags
Howard Chu [Tue, 23 Nov 2004 14:12:13 +0000 (14:12 +0000)]
Add comment for spare bits in ctrlflags

20 years agoDynamic control management
Howard Chu [Tue, 23 Nov 2004 13:08:45 +0000 (13:08 +0000)]
Dynamic control management

20 years agoInitialize TLS connection callback
Howard Chu [Tue, 23 Nov 2004 05:09:10 +0000 (05:09 +0000)]
Initialize TLS connection callback

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

20 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

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

20 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

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

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

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

20 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

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

20 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

20 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

20 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

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

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

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

20 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

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

20 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

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

20 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

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

20 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

20 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

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

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

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

20 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

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

20 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

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

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

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

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

20 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

20 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

20 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

20 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

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

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

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

20 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

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

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

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

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

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

20 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

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

20 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://

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

20 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

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

20 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

20 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

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

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

20 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

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

20 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

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

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

20 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

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

20 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

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

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

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

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

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

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

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

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

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

20 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

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

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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

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

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

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

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

20 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

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

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

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

20 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

20 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

20 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

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

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