]> git.sur5r.net Git - openldap/log
openldap
13 years agoPlug one-time LDAPMessage leak
Hallvard Furuseth [Mon, 20 Dec 2010 12:39:48 +0000 (12:39 +0000)]
Plug one-time LDAPMessage leak

13 years agoPlug mutex/rwlock leaks (destroy them)
Hallvard Furuseth [Mon, 20 Dec 2010 10:57:06 +0000 (10:57 +0000)]
Plug mutex/rwlock leaks (destroy them)

13 years agoPlug memory leaks
Hallvard Furuseth [Mon, 20 Dec 2010 10:51:14 +0000 (10:51 +0000)]
Plug memory leaks

13 years agoITS#6752 Remove OpenLDAP 2.[23] dynlist code
Hallvard Furuseth [Mon, 20 Dec 2010 10:25:11 +0000 (10:25 +0000)]
ITS#6752 Remove OpenLDAP 2.[23] dynlist code

13 years agoITS#6752 Handle REP_ENTRY_* flags correctly
Hallvard Furuseth [Mon, 20 Dec 2010 10:22:19 +0000 (10:22 +0000)]
ITS#6752 Handle REP_ENTRY_* flags correctly

13 years agoITS#6752 Fix dynlist Compare callback
Hallvard Furuseth [Mon, 20 Dec 2010 10:20:38 +0000 (10:20 +0000)]
ITS#6752 Fix dynlist Compare callback
Replace dynlist_sc_save_entry() with dynlist_sc_compare_entry() which
compares instead of saves the entry.  Check rs->sr_type == REP_SEARCH.

13 years agoITS#6752 dynlist: Do less work, simplify a bit.
Hallvard Furuseth [Mon, 20 Dec 2010 10:19:21 +0000 (10:19 +0000)]
ITS#6752 dynlist: Do less work, simplify a bit.
Rearrange dynlist_compare(), tweak dynlist_response().

13 years agoAdd basic client
Kurt Zeilenga [Wed, 15 Dec 2010 01:41:30 +0000 (01:41 +0000)]
Add basic client

13 years agoMisc vc updates
Kurt Zeilenga [Wed, 15 Dec 2010 00:59:42 +0000 (00:59 +0000)]
Misc vc updates

13 years agoAdd comment regarding ASN.1 syntax
Kurt Zeilenga [Tue, 14 Dec 2010 22:09:50 +0000 (22:09 +0000)]
Add comment regarding ASN.1 syntax
rm version field

13 years agoFix typo
Kurt Zeilenga [Tue, 14 Dec 2010 21:51:49 +0000 (21:51 +0000)]
Fix typo

13 years agoVery back ldapvc (verify credentials) client
Kurt Zeilenga [Tue, 14 Dec 2010 21:39:08 +0000 (21:39 +0000)]
Very back ldapvc (verify credentials) client

13 years agoshould be .5
Kurt Zeilenga [Tue, 14 Dec 2010 21:38:31 +0000 (21:38 +0000)]
should be .5

13 years agoAssign experimental OID
Kurt Zeilenga [Tue, 14 Dec 2010 21:37:41 +0000 (21:37 +0000)]
Assign experimental OID

13 years agocleanup
Kurt Zeilenga [Tue, 14 Dec 2010 21:14:31 +0000 (21:14 +0000)]
cleanup

13 years agoLDAP "Verify Credentials" operation
Kurt Zeilenga [Tue, 14 Dec 2010 20:58:02 +0000 (20:58 +0000)]
LDAP "Verify Credentials" operation

Client library implementation only

13 years agofix perror
Kurt Zeilenga [Tue, 14 Dec 2010 18:20:43 +0000 (18:20 +0000)]
fix perror

13 years agoUse ldap_parse_whoami
Kurt Zeilenga [Tue, 14 Dec 2010 18:17:28 +0000 (18:17 +0000)]
Use ldap_parse_whoami

13 years agoITS#6748 Drop possibly-broken memberof log message
Hallvard Furuseth [Tue, 14 Dec 2010 15:26:42 +0000 (15:26 +0000)]
ITS#6748 Drop possibly-broken memberof log message

13 years agoITS#6747 Fix LDAP_CONNECTIONLESS Debug(), warnings
Hallvard Furuseth [Tue, 14 Dec 2010 15:06:32 +0000 (15:06 +0000)]
ITS#6747 Fix LDAP_CONNECTIONLESS Debug(), warnings

13 years agoITS#6746: Preserve error code, plug entry leak
Hallvard Furuseth [Tue, 14 Dec 2010 13:35:42 +0000 (13:35 +0000)]
ITS#6746: Preserve error code, plug entry leak

13 years agoReduced debug level, the default logs more than 1Gb.
Rein Tollevik [Sun, 12 Dec 2010 18:20:51 +0000 (18:20 +0000)]
Reduced debug level, the default logs more than 1Gb.

13 years agoITS#6716: Keep sessionlog sorted by csn, compare mincsn with head.
Rein Tollevik [Sun, 12 Dec 2010 18:12:05 +0000 (18:12 +0000)]
ITS#6716: Keep sessionlog sorted by csn, compare mincsn with head.

