]> git.sur5r.net Git - openldap/log
openldap
19 years ago_operational should return SLAP_CB_CONTINUE
Howard Chu [Mon, 29 Nov 2004 19:33:35 +0000 (19:33 +0000)]
_operational should return SLAP_CB_CONTINUE

19 years agoglue also in case of no such object, indicating that the suffix entry is missing...
Pierangelo Masarati [Mon, 29 Nov 2004 19:03:55 +0000 (19:03 +0000)]
glue also in case of no such object, indicating that the suffix entry is missing yet (unordered results of initial content poll)

19 years agoFix db_close
Howard Chu [Mon, 29 Nov 2004 14:17:16 +0000 (14:17 +0000)]
Fix db_close

19 years agowarn users of the need to use the rwm overlay
Pierangelo Masarati [Mon, 29 Nov 2004 12:40:36 +0000 (12:40 +0000)]
warn users of the need to use the rwm overlay

19 years agoCleanup - enable config, delete unused code
Howard Chu [Mon, 29 Nov 2004 10:27:38 +0000 (10:27 +0000)]
Cleanup - enable config, delete unused code

19 years agomore on syncprov support
Pierangelo Masarati [Mon, 29 Nov 2004 09:36:22 +0000 (09:36 +0000)]
more on syncprov support

19 years agoFix slap_known_controls initialization
Howard Chu [Mon, 29 Nov 2004 08:55:50 +0000 (08:55 +0000)]
Fix slap_known_controls initialization

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

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

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

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

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

19 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

19 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?)

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

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

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

19 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

19 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

19 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

19 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

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

19 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

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

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

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

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

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

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

19 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

19 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

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

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

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

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

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

19 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

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

19 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

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

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

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

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

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

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

19 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

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

19 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

19 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

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

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

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

19 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

19 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

19 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

19 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

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

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

19 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

19 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

19 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

19 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

19 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

19 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

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

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

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

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

19 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

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

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

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