]> git.sur5r.net Git - openldap/log
openldap
14 years agohonor X-ORDERED in olcDbIdAssertAuthzFrom; add olcDbIdAssertPassthru (ITS#6456);...
Pierangelo Masarati [Fri, 9 Apr 2010 22:47:55 +0000 (22:47 +0000)]
honor X-ORDERED in olcDbIdAssertAuthzFrom; add olcDbIdAssertPassthru (ITS#6456); note: breaks binary compatibility with module back-meta.la

14 years agoITS#6510 ignore referrals on Bind response
Howard Chu [Fri, 9 Apr 2010 18:30:29 +0000 (18:30 +0000)]
ITS#6510 ignore referrals on Bind response

14 years agomore on ITS#6507
Pierangelo Masarati [Thu, 8 Apr 2010 19:51:18 +0000 (19:51 +0000)]
more on ITS#6507

14 years agokeep attrs count consistent (ITS#6508)
Pierangelo Masarati [Thu, 8 Apr 2010 17:24:44 +0000 (17:24 +0000)]
keep attrs count consistent (ITS#6508)

14 years agodon't set dummy cookie when dealing with last database (ITS#6507)
Pierangelo Masarati [Thu, 8 Apr 2010 17:16:38 +0000 (17:16 +0000)]
don't set dummy cookie when dealing with last database (ITS#6507)

14 years agodon't mix code and declarations
Pierangelo Masarati [Thu, 8 Apr 2010 00:27:18 +0000 (00:27 +0000)]
don't mix code and declarations

14 years agodo not assume that someone parsed the paged results response; in case, re-parse ...
Pierangelo Masarati [Wed, 7 Apr 2010 00:53:36 +0000 (00:53 +0000)]
do not assume that someone parsed the paged results response; in case, re-parse (ITS#6507)

14 years agomake sure cookies are set/reset as appropriate when a page ends at database boundarie...
Pierangelo Masarati [Tue, 6 Apr 2010 22:04:58 +0000 (22:04 +0000)]
make sure cookies are set/reset as appropriate when a page ends at database boundaries (ITS#6507)

14 years agodetect misplaced entries in glued databases (ITS#6506)
Pierangelo Masarati [Tue, 6 Apr 2010 20:33:05 +0000 (20:33 +0000)]
detect misplaced entries in glued databases (ITS#6506)

14 years agorework temporary malloc of glued controls (fixes ITS#6504); fix glued paged results
Pierangelo Masarati [Fri, 2 Apr 2010 19:15:42 +0000 (19:15 +0000)]
rework temporary malloc of glued controls (fixes ITS#6504); fix glued paged results

14 years agoITS#6501 zero lockobjs
Howard Chu [Wed, 31 Mar 2010 06:22:06 +0000 (06:22 +0000)]
ITS#6501 zero lockobjs

14 years agoldap_parse_result should always free result when freeit is true.
Kurt Zeilenga [Fri, 26 Mar 2010 14:05:47 +0000 (14:05 +0000)]
ldap_parse_result should always free result when freeit is true.

14 years agoincrement counter (ITS#6497)
Pierangelo Masarati [Tue, 23 Mar 2010 20:33:06 +0000 (20:33 +0000)]
increment counter (ITS#6497)

14 years agohandle valid non-entry internal search responses (ITS#6481)
Pierangelo Masarati [Mon, 22 Mar 2010 21:50:32 +0000 (21:50 +0000)]
handle valid non-entry internal search responses (ITS#6481)

14 years agocheck for NULL backend (ITS#6490)
Pierangelo Masarati [Mon, 22 Mar 2010 21:48:25 +0000 (21:48 +0000)]
check for NULL backend (ITS#6490)

14 years ago(ITS#6493) Broken link in online openldap administrator's guide
Gavin Henry [Thu, 18 Mar 2010 20:12:50 +0000 (20:12 +0000)]
(ITS#6493) Broken link in online openldap administrator's guide

14 years agoMake TlsOptions available in LDAPConnection
Ralf Haferkamp [Mon, 15 Mar 2010 15:07:45 +0000 (15:07 +0000)]
Make TlsOptions available in LDAPConnection

14 years agobe more verbose on StartTLS errors
Ralf Haferkamp [Mon, 15 Mar 2010 14:51:40 +0000 (14:51 +0000)]
be more verbose on StartTLS errors

14 years agoFix prev commit
Howard Chu [Sat, 13 Mar 2010 21:41:51 +0000 (21:41 +0000)]
Fix prev commit

14 years agodraft-zeilenga-ldap-txn-xx now published as RFC 5805
Kurt Zeilenga [Thu, 11 Mar 2010 20:27:46 +0000 (20:27 +0000)]
draft-zeilenga-ldap-txn-xx now published as RFC 5805

14 years agoFix for CB_TAIL with cached results
Howard Chu [Wed, 10 Mar 2010 22:25:42 +0000 (22:25 +0000)]
Fix for CB_TAIL with cached results

14 years agoITS#5195 - use connection's ssf for auxprop lookup
Howard Chu [Thu, 4 Mar 2010 00:16:49 +0000 (00:16 +0000)]
ITS#5195 - use connection's ssf for auxprop lookup

14 years agoITS#6433 add mechs for generating SHA2 hashes
Howard Chu [Wed, 3 Mar 2010 23:56:30 +0000 (23:56 +0000)]
ITS#6433 add mechs for generating SHA2 hashes

14 years agoITS#6484 don't bypass other overlays' entry_release handler
Howard Chu [Wed, 3 Mar 2010 23:36:29 +0000 (23:36 +0000)]
ITS#6484 don't bypass other overlays' entry_release handler

14 years agoITS#6486 - avoid explicit moduleload in examples
Howard Chu [Wed, 3 Mar 2010 20:47:25 +0000 (20:47 +0000)]
ITS#6486 - avoid explicit moduleload in examples

14 years agoFix compare checking in pam_authz
Howard Chu [Wed, 3 Mar 2010 19:30:58 +0000 (19:30 +0000)]
Fix compare checking in pam_authz

14 years agoLookup user DN in pam_authz if it was not provided
Howard Chu [Wed, 3 Mar 2010 00:47:28 +0000 (00:47 +0000)]
Lookup user DN in pam_authz if it was not provided

14 years agoFix pam_authz parameter input
Howard Chu [Wed, 3 Mar 2010 00:15:04 +0000 (00:15 +0000)]
Fix pam_authz parameter input

14 years agoITS#6473 fail delta-sync when unknown attrs are received
Howard Chu [Tue, 2 Mar 2010 21:45:25 +0000 (21:45 +0000)]
ITS#6473 fail delta-sync when unknown attrs are received

14 years agoITS#6484 - cache DB needs to release its own entries
Howard Chu [Tue, 2 Mar 2010 21:29:32 +0000 (21:29 +0000)]
ITS#6484 - cache DB needs to release its own entries

14 years agoignore non-critical control with unrecognized flags (ITS#6480)
Pierangelo Masarati [Mon, 22 Feb 2010 21:53:38 +0000 (21:53 +0000)]
ignore non-critical control with unrecognized flags (ITS#6480)

14 years agoBring back destructor, to keep ABI compatibile (at least for now)
Ralf Haferkamp [Fri, 19 Feb 2010 14:02:32 +0000 (14:02 +0000)]
Bring back destructor, to keep ABI compatibile (at least for now)

14 years agoExample for TlsOptions usage
Ralf Haferkamp [Thu, 18 Feb 2010 16:46:23 +0000 (16:46 +0000)]
Example for TlsOptions usage

14 years agoexclude some internal structs from documentation
Ralf Haferkamp [Thu, 18 Feb 2010 16:24:41 +0000 (16:24 +0000)]
exclude some internal structs from documentation

14 years agoTlsOptions documentation
Ralf Haferkamp [Thu, 18 Feb 2010 16:23:40 +0000 (16:23 +0000)]
TlsOptions documentation

14 years agoHide internal use only constructor
Ralf Haferkamp [Thu, 18 Feb 2010 16:22:49 +0000 (16:22 +0000)]
Hide internal use only constructor

14 years agofix return
Pierangelo Masarati [Wed, 17 Feb 2010 20:08:07 +0000 (20:08 +0000)]
fix return

14 years agomethod to renew the tlsctx
Ralf Haferkamp [Tue, 16 Feb 2010 17:48:14 +0000 (17:48 +0000)]
method to renew the tlsctx

14 years agoMake TlsOptions accessible per connection
Ralf Haferkamp [Tue, 16 Feb 2010 17:47:05 +0000 (17:47 +0000)]
Make TlsOptions accessible per connection

14 years agouse const where appropriate
Ralf Haferkamp [Tue, 16 Feb 2010 17:44:22 +0000 (17:44 +0000)]
use const where appropriate

14 years agoremoved buggy destructor, use default instead
Ralf Haferkamp [Tue, 16 Feb 2010 15:20:05 +0000 (15:20 +0000)]
removed buggy destructor, use default instead

14 years agofixed start_tls() error handling
Ralf Haferkamp [Tue, 16 Feb 2010 15:17:53 +0000 (15:17 +0000)]
fixed start_tls() error handling

14 years agosilenced compiler warning
Ralf Haferkamp [Tue, 16 Feb 2010 11:55:33 +0000 (11:55 +0000)]
silenced compiler warning

14 years agouninitialized variable
Ralf Haferkamp [Tue, 16 Feb 2010 11:55:05 +0000 (11:55 +0000)]
uninitialized variable

14 years agoautomake changes for TlsOptions
Ralf Haferkamp [Mon, 15 Feb 2010 17:24:45 +0000 (17:24 +0000)]
automake changes for TlsOptions

14 years agoNew class "TlsOptions" to handle TLS/SSL related settings
Ralf Haferkamp [Mon, 15 Feb 2010 17:17:42 +0000 (17:17 +0000)]
New class "TlsOptions" to handle TLS/SSL related settings

14 years agotab<->spaces cleanup
Ralf Haferkamp [Mon, 15 Feb 2010 17:07:46 +0000 (17:07 +0000)]
tab<->spaces cleanup

14 years agoITS#6467, use memcpy instead for strcpy when copying across array
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

14 years agoreduce code duplication
Pierangelo Masarati [Fri, 12 Feb 2010 08:55:34 +0000 (08:55 +0000)]
reduce code duplication

14 years agoITS#6469, don't touch op_attrs when updatedn is modifying contextCSN
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

14 years agoAdd minimal doc for pbind overlay. Note both chain and pbind are built in
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.

14 years agoAdd pbind proxybind overlay. Just intercepts Bind requests on a regular DB
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.

14 years agoConnTTL, NetworkTimeout, and ProtocolVersion were missing from the
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

14 years agoITS#6468: Implement bi_access_allowed.
Rein Tollevik [Tue, 2 Feb 2010 15:51:32 +0000 (15:51 +0000)]
ITS#6468: Implement bi_access_allowed.

14 years agoITS#6465, don't unparse empty uri string
Ralf Haferkamp [Tue, 2 Feb 2010 14:43:21 +0000 (14:43 +0000)]
ITS#6465, don't unparse empty uri string

14 years agoITS#6466 certificateListValidate: Empty Sequence-of is legal
Howard Chu [Sat, 30 Jan 2010 23:32:50 +0000 (23:32 +0000)]
ITS#6466 certificateListValidate: Empty Sequence-of is legal

14 years agoSet res parameter to NULL upon ldap_search_ext_s entry. Likewise for friends.
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).

14 years agoskip the serial, whatever its length (ITS#6460)
Pierangelo Masarati [Sun, 24 Jan 2010 19:16:57 +0000 (19:16 +0000)]
skip the serial, whatever its length (ITS#6460)

14 years agoplugged one time memory leak (found with valgrind)
Ralf Haferkamp [Fri, 22 Jan 2010 18:01:25 +0000 (18:01 +0000)]
plugged one time memory leak (found with valgrind)

14 years agoPlugged memory leak. Syncentry wasn't free'd when sending
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)

14 years agoimplement support for selective iteration in slaptools (ITS#6442)
Pierangelo Masarati [Mon, 18 Jan 2010 15:00:40 +0000 (15:00 +0000)]
implement support for selective iteration in slaptools (ITS#6442)

14 years agosync with code
Pierangelo Masarati [Mon, 18 Jan 2010 14:52:41 +0000 (14:52 +0000)]
sync with code

14 years agoGentler message when falling back to ch_malloc
Hallvard Furuseth [Fri, 15 Jan 2010 18:53:13 +0000 (18:53 +0000)]
Gentler message when falling back to ch_malloc

14 years agodn2id_lock is no longer needed
Howard Chu [Mon, 11 Jan 2010 22:14:15 +0000 (22:14 +0000)]
dn2id_lock is no longer needed

14 years agoITS#6441 cyrus-sasl 2.1.24 auxprop_lookup plugin returns status.
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.

14 years agoITS#6437 FORCED COMMIT: 1.62's Ensure Align >= sizeof(ber_len_t) anticipated
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.

14 years agoITS#6437: Fix pool version misalignment: It aligned heads, not returned blocks
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

14 years agoITS#6437, move structs slab_object and slab_heap from slap.h to sl_malloc.c
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

14 years agoITS#6437, save space: Do not allocate the tail, except if size==0.
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.

14 years agoITS#6437 cleanup (noop patch): Join SLAP_NO_SL_MALLOC code with identical
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.

14 years agoITS#6437, follow up previous fixes:
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.

14 years agoITS#6438 check for redundant syncops_free() ?
Howard Chu [Tue, 5 Jan 2010 03:50:10 +0000 (03:50 +0000)]
ITS#6438 check for redundant syncops_free() ?

14 years agoAdd comments
Hallvard Furuseth [Sat, 2 Jan 2010 23:42:31 +0000 (23:42 +0000)]
Add comments

14 years agoITS#6437, slap_sl_calloc():
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.

14 years agoITS#6437, failure/fallback/debug handling:
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.

14 years agoITS#6437 cleanup (noop change):
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.

14 years agoITS#6437, fixes for stack implementation of slap_sl_realloc():
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).

14 years agoITS#6437: Fix alignment after slap_sl_realloc().
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.

14 years agoITS#6437 cleanup (noop change): Simplify slap_sl_free() code reclaiming space
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

14 years agoITS#6437 cleanup (noop change): Compute pad,order_start at compile time
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

14 years agoITS#6437, slap_sl_mem_create():
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.

14 years agoITS#6322 cleanup close_listeners()
Howard Chu [Wed, 30 Dec 2009 20:33:27 +0000 (20:33 +0000)]
ITS#6322 cleanup close_listeners()

14 years agoallow direct insert/delete of olcRwmMap (ITS#6436)
Pierangelo Masarati [Mon, 21 Dec 2009 18:58:21 +0000 (18:58 +0000)]
allow direct insert/delete of olcRwmMap (ITS#6436)

14 years agobetter fix to ITS#6434 (olcRwmMap needs work to allow atomic mods)
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)

14 years agoITS#6435: Added optional SLAP_SCHEMA_EXPOSE define.
Rein Tollevik [Mon, 21 Dec 2009 17:28:45 +0000 (17:28 +0000)]
ITS#6435: Added optional SLAP_SCHEMA_EXPOSE define.

14 years agoITS#6434 (forced commit)
Pierangelo Masarati [Mon, 21 Dec 2009 13:06:52 +0000 (13:06 +0000)]
ITS#6434 (forced commit)

14 years agofix in-database configuration of olcRwmMap (no ITS# yet)
Pierangelo Masarati [Sun, 20 Dec 2009 18:31:08 +0000 (18:31 +0000)]
fix in-database configuration of olcRwmMap (no ITS# yet)

14 years agoplug one-time leaks
Pierangelo Masarati [Fri, 18 Dec 2009 19:07:16 +0000 (19:07 +0000)]
plug one-time leaks

14 years agoITS#6403: do not require *ent == NULL on entry to null_back_entry_get()
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()

14 years agoITS#6290 dynamic group documentation
Gavin Henry [Tue, 15 Dec 2009 13:09:34 +0000 (13:09 +0000)]
ITS#6290 dynamic group documentation

14 years ago(ITS#6382) Error in set example (groups of groups)
Gavin Henry [Tue, 15 Dec 2009 12:42:02 +0000 (12:42 +0000)]
(ITS#6382) Error in set example (groups of groups)

14 years agodeclaration after code (introduced by ITS#6428 fix)
Ralf Haferkamp [Fri, 11 Dec 2009 18:09:47 +0000 (18:09 +0000)]
declaration after code (introduced by ITS#6428 fix)

14 years agoRevert prev commit, wrong branch
Howard Chu [Fri, 11 Dec 2009 11:05:12 +0000 (11:05 +0000)]
Revert prev commit, wrong branch

14 years agoNew access_allowed()
Howard Chu [Fri, 11 Dec 2009 11:00:17 +0000 (11:00 +0000)]
New access_allowed()

14 years agoFix typo in last commit (ITS#5340: REP_ENTRY_MUSTFLUSH) ACLCHECK_0
Hallvard Furuseth [Thu, 10 Dec 2009 19:54:57 +0000 (19:54 +0000)]
Fix typo in last commit (ITS#5340: REP_ENTRY_MUSTFLUSH)

14 years agoFix rev 1.403 (ITS#6428): C90 does not accept mixed declarations and code
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

14 years agoITS#6428 fixes for olcTimeLimit
Ralf Haferkamp [Thu, 10 Dec 2009 14:57:12 +0000 (14:57 +0000)]
ITS#6428 fixes for olcTimeLimit

14 years agoglobal limits can also be set in "cn=config" (more forITS#6428)
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)

14 years agoapply frontend limits when deleting olcSizeLimit from a database (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)

14 years agoITS#6428 apply global sizelimit changes to all databases
Ralf Haferkamp [Thu, 10 Dec 2009 11:56:52 +0000 (11:56 +0000)]
ITS#6428 apply global sizelimit changes to all databases