13 years agoITS#6714 non-blocking support from Richard Megginson @ Red Hat
Howard Chu [Sat, 11 Dec 2010 04:57:10 +0000 (04:57 +0000)]
ITS#6714 non-blocking support from Richard Megginson @ Red Hat

13 years agoCleanup prev commit
Howard Chu [Sat, 11 Dec 2010 04:51:21 +0000 (04:51 +0000)]
Cleanup prev commit

13 years agoITS#6744 - plug leak
Howard Chu [Sat, 11 Dec 2010 04:35:01 +0000 (04:35 +0000)]
ITS#6744 - plug leak

13 years agoPartial fix for non-string types in cert DNs. (Need to add explicit support
Howard Chu [Fri, 10 Dec 2010 02:05:18 +0000 (02:05 +0000)]
Partial fix for non-string types in cert DNs. (Need to add explicit support
for Bitstring, maybe a few others.)

13 years agore-fix ITS#6645 commit
Pierangelo Masarati [Tue, 7 Dec 2010 11:58:38 +0000 (11:58 +0000)]
re-fix ITS#6645 commit

13 years agofix ITS#6645 commit
Pierangelo Masarati [Tue, 7 Dec 2010 11:55:27 +0000 (11:55 +0000)]
fix ITS#6645 commit

13 years agomove ctxcsn and schema check code in helpers; also apply to slapmodify (ITS#6737)
Pierangelo Masarati [Tue, 7 Dec 2010 10:50:54 +0000 (10:50 +0000)]
move ctxcsn and schema check code in helpers; also apply to slapmodify (ITS#6737)

13 years agoallow to set LDIF max line width (ITS#6645)
Pierangelo Masarati [Tue, 7 Dec 2010 10:14:51 +0000 (10:14 +0000)]
allow to set LDIF max line width (ITS#6645)

13 years agotypo in comment
Pierangelo Masarati [Tue, 7 Dec 2010 10:11:06 +0000 (10:11 +0000)]
typo in comment

13 years agoITS#6625 Remove some LDAP_R_COMPILEs
Hallvard Furuseth [Mon, 6 Dec 2010 11:31:58 +0000 (11:31 +0000)]
ITS#6625 Remove some LDAP_R_COMPILEs

13 years agoFix ITS#6625: mutex-protect ldap_free_connection()
Hallvard Furuseth [Mon, 6 Dec 2010 10:51:55 +0000 (10:51 +0000)]
Fix ITS#6625: mutex-protect ldap_free_connection()

13 years agoITS#6625 Invert test in NT threads LDAP_INT_MUTEX_FIRSTCREATE
Hallvard Furuseth [Mon, 6 Dec 2010 10:48:29 +0000 (10:48 +0000)]
ITS#6625 Invert test in NT threads LDAP_INT_MUTEX_FIRSTCREATE

13 years agoITS#6625 concurrency patch cleanup
Hallvard Furuseth [Mon, 6 Dec 2010 10:41:41 +0000 (10:41 +0000)]
ITS#6625 concurrency patch cleanup

13 years agoFor ITS#6739: Fix last commit (private debuging)
Hallvard Furuseth [Mon, 6 Dec 2010 09:27:30 +0000 (09:27 +0000)]
For ITS#6739: Fix last commit (private debuging)

13 years agoFor ITS#6739: Move variables into do_syncrep2 loop
Hallvard Furuseth [Mon, 6 Dec 2010 09:23:44 +0000 (09:23 +0000)]
For ITS#6739: Move variables into do_syncrep2 loop

13 years agoSilence valgrind's ptrcheck (no real change).
Hallvard Furuseth [Mon, 6 Dec 2010 08:19:40 +0000 (08:19 +0000)]
Silence valgrind's ptrcheck (no real change).
Also removes a bit unnecessary code.

13 years agoITS#6736: Delay destruction of slap_listeners[]
Hallvard Furuseth [Mon, 6 Dec 2010 08:17:00 +0000 (08:17 +0000)]
ITS#6736: Delay destruction of slap_listeners[]

13 years agoITS#6735 Fix uninitialized filter in slapd-tester
Hallvard Furuseth [Sat, 4 Dec 2010 18:58:20 +0000 (18:58 +0000)]
ITS#6735 Fix uninitialized filter in slapd-tester

13 years agoFix rev 1.270: free def_urlpre correctly. Also free urlpre.
Hallvard Furuseth [Sat, 4 Dec 2010 18:53:04 +0000 (18:53 +0000)]
Fix rev 1.270: free def_urlpre correctly.  Also free urlpre.

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.

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

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

13 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"

13 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

13 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

13 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

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

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

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

13 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()

13 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).

13 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

13 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

13 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

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

13 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()

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

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

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

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

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

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

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

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

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

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

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

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

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

13 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

13 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

13 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

13 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

13 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

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

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

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

13 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

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

13 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

13 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

13 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

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

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

13 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