]> git.sur5r.net Git - openldap/log
openldap
13 years agoverify credentials extop: support for simple bind
Pierangelo Masarati [Thu, 30 Dec 2010 15:49:34 +0000 (15:49 +0000)]
verify credentials extop: support for simple bind

13 years agos/VCRequest/VCResponse/
Pierangelo Masarati [Thu, 30 Dec 2010 14:12:26 +0000 (14:12 +0000)]
s/VCRequest/VCResponse/

13 years agoFix prototype to match code
Kurt Zeilenga [Tue, 28 Dec 2010 22:59:15 +0000 (22:59 +0000)]
Fix prototype to match code

13 years agoITS#6686 Fix last commit (declaration after code)
Hallvard Furuseth [Tue, 28 Dec 2010 15:59:48 +0000 (15:59 +0000)]
ITS#6686 Fix last commit (declaration after code)

13 years agoITS#6742 from Rich Megginson @ Red Hat
Howard Chu [Fri, 24 Dec 2010 00:29:31 +0000 (00:29 +0000)]
ITS#6742 from Rich Megginson @ Red Hat

13 years agoITS#6453 cleanup on LDAP_TIMEOUT
Howard Chu [Thu, 23 Dec 2010 23:18:41 +0000 (23:18 +0000)]
ITS#6453 cleanup on LDAP_TIMEOUT

13 years agoITS#6547 latest from FSF http://savannah.gnu.org/git/?group=config
Howard Chu [Thu, 23 Dec 2010 22:55:16 +0000 (22:55 +0000)]
ITS#6547 latest from FSF http://savannah.gnu.org/git/?group=config

13 years agoITS#6686 add multiple sorts per connection, from Raphael Ouazana @ Linagora
Howard Chu [Thu, 23 Dec 2010 22:29:57 +0000 (22:29 +0000)]
ITS#6686 add multiple sorts per connection, from Raphael Ouazana @ Linagora

13 years agoITS#6681 fix examples. Hopefully admins are smart enough to insert
Howard Chu [Thu, 23 Dec 2010 22:03:49 +0000 (22:03 +0000)]
ITS#6681 fix examples. Hopefully admins are smart enough to insert
the correct uid themselves.

13 years agoMove assertion checking to slap_compare_entry()
Howard Chu [Thu, 23 Dec 2010 21:53:05 +0000 (21:53 +0000)]
Move assertion checking to slap_compare_entry()

13 years agoITS#6753 use slap_compare_entry()
Howard Chu [Thu, 23 Dec 2010 21:45:36 +0000 (21:45 +0000)]
ITS#6753 use slap_compare_entry()

13 years agoITS#6573 export compare_entry as slap_compare_entry()
Howard Chu [Thu, 23 Dec 2010 21:36:57 +0000 (21:36 +0000)]
ITS#6573 export compare_entry as slap_compare_entry()

13 years agoCleanup for #6660
Howard Chu [Thu, 23 Dec 2010 04:40:57 +0000 (04:40 +0000)]
Cleanup for #6660

13 years agoITS#6660 preliminary fix. debug additions need to be cleaned up.
Howard Chu [Thu, 23 Dec 2010 00:16:19 +0000 (00:16 +0000)]
ITS#6660 preliminary fix. debug additions need to be cleaned up.

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.

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