]> git.sur5r.net Git - openldap/log
openldap
14 years agomalloc as much as possible on slab
Pierangelo Masarati [Thu, 15 Apr 2010 05:11:23 +0000 (05:11 +0000)]
malloc as much as possible on slab

14 years agoallow strict adherence to RFC4370 wrt/ control criticality (ITS#6523)
Pierangelo Masarati [Wed, 14 Apr 2010 21:37:03 +0000 (21:37 +0000)]
allow strict adherence to RFC4370 wrt/ control criticality (ITS#6523)

14 years agoserial can be longer than ber_int_t (ITS#6460)
Pierangelo Masarati [Wed, 14 Apr 2010 20:26:24 +0000 (20:26 +0000)]
serial can be longer than ber_int_t (ITS#6460)

14 years agoproperly initialize acl_attrval_style (ITS#6520)
Pierangelo Masarati [Wed, 14 Apr 2010 17:01:39 +0000 (17:01 +0000)]
properly initialize acl_attrval_style (ITS#6520)

14 years agoITS#6519 don't replicate purge deletes
Howard Chu [Tue, 13 Apr 2010 23:28:35 +0000 (23:28 +0000)]
ITS#6519 don't replicate purge deletes

14 years agohappy belated New Year
Kurt Zeilenga [Tue, 13 Apr 2010 22:17:29 +0000 (22:17 +0000)]
happy belated New Year

14 years agoForced commit - previous (rev 1.169) was ITS#6474, not 6467
Hallvard Furuseth [Tue, 13 Apr 2010 21:23:10 +0000 (21:23 +0000)]
Forced commit - previous (rev 1.169) was ITS#6474, not 6467

14 years agounion of operation-specific data in LDIFRecord (ITS#6194, by Rich Megginson)
Pierangelo Masarati [Tue, 13 Apr 2010 07:37:59 +0000 (07:37 +0000)]
union of operation-specific data in LDIFRecord (ITS#6194, by Rich Megginson)

14 years agofix libraries order to build with --enable-dynamic (ITS#6517)
Pierangelo Masarati [Tue, 13 Apr 2010 07:36:34 +0000 (07:36 +0000)]
fix libraries order to build with --enable-dynamic (ITS#6517)

14 years agouse slab memory as much as possible
Pierangelo Masarati [Tue, 13 Apr 2010 05:03:34 +0000 (05:03 +0000)]
use slab memory as much as possible

14 years agoCleanup prev commit
Howard Chu [Mon, 12 Apr 2010 20:21:13 +0000 (20:21 +0000)]
Cleanup prev commit

14 years agohandle ordered values as appropriate (ITS#6516)
Pierangelo Masarati [Mon, 12 Apr 2010 18:01:37 +0000 (18:01 +0000)]
handle ordered values as appropriate (ITS#6516)

14 years agodon't free before use
Pierangelo Masarati [Mon, 12 Apr 2010 16:24:01 +0000 (16:24 +0000)]
don't free before use

14 years agouse slab allocation
Pierangelo Masarati [Mon, 12 Apr 2010 07:44:56 +0000 (07:44 +0000)]
use slab allocation

14 years agomove getpassphrase inside tool_bind; make sure password is always malloc'd and freed
Pierangelo Masarati [Mon, 12 Apr 2010 04:06:13 +0000 (04:06 +0000)]
move getpassphrase inside tool_bind; make sure password is always malloc'd and freed

14 years agofree LDIF handler in case of failure
Pierangelo Masarati [Mon, 12 Apr 2010 03:42:29 +0000 (03:42 +0000)]
free LDIF handler in case of failure

14 years agoIn tmp_rsa_cb, new API is in 0.9.8 inclusive, not exclusive
Howard Chu [Mon, 12 Apr 2010 03:21:05 +0000 (03:21 +0000)]
In tmp_rsa_cb, new API is in 0.9.8 inclusive, not exclusive

14 years agoITS#6488 update from nss-ldapd to nss-pam-ldapd, refer to nss-pam-ldapd
Howard Chu [Mon, 12 Apr 2010 03:04:02 +0000 (03:04 +0000)]
ITS#6488 update from nss-ldapd to nss-pam-ldapd, refer to nss-pam-ldapd
home page instead of bundling the full code

14 years agoITS#6432 updated MozNSS context and PEM support
Howard Chu [Mon, 12 Apr 2010 02:44:28 +0000 (02:44 +0000)]
ITS#6432 updated MozNSS context and PEM support

14 years agofix previous commit
Pierangelo Masarati [Mon, 12 Apr 2010 02:28:40 +0000 (02:28 +0000)]
fix previous commit

14 years ago(ITS#6194) Patch - Enhancement - provide LDIF support as libldif
Pierangelo Masarati [Mon, 12 Apr 2010 02:01:55 +0000 (02:01 +0000)]
(ITS#6194) Patch - Enhancement - provide LDIF support as libldif

14 years agobackout unintended commit commit
Pierangelo Masarati [Mon, 12 Apr 2010 00:08:11 +0000 (00:08 +0000)]
backout unintended commit commit

14 years agofix previous commit
Pierangelo Masarati [Mon, 12 Apr 2010 00:06:45 +0000 (00:06 +0000)]
fix previous commit

14 years agofix previous commit (completely screwed, sorry)
Pierangelo Masarati [Sat, 10 Apr 2010 04:36:44 +0000 (04:36 +0000)]
fix previous commit (completely screwed, sorry)

14 years agoadd support for allowedChildClasses, allowedChildClassesEffective: the former basical...
Pierangelo Masarati [Sat, 10 Apr 2010 04:02:46 +0000 (04:02 +0000)]
add support for allowedChildClasses, allowedChildClassesEffective: the former basically consists of all structural objectClasses, the latter is identical if the user can write 'children', absent otherwise

14 years agodocument idassert-passthru (ITS#456)
Pierangelo Masarati [Sat, 10 Apr 2010 01:25:21 +0000 (01:25 +0000)]
document idassert-passthru (ITS#456)

14 years agomake room for further modules
Pierangelo Masarati [Sat, 10 Apr 2010 00:11:03 +0000 (00:11 +0000)]
make room for further modules

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