]>
git.sur5r.net Git - openldap/log
Ralf Haferkamp [Tue, 16 Feb 2010 11:55:33 +0000 (11:55 +0000)]
silenced compiler warning
Ralf Haferkamp [Tue, 16 Feb 2010 11:55:05 +0000 (11:55 +0000)]
uninitialized variable
Ralf Haferkamp [Mon, 15 Feb 2010 17:24:45 +0000 (17:24 +0000)]
automake changes for TlsOptions
Ralf Haferkamp [Mon, 15 Feb 2010 17:17:42 +0000 (17:17 +0000)]
New class "TlsOptions" to handle TLS/SSL related settings
Ralf Haferkamp [Mon, 15 Feb 2010 17:07:46 +0000 (17:07 +0000)]
tab<->spaces cleanup
Ralf Haferkamp [Mon, 15 Feb 2010 15:25:47 +0000 (15:25 +0000)]
ITS#6467, use memcpy instead for strcpy when copying across array
boundaries. To account for stricter checks when using -D_FORTIFY_SOURCE=2
with GCC 4.5
Pierangelo Masarati [Fri, 12 Feb 2010 08:55:34 +0000 (08:55 +0000)]
reduce code duplication
Ralf Haferkamp [Fri, 5 Feb 2010 11:49:49 +0000 (11:49 +0000)]
ITS#6469, don't touch op_attrs when updatedn is modifying contextCSN
Howard Chu [Thu, 4 Feb 2010 04:11:17 +0000 (04:11 +0000)]
Add minimal doc for pbind overlay. Note both chain and pbind are built in
to back-ldap.
Howard Chu [Thu, 4 Feb 2010 01:59:58 +0000 (01:59 +0000)]
Add pbind proxybind overlay. Just intercepts Bind requests on a regular DB
and proxies them to a remote server.
Howard Chu [Thu, 4 Feb 2010 01:02:51 +0000 (01:02 +0000)]
ConnTTL, NetworkTimeout, and ProtocolVersion were missing from the
config OC, thus inaccessible from cn=config
Rein Tollevik [Tue, 2 Feb 2010 15:51:32 +0000 (15:51 +0000)]
ITS#6468: Implement bi_access_allowed.
Ralf Haferkamp [Tue, 2 Feb 2010 14:43:21 +0000 (14:43 +0000)]
ITS#6465, don't unparse empty uri string
Howard Chu [Sat, 30 Jan 2010 23:32:50 +0000 (23:32 +0000)]
ITS#6466 certificateListValidate: Empty Sequence-of is legal
Kurt Zeilenga [Fri, 29 Jan 2010 23:11:24 +0000 (23:11 +0000)]
Set res parameter to NULL upon ldap_search_ext_s entry. Likewise for friends.
Note in manual that res parameter should be freed regardless of return value
of ldap_search_ext_s (or friends).
Pierangelo Masarati [Sun, 24 Jan 2010 19:16:57 +0000 (19:16 +0000)]
skip the serial, whatever its length (ITS#6460)
Ralf Haferkamp [Fri, 22 Jan 2010 18:01:25 +0000 (18:01 +0000)]
plugged one time memory leak (found with valgrind)
Ralf Haferkamp [Thu, 21 Jan 2010 13:33:21 +0000 (13:33 +0000)]
Plugged memory leak. Syncentry wasn't free'd when sending
LDAP_SYNC_NEW_COOKIE intermediate results. (ITS#6459)
Pierangelo Masarati [Mon, 18 Jan 2010 15:00:40 +0000 (15:00 +0000)]
implement support for selective iteration in slaptools (ITS#6442)
Pierangelo Masarati [Mon, 18 Jan 2010 14:52:41 +0000 (14:52 +0000)]
sync with code
Hallvard Furuseth [Fri, 15 Jan 2010 18:53:13 +0000 (18:53 +0000)]
Gentler message when falling back to ch_malloc
Howard Chu [Mon, 11 Jan 2010 22:14:15 +0000 (22:14 +0000)]
dn2id_lock is no longer needed
Rein Tollevik [Wed, 6 Jan 2010 13:55:35 +0000 (13:55 +0000)]
ITS#6441 cyrus-sasl 2.1.24 auxprop_lookup plugin returns status.
Hallvard Furuseth [Wed, 6 Jan 2010 09:14:08 +0000 (09:14 +0000)]
ITS#6437 FORCED COMMIT: 1.62's Ensure Align >= sizeof(ber_len_t) anticipated
1.64 sl_malloc()'s size=(size +...+ Align-1 + !size)... to make room for tail.
Hallvard Furuseth [Tue, 5 Jan 2010 23:31:14 +0000 (23:31 +0000)]
ITS#6437: Fix pool version misalignment: It aligned heads, not returned blocks
Hallvard Furuseth [Tue, 5 Jan 2010 23:14:14 +0000 (23:14 +0000)]
ITS#6437, move structs slab_object and slab_heap from slap.h to sl_malloc.c
Hallvard Furuseth [Tue, 5 Jan 2010 22:11:24 +0000 (22:11 +0000)]
ITS#6437, save space: Do not allocate the tail, except if size==0.
Store a tail only in freed blocks. (Alignment ensures there will
be room.) Put the freed mark in next block's head.
Hallvard Furuseth [Tue, 5 Jan 2010 19:40:28 +0000 (19:40 +0000)]
ITS#6437 cleanup (noop patch): Join SLAP_NO_SL_MALLOC code with identical
ctx==NULL code. Add enum No_sl_malloc to avoid #ifdef SLAP_NO_SL_MALLOC.
Hallvard Furuseth [Tue, 5 Jan 2010 19:25:28 +0000 (19:25 +0000)]
ITS#6437, follow up previous fixes:
Ensure Align >= sizeof(ber_len_t), to clarify the code's requirements.
Rearrange a slap_sl_malloc() branch to factor out ch_malloc fallbacks.
Fix range check (ptr+size >= endptr) -> (size >= endptr-ptr). Fix debug msg.
Howard Chu [Tue, 5 Jan 2010 03:50:10 +0000 (03:50 +0000)]
ITS#6438 check for redundant syncops_free() ?
Hallvard Furuseth [Sat, 2 Jan 2010 23:42:31 +0000 (23:42 +0000)]
Add comments
Hallvard Furuseth [Sat, 2 Jan 2010 22:53:22 +0000 (22:53 +0000)]
ITS#6437, slap_sl_calloc():
Check count*size overflow. Omit slap_sl_malloc failure check, it cannot fail.
Hallvard Furuseth [Sat, 2 Jan 2010 22:41:41 +0000 (22:41 +0000)]
ITS#6437, failure/fallback/debug handling:
slap_sl_malloc could return failure. Exit instead, like the rest of sl_malloc.
Since we increase size, reduce it before Debug() and/or fallback to ch_malloc.
Debug() before exit() on failure. Tweak debug formats and a comment.
Hallvard Furuseth [Sat, 2 Jan 2010 22:03:48 +0000 (22:03 +0000)]
ITS#6437 cleanup (noop change):
Move thread/nothread code to macros SET_MEMCTX()/GET_MEMCTX().
Rename some thread/memory contexts 'ctx' to thrctx/memctx to avoid confusion.
Hallvard Furuseth [Sat, 2 Jan 2010 21:39:46 +0000 (21:39 +0000)]
ITS#6437, fixes for stack implementation of slap_sl_realloc():
Preserve 2*int alignment on hosts where sizeof(int) == sizeof(ber_len_t).
If realloc of last block falls back to ch_malloc, free last block properly.
Fix range check (ptr + size < endptr) --> (size < endptr - ptr).
Hallvard Furuseth [Sat, 2 Jan 2010 21:05:11 +0000 (21:05 +0000)]
ITS#6437: Fix alignment after slap_sl_realloc().
Also use -Align instead of ~pad: Valid also for non-twos complement.
Hallvard Furuseth [Sat, 2 Jan 2010 18:42:33 +0000 (18:42 +0000)]
ITS#6437 cleanup (noop change): Simplify slap_sl_free() code reclaiming space
Hallvard Furuseth [Sat, 2 Jan 2010 18:27:51 +0000 (18:27 +0000)]
ITS#6437 cleanup (noop change): Compute pad,order_start at compile time
Hallvard Furuseth [Sat, 2 Jan 2010 18:05:56 +0000 (18:05 +0000)]
ITS#6437, slap_sl_mem_create():
Bugfix: Switching implementation stack<->pool on an old context could
crash or leak, it ran the wrong implementation's cleanup code.
Cleanup: Factor out identical stack/pool code. Call
slap_sl_mem_destroy(NULL,) instead of copying its pool code.
API change: slap_sl_mem_destroy(key=NULL,) gets a new meaning. Does
not affect current OpenLDAP code, it never passed NULL.
Howard Chu [Wed, 30 Dec 2009 20:33:27 +0000 (20:33 +0000)]
ITS#6322 cleanup close_listeners()
Pierangelo Masarati [Mon, 21 Dec 2009 18:58:21 +0000 (18:58 +0000)]
allow direct insert/delete of olcRwmMap (ITS#6436)
Pierangelo Masarati [Mon, 21 Dec 2009 17:32:05 +0000 (17:32 +0000)]
better fix to ITS#6434 (olcRwmMap needs work to allow atomic mods)
Rein Tollevik [Mon, 21 Dec 2009 17:28:45 +0000 (17:28 +0000)]
ITS#6435: Added optional SLAP_SCHEMA_EXPOSE define.
Pierangelo Masarati [Mon, 21 Dec 2009 13:06:52 +0000 (13:06 +0000)]
ITS#6434 (forced commit)
Pierangelo Masarati [Sun, 20 Dec 2009 18:31:08 +0000 (18:31 +0000)]
fix in-database configuration of olcRwmMap (no ITS# yet)
Pierangelo Masarati [Fri, 18 Dec 2009 19:07:16 +0000 (19:07 +0000)]
plug one-time leaks
Hallvard Furuseth [Wed, 16 Dec 2009 09:12:48 +0000 (09:12 +0000)]
ITS#6403: do not require *ent == NULL on entry to null_back_entry_get()
Gavin Henry [Tue, 15 Dec 2009 13:09:34 +0000 (13:09 +0000)]
ITS#6290 dynamic group documentation
Gavin Henry [Tue, 15 Dec 2009 12:42:02 +0000 (12:42 +0000)]
(ITS#6382) Error in set example (groups of groups)
Ralf Haferkamp [Fri, 11 Dec 2009 18:09:47 +0000 (18:09 +0000)]
declaration after code (introduced by ITS#6428 fix)
Howard Chu [Fri, 11 Dec 2009 11:05:12 +0000 (11:05 +0000)]
Revert prev commit, wrong branch
Howard Chu [Fri, 11 Dec 2009 11:00:17 +0000 (11:00 +0000)]
New access_allowed()
Hallvard Furuseth [Thu, 10 Dec 2009 19:54:57 +0000 (19:54 +0000)]
Fix typo in last commit (ITS#5340: REP_ENTRY_MUSTFLUSH)
Hallvard Furuseth [Thu, 10 Dec 2009 19:53:10 +0000 (19:53 +0000)]
Fix rev 1.403 (ITS#6428): C90 does not accept mixed declarations and code
Ralf Haferkamp [Thu, 10 Dec 2009 14:57:12 +0000 (14:57 +0000)]
ITS#6428 fixes for olcTimeLimit
Ralf Haferkamp [Thu, 10 Dec 2009 14:22:26 +0000 (14:22 +0000)]
global limits can also be set in "cn=config" (more forITS#6428)
Ralf Haferkamp [Thu, 10 Dec 2009 13:07:13 +0000 (13:07 +0000)]
apply frontend limits when deleting olcSizeLimit from a database (more forITS#6428)
Ralf Haferkamp [Thu, 10 Dec 2009 11:56:52 +0000 (11:56 +0000)]
ITS#6428 apply global sizelimit changes to all databases
Hallvard Furuseth [Thu, 10 Dec 2009 00:07:34 +0000 (00:07 +0000)]
ITS#5340: REP_ENTRY_MUSTFLUSH, rs_replace_entry(), rs_ensure_entry_modifiable()
Pierangelo Masarati [Wed, 9 Dec 2009 12:35:49 +0000 (12:35 +0000)]
document keepalive (ITS#6389)
Howard Chu [Wed, 9 Dec 2009 00:04:58 +0000 (00:04 +0000)]
ITS#6425 fix uninit'd vars
Pierangelo Masarati [Tue, 8 Dec 2009 20:53:39 +0000 (20:53 +0000)]
guard against simultaneous REP_ENTRY_MUSTRELEASE and REP_ENTRY_MODIFIABLE (related to ITS#6423)
Pierangelo Masarati [Tue, 8 Dec 2009 19:49:15 +0000 (19:49 +0000)]
issue a useful error message
Pierangelo Masarati [Tue, 8 Dec 2009 19:36:10 +0000 (19:36 +0000)]
guard against simultaneous REP_ENTRY_MUSTRELEASE and REP_ENTRY_MODIFIABLE (ITS#6423)
Hallvard Furuseth [Tue, 8 Dec 2009 19:07:12 +0000 (19:07 +0000)]
ITS#5810 undo last commit: s/^#${AC_null}#// would remove #mod#, not #nullmod#
Pierangelo Masarati [Tue, 8 Dec 2009 18:54:24 +0000 (18:54 +0000)]
ITS#6424
Pierangelo Masarati [Tue, 8 Dec 2009 18:49:09 +0000 (18:49 +0000)]
ITS#6418
Pierangelo Masarati [Tue, 8 Dec 2009 18:47:17 +0000 (18:47 +0000)]
remove REP_ENTRY_MUSTRELEASE when copying (ITS#6423)
Howard Chu [Tue, 8 Dec 2009 11:59:29 +0000 (11:59 +0000)]
Fix unparse in prev commit
Howard Chu [Tue, 8 Dec 2009 11:50:39 +0000 (11:50 +0000)]
ITS#6419 also init for ldaps:// URIs
Pierangelo Masarati [Tue, 8 Dec 2009 01:34:22 +0000 (01:34 +0000)]
log about invalid URI (more about ITS#6421)
Pierangelo Masarati [Tue, 8 Dec 2009 00:17:25 +0000 (00:17 +0000)]
handle simple filters with no brackets (ITS#6421)
Hallvard Furuseth [Mon, 7 Dec 2009 21:19:47 +0000 (21:19 +0000)]
Fix last commit, and also define AC_ldif
Howard Chu [Mon, 7 Dec 2009 20:06:54 +0000 (20:06 +0000)]
ITS#6419 starttls keyword should trigger bindconf TLS settings
Hallvard Furuseth [Sun, 6 Dec 2009 23:13:22 +0000 (23:13 +0000)]
Support back-null after all
Hallvard Furuseth [Sun, 6 Dec 2009 21:01:45 +0000 (21:01 +0000)]
Wait for central master to start after final restart.
Narrow tests for failed entry removal: 'RC = success' -> 'rc != noSuchObject'.
Hallvard Furuseth [Sun, 6 Dec 2009 19:58:13 +0000 (19:58 +0000)]
Fix typo "KILL -HUP" -> "kill -HUP" (after some failures)
Hallvard Furuseth [Sun, 6 Dec 2009 16:08:13 +0000 (16:08 +0000)]
Support back-null
Hallvard Furuseth [Sun, 6 Dec 2009 14:54:09 +0000 (14:54 +0000)]
Update aged test: recognize olcAddContentAcl,olcMonitoring,olcSyncUseSubentry
Hallvard Furuseth [Sun, 6 Dec 2009 14:04:51 +0000 (14:04 +0000)]
ITS#5810: exclude instead of include backends, explain exclusion
Hallvard Furuseth [Sun, 6 Dec 2009 14:04:02 +0000 (14:04 +0000)]
ITS#5810: fix previous commit - skip back-null
Hallvard Furuseth [Sun, 6 Dec 2009 14:03:27 +0000 (14:03 +0000)]
ITS#5810: tweak previous commit - explain backend exclusion
Hallvard Furuseth [Sun, 6 Dec 2009 14:01:38 +0000 (14:01 +0000)]
ITS#5810: skip back-ldif
Hallvard Furuseth [Fri, 4 Dec 2009 16:45:19 +0000 (16:45 +0000)]
ITS#5810: Skip test for back-null
Hallvard Furuseth [Fri, 4 Dec 2009 16:44:44 +0000 (16:44 +0000)]
Support back-null
Howard Chu [Fri, 4 Dec 2009 02:44:00 +0000 (02:44 +0000)]
ITS#6412, refix #6304 - only check for writes if sockbuf NEEDS_WRITE
Hallvard Furuseth [Thu, 3 Dec 2009 23:20:39 +0000 (23:20 +0000)]
ITS#6414: Do not write outside database directory.
Also rename misnamed dn2path() to ndn2path() with different prototype.
Rein Tollevik [Thu, 3 Dec 2009 21:56:48 +0000 (21:56 +0000)]
ITS#6413 Ensure task don't get queued while being freed after config change.
Howard Chu [Tue, 1 Dec 2009 22:21:18 +0000 (22:21 +0000)]
ITS#6408, fix r1.265 (from ITS#4884) - use correct ce_type
Howard Chu [Mon, 30 Nov 2009 21:47:38 +0000 (21:47 +0000)]
ITS#6405 in ldap_pvt_gettime, also check for microsecs going backward
Hallvard Furuseth [Mon, 30 Nov 2009 21:43:06 +0000 (21:43 +0000)]
Add loglevel sync to the default
Hallvard Furuseth [Mon, 30 Nov 2009 14:07:12 +0000 (14:07 +0000)]
Silence warning in initializer
Hallvard Furuseth [Mon, 30 Nov 2009 14:00:18 +0000 (14:00 +0000)]
Silence "maybe uninitialized" warning (eprev after 0 iterations, cannot happen)
Hallvard Furuseth [Mon, 30 Nov 2009 10:36:48 +0000 (10:36 +0000)]
ITS#6402: Kill broken macro LBER_INVALID.
Also update comments about ber_tag_t vs BER identifier octets.
Howard Chu [Mon, 30 Nov 2009 06:07:22 +0000 (06:07 +0000)]
ITS#6270, refix patch from ITS#5511
Hallvard Furuseth [Sun, 29 Nov 2009 22:32:21 +0000 (22:32 +0000)]
ITS#5810: support back-null
Hallvard Furuseth [Sun, 29 Nov 2009 22:27:34 +0000 (22:27 +0000)]
ITS#6406: Return failure instead of $? when a program unexpectedly succeeded
Hallvard Furuseth [Sun, 29 Nov 2009 19:53:01 +0000 (19:53 +0000)]
ITS#6403: reset 'entry' output argument to overlay_entry_get_ov()
Hallvard Furuseth [Sun, 29 Nov 2009 19:05:26 +0000 (19:05 +0000)]
ITS#5810 support back-null
Hallvard Furuseth [Sun, 29 Nov 2009 18:38:04 +0000 (18:38 +0000)]
ITS#5810 support back-null