]> git.sur5r.net Git - openldap/log
openldap
20 years agoCleanup... never replicate syncConsumersubentries. Plug memleaks.
Howard Chu [Mon, 29 Nov 2004 06:51:44 +0000 (06:51 +0000)]
Cleanup... never replicate syncConsumersubentries. Plug memleaks.

20 years agoRemove syncinfo si_UUID_dn, make consumer use modify/modrdn instead of
Howard Chu [Mon, 29 Nov 2004 05:56:51 +0000 (05:56 +0000)]
Remove syncinfo si_UUID_dn, make consumer use modify/modrdn instead of
just deleting and adding modified entries.

20 years agoPartially revert previous commit. Fix startup csn generation.
Howard Chu [Mon, 29 Nov 2004 05:54:55 +0000 (05:54 +0000)]
Partially revert previous commit. Fix startup csn generation.
Fix findbase initialization.

20 years agoIn build_new_dn, rdn may be part of a larger string, use strncopy.
Howard Chu [Mon, 29 Nov 2004 04:03:56 +0000 (04:03 +0000)]
In build_new_dn, rdn may be part of a larger string, use strncopy.

20 years agofix typo
Pierangelo Masarati [Mon, 29 Nov 2004 00:53:43 +0000 (00:53 +0000)]
fix typo

20 years agofirst round at enabling back-sql as LDAPsync provider
Pierangelo Masarati [Mon, 29 Nov 2004 00:50:55 +0000 (00:50 +0000)]
first round at enabling back-sql as LDAPsync provider

20 years agogenerate contextCSN if not available; don't fail if a referral is sent (or don't...
Pierangelo Masarati [Mon, 29 Nov 2004 00:48:26 +0000 (00:48 +0000)]
generate contextCSN if not available; don't fail if a referral is sent (or don't accept referrals?)

20 years agocleanup
Kurt Zeilenga [Sun, 28 Nov 2004 22:17:52 +0000 (22:17 +0000)]
cleanup

20 years agofix o_hdr use
Pierangelo Masarati [Sun, 28 Nov 2004 16:25:20 +0000 (16:25 +0000)]
fix o_hdr use

20 years agoRebuild
Kurt Zeilenga [Sat, 27 Nov 2004 22:09:18 +0000 (22:09 +0000)]
Rebuild

20 years agoUse rdwr lock for si_mods to avoid deadlock
Howard Chu [Sat, 27 Nov 2004 20:34:12 +0000 (20:34 +0000)]
Use rdwr lock for si_mods to avoid deadlock

20 years agoFix syncprov_db_close, only cleanup thrctx once
Howard Chu [Sat, 27 Nov 2004 16:05:49 +0000 (16:05 +0000)]
Fix syncprov_db_close, only cleanup thrctx once

20 years agomake unregistered known controls show up as undefined; move LDAPsync cid to frontend...
Pierangelo Masarati [Sat, 27 Nov 2004 15:08:24 +0000 (15:08 +0000)]
make unregistered known controls show up as undefined; move LDAPsync cid to frontend; some cleanup

20 years agoLet the backend know there's a sync search
Howard Chu [Sat, 27 Nov 2004 14:54:49 +0000 (14:54 +0000)]
Let the backend know there's a sync search

20 years agoAdd checkpointing to save contextCSN periodically. Read contextCSN
Howard Chu [Sat, 27 Nov 2004 14:52:28 +0000 (14:52 +0000)]
Add checkpointing to save contextCSN periodically. Read contextCSN
on startup, save on shutdown.

20 years agoLet the overlay run before the backend in bi_db_close
Howard Chu [Sat, 27 Nov 2004 14:43:07 +0000 (14:43 +0000)]
Let the overlay run before the backend in bi_db_close

20 years agoFix prev commit
Howard Chu [Sat, 27 Nov 2004 11:50:54 +0000 (11:50 +0000)]
Fix prev commit

20 years agoAdd SLAP_DBFLAG_OVERLAY
Howard Chu [Sat, 27 Nov 2004 11:45:54 +0000 (11:45 +0000)]
Add SLAP_DBFLAG_OVERLAY

20 years agoAdd slap_find_control_id
Howard Chu [Sat, 27 Nov 2004 11:45:07 +0000 (11:45 +0000)]
Add slap_find_control_id

