]> git.sur5r.net Git - openldap/log
openldap
13 years agoITS#6733: Fix LDAP_MEMORY_DEBUG issues.
Hallvard Furuseth [Fri, 3 Dec 2010 11:44:22 +0000 (11:44 +0000)]
ITS#6733: Fix LDAP_MEMORY_DEBUG issues.
ber_memcalloc_x overflow check.  Silence some compiler warnings.

13 years agoFix rev 1.132 (ITS#6632): Initialize all of roc in rwm_callback_get()
Hallvard Furuseth [Fri, 3 Dec 2010 10:08:59 +0000 (10:08 +0000)]
Fix rev 1.132 (ITS#6632): Initialize all of roc in rwm_callback_get()

13 years agoITS#6732: Clean up ber_errno handling.
Hallvard Furuseth [Thu, 2 Dec 2010 13:18:32 +0000 (13:18 +0000)]
ITS#6732: Clean up ber_errno handling.
Set it after ber_mem(c)alloc_x failure.  Don't set it when not needed.

13 years agoITS#6620: Don't delete absent pwdChangedTime.
Hallvard Furuseth [Thu, 2 Dec 2010 12:19:31 +0000 (12:19 +0000)]
ITS#6620: Don't delete absent pwdChangedTime.
Based on patch by Martin Evans.

13 years agoITS#6731: Fix scrambled back-ldif error strings.
Hallvard Furuseth [Thu, 2 Dec 2010 10:24:19 +0000 (10:24 +0000)]
ITS#6731: Fix scrambled back-ldif error strings.
* Move apply_modify_to_entry():textbuf[] into caller.
* Reset rs->sr_text at end of functions that can set it to textbuf.

13 years agoITS#6364: Document that refint needs rootdn
Hallvard Furuseth [Wed, 1 Dec 2010 12:20:04 +0000 (12:20 +0000)]
ITS#6364: Document that refint needs rootdn

13 years agoITS#6730: Only update modifiersName once per entry
Hallvard Furuseth [Wed, 1 Dec 2010 11:21:29 +0000 (11:21 +0000)]
ITS#6730: Only update modifiersName once per entry

13 years agoITS#6730: Fix missing refint updates with subtrees/subordinates
Hallvard Furuseth [Wed, 1 Dec 2010 11:19:17 +0000 (11:19 +0000)]
ITS#6730: Fix missing refint updates with subtrees/subordinates

13 years agoITS#6663: Fix refint_nothing.
Hallvard Furuseth [Wed, 1 Dec 2010 10:48:43 +0000 (10:48 +0000)]
ITS#6663: Fix refint_nothing.
Also move callback trace output out of inner loop in callback.

13 years agotest slap_dontUseCopy_propnames (ITS#6729)
Pierangelo Masarati [Wed, 1 Dec 2010 10:41:05 +0000 (10:41 +0000)]
test slap_dontUseCopy_propnames (ITS#6729)

13 years agofix double free related to ITS#6720
Pierangelo Masarati [Mon, 29 Nov 2010 16:03:43 +0000 (16:03 +0000)]
fix double free related to ITS#6720

13 years agoFix a comment
Hallvard Furuseth [Sun, 28 Nov 2010 18:20:54 +0000 (18:20 +0000)]
Fix a comment

13 years agoAdd/fix comments. No other change.
Hallvard Furuseth [Sun, 28 Nov 2010 18:04:22 +0000 (18:04 +0000)]
Add/fix comments.  No other change.

14 years agoremove #ifdef EAGAIN, EWOULDBLOCK (ITS#6603)
Pierangelo Masarati [Wed, 24 Nov 2010 14:47:46 +0000 (14:47 +0000)]
remove #ifdef EAGAIN, EWOULDBLOCK (ITS#6603)

14 years agoITS#6532 Support extensible match=...OrderingMatch
Hallvard Furuseth [Wed, 24 Nov 2010 13:10:29 +0000 (13:10 +0000)]
ITS#6532 Support extensible match=...OrderingMatch
Handles:  caseExactOrderingMatch, generalizedTimeOrderingMatch,
         caseIgnoreOrderingMatch,         integerOrderingMatch,
        octetStringOrderingMatch,   numericStringOrderingMatch.
Based on patch from Daniel Pluta.

14 years agoFor ITS#5421: Remove unnecessary #include "ldap_log.h"
Hallvard Furuseth [Tue, 23 Nov 2010 15:25:49 +0000 (15:25 +0000)]
For ITS#5421: Remove unnecessary #include "ldap_log.h"

14 years agoITS#6723: Handle EOF in test programs
Hallvard Furuseth [Tue, 23 Nov 2010 12:12:54 +0000 (12:12 +0000)]
ITS#6723: Handle EOF in test programs

14 years agoITS#6722: Fix some matching rules to ensure strict ordering
Hallvard Furuseth [Tue, 23 Nov 2010 11:17:40 +0000 (11:17 +0000)]
ITS#6722: Fix some matching rules to ensure strict ordering
booleanMatch, octetStringMatch, octetStringOrderingMatch, uniqueMemberMatch

14 years agoITS#6721: Fix uninitialized tv_usec from ITS#6282
Hallvard Furuseth [Tue, 23 Nov 2010 10:10:45 +0000 (10:10 +0000)]
ITS#6721: Fix uninitialized tv_usec from ITS#6282

14 years agoWarning cleanup
Hallvard Furuseth [Mon, 22 Nov 2010 15:44:11 +0000 (15:44 +0000)]
Warning cleanup
Avoid "cast pointer to int of different size" warning by passing
the int arg to new threads as an offset into rtid/rwtid.

14 years agoSome cleanup
Hallvard Furuseth [Mon, 22 Nov 2010 15:26:17 +0000 (15:26 +0000)]
Some cleanup

14 years agoSilence gcc -Wsign-compare (no real change)
Hallvard Furuseth [Mon, 22 Nov 2010 13:45:11 +0000 (13:45 +0000)]
Silence gcc -Wsign-compare (no real change)

14 years agoFor ITS#5421: Also LBER_FREE() -> ber_memfree()
Hallvard Furuseth [Mon, 22 Nov 2010 13:14:29 +0000 (13:14 +0000)]
For ITS#5421: Also LBER_FREE() -> ber_memfree()

14 years agoFor ITS#5421: Remove ldap-int.h dependencies.
Hallvard Furuseth [Mon, 22 Nov 2010 12:51:44 +0000 (12:51 +0000)]
For ITS#5421: Remove ldap-int.h dependencies.
LDAP_FREE() -> ber_memfree(), msg->lm_ber -> ldap_get_message_ber(msg).

14 years agoFix last commit (ITS#6622): Remove non-C90 // comment
Hallvard Furuseth [Mon, 22 Nov 2010 12:28:34 +0000 (12:28 +0000)]
Fix last commit (ITS#6622): Remove non-C90 // comment

14 years agoFix typo $backend -> $BACKEND in message
Hallvard Furuseth [Mon, 22 Nov 2010 12:21:08 +0000 (12:21 +0000)]
Fix typo $backend -> $BACKEND in message

14 years agoITS#6715 cleanup: Handle attr_valfind(0 values) when SLAP_ATTR_SORTED_VALS
Hallvard Furuseth [Mon, 22 Nov 2010 12:16:08 +0000 (12:16 +0000)]
ITS#6715 cleanup: Handle attr_valfind(0 values) when SLAP_ATTR_SORTED_VALS

14 years agoinitialize rc in syncrepl_add_glue_ancestors (ITS#6719)
Pierangelo Masarati [Mon, 22 Nov 2010 12:09:45 +0000 (12:09 +0000)]
initialize rc in syncrepl_add_glue_ancestors (ITS#6719)

14 years agoNo-op change for ITS#6715: help compiler a bit in attr_valfind()
Hallvard Furuseth [Mon, 22 Nov 2010 12:09:43 +0000 (12:09 +0000)]
No-op change for ITS#6715: help compiler a bit in attr_valfind()

14 years agoITS#6718: Send NEW_COOKIE messages to all consumers.
Rein Tollevik [Sun, 21 Nov 2010 19:00:38 +0000 (19:00 +0000)]
ITS#6718: Send NEW_COOKIE messages to all consumers.

14 years agoITS#6710: Force clients to refresh if context is dirty.
Rein Tollevik [Sun, 21 Nov 2010 17:56:09 +0000 (17:56 +0000)]
ITS#6710: Force clients to refresh if context is dirty.

14 years agoITS#6709: Wait for active mods to finish before initiating new consumers.
Rein Tollevik [Sun, 21 Nov 2010 15:31:38 +0000 (15:31 +0000)]
ITS#6709: Wait for active mods to finish before initiating new consumers.

14 years agoSupport back-null
Hallvard Furuseth [Fri, 19 Nov 2010 15:20:53 +0000 (15:20 +0000)]
Support back-null

14 years agoSupport statically linked syncprov
Hallvard Furuseth [Fri, 19 Nov 2010 14:33:22 +0000 (14:33 +0000)]
Support statically linked syncprov

14 years agoSupport configure --disable-monitor
Hallvard Furuseth [Fri, 19 Nov 2010 13:32:33 +0000 (13:32 +0000)]
Support configure --disable-monitor

14 years agoFix cyrus.c rev 1.159 for --without-cyrus-sasl:
Hallvard Furuseth [Fri, 19 Nov 2010 12:32:05 +0000 (12:32 +0000)]
Fix cyrus.c rev 1.159 for --without-cyrus-sasl:
It modified ldap_int_sasl_bind()'s prototype with but not without SASL.

14 years agoITS#6715: Fix slap_sort_vals(attr with 1 value)
Hallvard Furuseth [Fri, 19 Nov 2010 12:21:34 +0000 (12:21 +0000)]
ITS#6715: Fix slap_sort_vals(attr with 1 value)

Also rearrange slightly to silence gcc -Wuninitialized, get a single
exit point, and skip the unnecessary sorting of the single value.

14 years agofix previous commit (ITS#6712)
Pierangelo Masarati [Thu, 18 Nov 2010 11:54:23 +0000 (11:54 +0000)]
fix previous commit (ITS#6712)

14 years agodo not add hasSubordinates if already present (blind-fixes ITS#6712 for back-monitor)
Pierangelo Masarati [Thu, 18 Nov 2010 11:53:59 +0000 (11:53 +0000)]
do not add hasSubordinates if already present (blind-fixes ITS#6712 for back-monitor)

14 years agodo not add hasSubordinates if already present (blind-fixes ITS#6712 for back-sql)
Pierangelo Masarati [Thu, 18 Nov 2010 11:51:15 +0000 (11:51 +0000)]
do not add hasSubordinates if already present (blind-fixes ITS#6712 for back-sql)

14 years agodo not add hasSubordinates if already present (blind-fixes ITS#6712 for back-ndb)
Pierangelo Masarati [Thu, 18 Nov 2010 11:46:18 +0000 (11:46 +0000)]
do not add hasSubordinates if already present (blind-fixes ITS#6712 for back-ndb)

14 years agodo not add hasSubordinates if already present (fixes ITS#6712 for back-bdb/hdb, other...
Pierangelo Masarati [Thu, 18 Nov 2010 11:33:47 +0000 (11:33 +0000)]
do not add hasSubordinates if already present (fixes ITS#6712 for back-bdb/hdb, other backends may need work)

14 years agoITS#6706 from Rich Megginson @ Red Hat - improve diagnostic messages
Howard Chu [Mon, 15 Nov 2010 20:47:24 +0000 (20:47 +0000)]
ITS#6706 from Rich Megginson @ Red Hat - improve diagnostic messages

14 years agoITS#6705 from Rich Megginson @ Red Hat - only use .0 files in cacertdir
Howard Chu [Mon, 15 Nov 2010 20:45:47 +0000 (20:45 +0000)]
ITS#6705 from Rich Megginson @ Red Hat - only use .0 files in cacertdir

14 years agoITS#6704 from Rich Megginson @ Red Hat - use both cacert and cacertdir
Howard Chu [Mon, 15 Nov 2010 20:44:32 +0000 (20:44 +0000)]
ITS#6704 from Rich Megginson @ Red Hat - use both cacert and cacertdir

14 years agoITS#6703 from Rich Megginson @ Red Hat - reject non-files for cert/key pem files
Howard Chu [Mon, 15 Nov 2010 20:43:53 +0000 (20:43 +0000)]
ITS#6703 from Rich Megginson @ Red Hat - reject non-files for cert/key pem files

14 years agoITS#6693 value dependent ACL didn't work when they were the first ACL
Ralf Haferkamp [Mon, 15 Nov 2010 16:27:56 +0000 (16:27 +0000)]
ITS#6693 value dependent ACL didn't work when they were the first ACL

14 years agoITS#6708: Mutex protect fixing the filter.
Rein Tollevik [Mon, 15 Nov 2010 15:42:06 +0000 (15:42 +0000)]
ITS#6708: Mutex protect fixing the filter.

14 years agoITS#6707: Free the presentlist (if any) before connecting.
Rein Tollevik [Mon, 15 Nov 2010 14:15:46 +0000 (14:15 +0000)]
ITS#6707: Free the presentlist (if any) before connecting.

14 years agoAdded bdb/hdb checkpoint directive. Fixed typo.
Rein Tollevik [Mon, 15 Nov 2010 12:20:06 +0000 (12:20 +0000)]
Added bdb/hdb checkpoint directive. Fixed typo.

14 years agofix slapo-chain startup issue when using back-config, related to ITS#6540
Pierangelo Masarati [Sun, 14 Nov 2010 23:53:54 +0000 (23:53 +0000)]
fix slapo-chain startup issue when using back-config, related to ITS#6540

14 years agoTest initiation of the syncreplication refresh phase.
Rein Tollevik [Sun, 14 Nov 2010 21:47:57 +0000 (21:47 +0000)]
Test initiation of the syncreplication refresh phase.

14 years agoITS#6699 search references must turn onelevel scope to base
Howard Chu [Fri, 12 Nov 2010 04:35:49 +0000 (04:35 +0000)]
ITS#6699 search references must turn onelevel scope to base

14 years agoITS#6702 prompts should be on stderr
Howard Chu [Fri, 12 Nov 2010 04:15:23 +0000 (04:15 +0000)]
ITS#6702 prompts should be on stderr

14 years agoITS#6698 check for BDB 5.x
Howard Chu [Thu, 11 Nov 2010 10:58:00 +0000 (10:58 +0000)]
ITS#6698 check for BDB 5.x

14 years agoUnregister VLV control as well when last overlay instance
Ralf Haferkamp [Thu, 4 Nov 2010 12:13:26 +0000 (12:13 +0000)]
Unregister VLV control as well when last overlay instance
is removed (additional fix for ITS#6647)

14 years agoAdded -VVV to usage output
Ralf Haferkamp [Mon, 1 Nov 2010 15:20:39 +0000 (15:20 +0000)]
Added -VVV to usage output

14 years agoList static overlays/backends when started with -VVV
Ralf Haferkamp [Mon, 1 Nov 2010 14:51:23 +0000 (14:51 +0000)]
List static overlays/backends when started with -VVV

14 years agoITS#6689 from Rich Megginson @ Red Hat
Howard Chu [Fri, 29 Oct 2010 10:30:30 +0000 (10:30 +0000)]
ITS#6689 from Rich Megginson @ Red Hat

14 years agoAllow all common controls (namely for ppolicy)
Kurt Zeilenga [Wed, 27 Oct 2010 01:00:47 +0000 (01:00 +0000)]
Allow all common controls (namely for ppolicy)

14 years agoITS#6685 fix result code tag
Howard Chu [Tue, 26 Oct 2010 00:59:10 +0000 (00:59 +0000)]
ITS#6685 fix result code tag

14 years agoUse URIs, not host/port combos. Allows testing ldapi://
Howard Chu [Sun, 24 Oct 2010 00:01:37 +0000 (00:01 +0000)]
Use URIs, not host/port combos. Allows testing ldapi://

14 years agoFix typo
Howard Chu [Sun, 24 Oct 2010 00:01:11 +0000 (00:01 +0000)]
Fix typo

14 years agoforced commit
Howard Chu [Sat, 23 Oct 2010 12:03:41 +0000 (12:03 +0000)]
forced commit

14 years agoCommit again, with execute privs
Howard Chu [Sat, 23 Oct 2010 12:03:18 +0000 (12:03 +0000)]
Commit again, with execute privs

14 years agoTry again...
Howard Chu [Sat, 23 Oct 2010 12:02:29 +0000 (12:02 +0000)]
Try again...

14 years agoITS#6625 concurrency patch from Doug Leavitt @ Oracle .com
Howard Chu [Fri, 22 Oct 2010 21:45:48 +0000 (21:45 +0000)]
ITS#6625 concurrency patch from Doug Leavitt @ Oracle .com

14 years agoplugin for retrieving and updating KRB5 TGT
Ralf Haferkamp [Fri, 22 Oct 2010 14:31:56 +0000 (14:31 +0000)]
plugin for retrieving and updating KRB5 TGT

14 years agoRemoved unused variables
Ralf Haferkamp [Tue, 19 Oct 2010 10:48:21 +0000 (10:48 +0000)]
Removed unused variables

14 years agoITS#6677 moved one more #endif, addtional fix for previous commit
Ralf Haferkamp [Tue, 19 Oct 2010 10:47:41 +0000 (10:47 +0000)]
ITS#6677 moved one more #endif, addtional fix for previous commit

14 years agoITS#6677 move #endif
Howard Chu [Sun, 17 Oct 2010 01:36:47 +0000 (01:36 +0000)]
ITS#6677 move #endif

14 years agoITS#6676 only close/unlink socket in Server mode
Howard Chu [Sat, 16 Oct 2010 12:14:49 +0000 (12:14 +0000)]
ITS#6676 only close/unlink socket in Server mode

14 years agoITS#6673 GnuTLS hangs if you tell it to shut the read direction. Just
Howard Chu [Sat, 16 Oct 2010 12:11:11 +0000 (12:11 +0000)]
ITS#6673 GnuTLS hangs if you tell it to shut the read direction. Just
shut the write direction; it will all be irrelevant since the socket
will be closed immediately after.

14 years agoFix prev commit
Howard Chu [Fri, 15 Oct 2010 13:53:12 +0000 (13:53 +0000)]
Fix prev commit

14 years agoCleanup prev commit
Howard Chu [Thu, 14 Oct 2010 03:11:26 +0000 (03:11 +0000)]
Cleanup prev commit

14 years agoadd ldap_sasl_interactive_bind()
Howard Chu [Thu, 14 Oct 2010 01:59:16 +0000 (01:59 +0000)]
add ldap_sasl_interactive_bind()

14 years agoMore for prev commit. What about ldap_pvt_sasl_getmechs() ?
Howard Chu [Thu, 14 Oct 2010 01:47:09 +0000 (01:47 +0000)]
More for prev commit. What about ldap_pvt_sasl_getmechs() ?

14 years agoAdd ldap_sasl_interactive_bind()
Howard Chu [Thu, 14 Oct 2010 01:29:32 +0000 (01:29 +0000)]
Add ldap_sasl_interactive_bind()

14 years agoITS#6672 mutex cleanup
Howard Chu [Wed, 13 Oct 2010 08:43:15 +0000 (08:43 +0000)]
ITS#6672 mutex cleanup

14 years agoITS#6669 remove obsolete SunOS4 LWP support
Howard Chu [Tue, 12 Oct 2010 11:02:59 +0000 (11:02 +0000)]
ITS#6669 remove obsolete SunOS4 LWP support

14 years agoITS#6669 regenerate without LWP
Howard Chu [Tue, 12 Oct 2010 10:33:58 +0000 (10:33 +0000)]
ITS#6669 regenerate without LWP

14 years agoITS#6669 remove obsolete SunOS4 LWP support
Howard Chu [Tue, 12 Oct 2010 10:26:31 +0000 (10:26 +0000)]
ITS#6669 remove obsolete SunOS4 LWP support

14 years agoset rebind proc if needed and bind succeeds (ITS#6665)
Pierangelo Masarati [Fri, 8 Oct 2010 22:42:55 +0000 (22:42 +0000)]
set rebind proc if needed and bind succeeds (ITS#6665)

14 years agodo not expose control until sssvlv overlay is actually instantiated at least once...
Pierangelo Masarati [Wed, 6 Oct 2010 08:24:45 +0000 (08:24 +0000)]
do not expose control until sssvlv overlay is actually instantiated at least once (ITS#6647)

14 years agoline up with back-bdb/hdb (ITS#6661)
Pierangelo Masarati [Thu, 30 Sep 2010 14:27:26 +0000 (14:27 +0000)]
line up with back-bdb/hdb (ITS#6661)

14 years agodo not assume sr_err == LDAP_SUCCESS; cleanup
Pierangelo Masarati [Thu, 30 Sep 2010 14:26:56 +0000 (14:26 +0000)]
do not assume sr_err == LDAP_SUCCESS; cleanup

14 years agofix previous commit (ITS#6661)
Pierangelo Masarati [Thu, 30 Sep 2010 12:51:15 +0000 (12:51 +0000)]
fix previous commit (ITS#6661)

14 years ago(blind) fix for ITS#6661
Pierangelo Masarati [Wed, 29 Sep 2010 16:34:36 +0000 (16:34 +0000)]
(blind) fix for ITS#6661

14 years agoo_pagedresults_state not freed from slab (only noticeable when built with SLAP_NO_SL_...
Pierangelo Masarati [Tue, 28 Sep 2010 19:57:02 +0000 (19:57 +0000)]
o_pagedresults_state not freed from slab (only noticeable when built with SLAP_NO_SL_MALLOC; could be related to ITS#6660, although unlikely)

14 years agodo not use lutil_atoix() (ITS#6654)
Pierangelo Masarati [Tue, 21 Sep 2010 00:10:44 +0000 (00:10 +0000)]
do not use lutil_atoix() (ITS#6654)

14 years agodon't use lud_host when NULL (ITS#6653, fixed differently)
Pierangelo Masarati [Tue, 21 Sep 2010 00:05:36 +0000 (00:05 +0000)]
don't use lud_host when NULL (ITS#6653, fixed differently)

14 years agonote ITS#6651 fix (forced commit)
Pierangelo Masarati [Sat, 18 Sep 2010 18:30:22 +0000 (18:30 +0000)]
note ITS#6651 fix (forced commit)

14 years agomake sure so is correctly initialized (spotted by valgrind, possibly related to ITS...
Pierangelo Masarati [Sat, 18 Sep 2010 18:27:28 +0000 (18:27 +0000)]
make sure so is correctly initialized (spotted by valgrind, possibly related to ITS#6649)

14 years agofix multiple generic control parsing
Pierangelo Masarati [Sat, 18 Sep 2010 18:24:31 +0000 (18:24 +0000)]
fix multiple generic control parsing

14 years agoITS#6609 fix typos
Howard Chu [Sat, 18 Sep 2010 12:54:35 +0000 (12:54 +0000)]
ITS#6609 fix typos

14 years agoregister/unregister control based on overlay instantiation (indirectly related to...
Pierangelo Masarati [Tue, 14 Sep 2010 18:50:45 +0000 (18:50 +0000)]
register/unregister control based on overlay instantiation (indirectly related to ITS#6647)

14 years agoITS#6639 set sock err to EAGAIN on partial write
Howard Chu [Sun, 12 Sep 2010 10:09:45 +0000 (10:09 +0000)]
ITS#6639 set sock err to EAGAIN on partial write

14 years agocleanup related to ITS#6565 (also plugs a leak)
Pierangelo Masarati [Fri, 10 Sep 2010 22:19:41 +0000 (22:19 +0000)]
cleanup related to ITS#6565 (also plugs a leak)

14 years agoActually, slapd has supported sasl_setpass for many years...
Howard Chu [Fri, 10 Sep 2010 08:57:48 +0000 (08:57 +0000)]
Actually, slapd has supported sasl_setpass for many years...

14 years agoKERBEROS has not been a valid password scheme since 2004...
Howard Chu [Fri, 10 Sep 2010 08:50:39 +0000 (08:50 +0000)]
KERBEROS has not been a valid password scheme since 2004...