20 years agoCleanup controls
Howard Chu [Sat, 27 Nov 2004 10:49:47 +0000 (10:49 +0000)]
Cleanup controls

20 years agowait until syncprov freezes
Pierangelo Masarati [Sat, 27 Nov 2004 10:16:15 +0000 (10:16 +0000)]
wait until syncprov freezes

20 years agoFix modify serialization
Howard Chu [Sat, 27 Nov 2004 08:55:04 +0000 (08:55 +0000)]
Fix modify serialization

20 years agoFix overlay aux_operational, add contextCSN as operational attribute
Howard Chu [Sat, 27 Nov 2004 08:30:44 +0000 (08:30 +0000)]
Fix overlay aux_operational, add contextCSN as operational attribute
of suffix entry

20 years agoForce a refresh if the search base has changed
Howard Chu [Sat, 27 Nov 2004 07:47:24 +0000 (07:47 +0000)]
Force a refresh if the search base has changed

20 years agoCleanup
Howard Chu [Sat, 27 Nov 2004 07:29:10 +0000 (07:29 +0000)]
Cleanup

20 years agoSerialize multiple modifies of the same entry (ala seqmod.c)
Howard Chu [Sat, 27 Nov 2004 07:05:24 +0000 (07:05 +0000)]
Serialize multiple modifies of the same entry (ala seqmod.c)

20 years agoFix op_cleanup
Howard Chu [Sat, 27 Nov 2004 07:04:52 +0000 (07:04 +0000)]
Fix op_cleanup

20 years agoFix abandon sequencing
Howard Chu [Sat, 27 Nov 2004 06:17:24 +0000 (06:17 +0000)]
Fix abandon sequencing

20 years agoAdded abandon/cancel support
Howard Chu [Sat, 27 Nov 2004 01:26:12 +0000 (01:26 +0000)]
Added abandon/cancel support

20 years agoMore migration of syncrepl from frontend to syncprov overlay
Howard Chu [Sat, 27 Nov 2004 00:57:37 +0000 (00:57 +0000)]
More migration of syncrepl from frontend to syncprov overlay
define OPERATION_BUFFER_SIZE for dummy Operations

20 years agoSelf-contained detached operation
Howard Chu [Fri, 26 Nov 2004 23:10:48 +0000 (23:10 +0000)]
Self-contained detached operation

20 years agoAdded response queuing for updates occurring during a refresh
Howard Chu [Fri, 26 Nov 2004 21:24:40 +0000 (21:24 +0000)]
Added response queuing for updates occurring during a refresh

20 years agoFix prev commit
Howard Chu [Fri, 26 Nov 2004 17:32:36 +0000 (17:32 +0000)]
Fix prev commit

20 years agoMore Opheader fixes
Howard Chu [Fri, 26 Nov 2004 10:10:29 +0000 (10:10 +0000)]
More Opheader fixes

20 years agoMore syncprov fixes. test019 now passes.
Howard Chu [Fri, 26 Nov 2004 09:40:22 +0000 (09:40 +0000)]
More syncprov fixes. test019 now passes.

20 years agoMore BDB_PSEARCH cleanup
Howard Chu [Fri, 26 Nov 2004 09:39:33 +0000 (09:39 +0000)]
More BDB_PSEARCH cleanup

20 years agoMore Operation/Opheader fixes
Howard Chu [Fri, 26 Nov 2004 09:39:14 +0000 (09:39 +0000)]
More Operation/Opheader fixes

20 years agofix dynacl compile
Pierangelo Masarati [Fri, 26 Nov 2004 00:34:48 +0000 (00:34 +0000)]
fix dynacl compile

20 years agoSplit Operation into Opheader and op
Howard Chu [Thu, 25 Nov 2004 22:59:00 +0000 (22:59 +0000)]
Split Operation into Opheader and op

20 years agoUse syncprov overlay
Howard Chu [Thu, 25 Nov 2004 22:58:19 +0000 (22:58 +0000)]
Use syncprov overlay

20 years agoDisable back-bdb native syncrepl support, enable syncprov overlay,
Howard Chu [Thu, 25 Nov 2004 21:16:54 +0000 (21:16 +0000)]
Disable back-bdb native syncrepl support, enable syncprov overlay,
remove syncrepl stuff from Operation struct

20 years agoMerge op->o_sync_mode into op->o_sync
Howard Chu [Thu, 25 Nov 2004 18:31:31 +0000 (18:31 +0000)]
Merge op->o_sync_mode into op->o_sync

20 years agoFix send_ldap* macros
Howard Chu [Thu, 25 Nov 2004 14:41:00 +0000 (14:41 +0000)]
Fix send_ldap* macros

20 years agoRevert previous commit, it breaks everything.
Howard Chu [Thu, 25 Nov 2004 07:03:43 +0000 (07:03 +0000)]
Revert previous commit, it breaks everything.

20 years agoFix typo
Kurt Zeilenga [Wed, 24 Nov 2004 22:22:27 +0000 (22:22 +0000)]
Fix typo

20 years agoCleanup, add some more descriptive comments.
Howard Chu [Wed, 24 Nov 2004 20:34:28 +0000 (20:34 +0000)]
Cleanup, add some more descriptive comments.
Still needs: error checking, queuing results when refresh is in progress

20 years agoremoved test.schema from the test slapd.conf
Jong Hyuk Choi [Wed, 24 Nov 2004 18:01:20 +0000 (18:01 +0000)]
removed test.schema from the test slapd.conf

20 years agoAdd the omitted part from the original buddy allocator commit
Jong Hyuk Choi [Wed, 24 Nov 2004 17:46:47 +0000 (17:46 +0000)]
Add the omitted part from the original buddy allocator commit

20 years agoOmitted from the original buddy allocator commit
Jong Hyuk Choi [Wed, 24 Nov 2004 17:27:25 +0000 (17:27 +0000)]
Omitted from the original buddy allocator commit

20 years agoPersist passes test018
Howard Chu [Wed, 24 Nov 2004 17:07:14 +0000 (17:07 +0000)]
Persist passes test018

20 years agoUse normalized UUID...
Howard Chu [Wed, 24 Nov 2004 16:13:20 +0000 (16:13 +0000)]
Use normalized UUID...

20 years agoFirst pass at persist, not working
Howard Chu [Wed, 24 Nov 2004 15:58:38 +0000 (15:58 +0000)]
First pass at persist, not working

20 years agoUse BackendInfo instead of direct references to back-ldap functions
Howard Chu [Wed, 24 Nov 2004 11:31:43 +0000 (11:31 +0000)]
Use BackendInfo instead of direct references to back-ldap functions

20 years agoITS#3401 avoid empty make target when SLAPD_DYNAMIC_BACKENDS is empty
Howard Chu [Wed, 24 Nov 2004 06:41:21 +0000 (06:41 +0000)]
ITS#3401 avoid empty make target when SLAPD_DYNAMIC_BACKENDS is empty

20 years agoFix ITS#3400, move ebadf declaration
Howard Chu [Wed, 24 Nov 2004 05:27:59 +0000 (05:27 +0000)]
Fix ITS#3400, move ebadf declaration

20 years agoshould fix compile when SLAPD_ACI_ENABLED is undefined
Pierangelo Masarati [Tue, 23 Nov 2004 21:20:13 +0000 (21:20 +0000)]
should fix compile when SLAPD_ACI_ENABLED is undefined

20 years agoremove schema which was used for component match testing
Jong Hyuk Choi [Tue, 23 Nov 2004 17:10:38 +0000 (17:10 +0000)]
remove schema which was used for component match testing

20 years agoUse SLAP_CONTROL_* constants
Howard Chu [Tue, 23 Nov 2004 16:02:07 +0000 (16:02 +0000)]
Use SLAP_CONTROL_* constants

20 years agobuddy allocator for sl_malloc. Configurable at thread heap creation time. Need optimi...
Jong Hyuk Choi [Tue, 23 Nov 2004 15:37:06 +0000 (15:37 +0000)]
buddy allocator for sl_malloc. Configurable at thread heap creation time. Need optimization for higher perf.

20 years agoslap_known_controls is now an array. (control.c r1.117)
Howard Chu [Tue, 23 Nov 2004 14:45:36 +0000 (14:45 +0000)]
slap_known_controls is now an array. (control.c r1.117)

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