]>
git.sur5r.net Git - openldap/log
Hallvard Furuseth [Fri, 31 Dec 2010 10:46:22 +0000 (10:46 +0000)]
ITS#6758 Avoid SlapReply reuse, simple cases.
Caller provides and reuses a SlapReply it does not read after
initialization. So reinitialize or move the declaration inwards.
In case of refint, move the rs parameter into refint_repair().
Hallvard Furuseth [Fri, 31 Dec 2010 09:45:16 +0000 (09:45 +0000)]
ITS#6758 rs_reinit() += slap_reply_t parameter
Hallvard Furuseth [Fri, 31 Dec 2010 09:02:34 +0000 (09:02 +0000)]
ITS#6758 config_build_entry, avoid SlapReply reuse
Do not use the 'SlapReply *rs' passed to config_build_entry(). Instead
pass a new one to op->o_bd->be_add() and copy the output sr_err to rs.
This takes care of most SlapReply reuse in bconfig.c.
Hallvard Furuseth [Fri, 31 Dec 2010 08:45:48 +0000 (08:45 +0000)]
ITS#6758 bconfig.c: ensure sr_text==NULL if sr_err==LDAP_SUCCESS
config_modify_internal(): Do not send rs->sr_text with success.
config_back_modify(): When slap_bv2ad() can set rs->sr_text,
set sr->sr_err too and catch failure.
Howard Chu [Fri, 31 Dec 2010 01:38:24 +0000 (01:38 +0000)]
ITS#6670 partial fix - ignore member/memberof pointing to same entry
Hallvard Furuseth [Fri, 31 Dec 2010 00:04:38 +0000 (00:04 +0000)]
ITS#6758 back-bdb: Delay setting sr->sr_entry until we know it will be used
Hallvard Furuseth [Thu, 30 Dec 2010 23:59:23 +0000 (23:59 +0000)]
ITS#6758 Do not set sr_err=error before be_search.
glue_op_search() set LDAP_UNWILLING_TO_PERFORM before be_search() as
well as when there was no be_search.
Hallvard Furuseth [Thu, 30 Dec 2010 23:55:07 +0000 (23:55 +0000)]
ITS#6758 Reset some SlapReply flags & data.
Reset data more consistenlty. When resetting sr_entry after sending
data, reset sr_flag as well. Reset rs_attrs and Extended Operation
oid/data after setting and sending them.
Hallvard Furuseth [Thu, 30 Dec 2010 23:48:41 +0000 (23:48 +0000)]
noop commit for ITS#6758: simplify future commits
Hallvard Furuseth [Thu, 30 Dec 2010 23:43:12 +0000 (23:43 +0000)]
noop commit for ITS#6758: Remove no-effect code.
Unused variable resets, unused SlapReply parameters to some functions.
Hallvard Furuseth [Thu, 30 Dec 2010 23:34:55 +0000 (23:34 +0000)]
Remove lint (unused vars/labels/funcs/default:s)
Hallvard Furuseth [Thu, 30 Dec 2010 23:32:07 +0000 (23:32 +0000)]
ITS#6758 Add rs_reinit(), rs_flush_entry()
Hallvard Furuseth [Thu, 30 Dec 2010 23:29:46 +0000 (23:29 +0000)]
ITS#6758 Add rs_assert*, RS_ASSERT, USE_RS_ASSERT
Hallvard Furuseth [Thu, 30 Dec 2010 23:19:02 +0000 (23:19 +0000)]
ITS#6759: assert;Debug -> Debug;assert
Pierangelo Masarati [Thu, 30 Dec 2010 21:52:09 +0000 (21:52 +0000)]
silence valgrind
Pierangelo Masarati [Thu, 30 Dec 2010 21:41:36 +0000 (21:41 +0000)]
should also work for SASL binds (whenever supported)
Pierangelo Masarati [Thu, 30 Dec 2010 21:41:07 +0000 (21:41 +0000)]
op->o_conn->c_sb may be 0 for internal operations
Rein Tollevik [Thu, 30 Dec 2010 19:45:08 +0000 (19:45 +0000)]
ITS#6754: Fail if there are unrecognized command-line arguments.
Howard Chu [Thu, 30 Dec 2010 19:38:57 +0000 (19:38 +0000)]
ITS#6741 support Bitstring in ldap_X509dn2bv()
Howard Chu [Thu, 30 Dec 2010 18:40:01 +0000 (18:40 +0000)]
ITS#6684 fix ppolicy crash, fix Makefile install target
Kurt Zeilenga [Thu, 30 Dec 2010 17:46:26 +0000 (17:46 +0000)]
Remove dead code.
Howard Chu [Thu, 30 Dec 2010 17:28:19 +0000 (17:28 +0000)]
ITS#5862 Assert control for rootDSE/subschema
Pierangelo Masarati [Thu, 30 Dec 2010 15:58:48 +0000 (15:58 +0000)]
s/0/O/
Pierangelo Masarati [Thu, 30 Dec 2010 15:51:25 +0000 (15:51 +0000)]
fix perror; removed extra sequence opening (is it needed; if yes, it must also be closed, see #if 0)
Pierangelo Masarati [Thu, 30 Dec 2010 15:49:34 +0000 (15:49 +0000)]
verify credentials extop: support for simple bind
Pierangelo Masarati [Thu, 30 Dec 2010 14:12:26 +0000 (14:12 +0000)]
s/VCRequest/VCResponse/
Kurt Zeilenga [Tue, 28 Dec 2010 22:59:15 +0000 (22:59 +0000)]
Fix prototype to match code
Hallvard Furuseth [Tue, 28 Dec 2010 15:59:48 +0000 (15:59 +0000)]
ITS#6686 Fix last commit (declaration after code)
Howard Chu [Fri, 24 Dec 2010 00:29:31 +0000 (00:29 +0000)]
ITS#6742 from Rich Megginson @ Red Hat
Howard Chu [Thu, 23 Dec 2010 23:18:41 +0000 (23:18 +0000)]
ITS#6453 cleanup on LDAP_TIMEOUT
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
Howard Chu [Thu, 23 Dec 2010 22:29:57 +0000 (22:29 +0000)]
ITS#6686 add multiple sorts per connection, from Raphael Ouazana @ Linagora
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.
Howard Chu [Thu, 23 Dec 2010 21:53:05 +0000 (21:53 +0000)]
Move assertion checking to slap_compare_entry()
Howard Chu [Thu, 23 Dec 2010 21:45:36 +0000 (21:45 +0000)]
ITS#6753 use 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()
Howard Chu [Thu, 23 Dec 2010 04:40:57 +0000 (04:40 +0000)]
Cleanup for #6660
Howard Chu [Thu, 23 Dec 2010 00:16:19 +0000 (00:16 +0000)]
ITS#6660 preliminary fix. debug additions need to be cleaned up.
Hallvard Furuseth [Mon, 20 Dec 2010 12:39:48 +0000 (12:39 +0000)]
Plug one-time LDAPMessage leak
Hallvard Furuseth [Mon, 20 Dec 2010 10:57:06 +0000 (10:57 +0000)]
Plug mutex/rwlock leaks (destroy them)
Hallvard Furuseth [Mon, 20 Dec 2010 10:51:14 +0000 (10:51 +0000)]
Plug memory leaks
Hallvard Furuseth [Mon, 20 Dec 2010 10:25:11 +0000 (10:25 +0000)]
ITS#6752 Remove OpenLDAP 2.[23] dynlist code
Hallvard Furuseth [Mon, 20 Dec 2010 10:22:19 +0000 (10:22 +0000)]
ITS#6752 Handle REP_ENTRY_* flags correctly
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.
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().
Kurt Zeilenga [Wed, 15 Dec 2010 01:41:30 +0000 (01:41 +0000)]
Add basic client
Kurt Zeilenga [Wed, 15 Dec 2010 00:59:42 +0000 (00:59 +0000)]
Misc vc updates
Kurt Zeilenga [Tue, 14 Dec 2010 22:09:50 +0000 (22:09 +0000)]
Add comment regarding ASN.1 syntax
rm version field
Kurt Zeilenga [Tue, 14 Dec 2010 21:51:49 +0000 (21:51 +0000)]
Fix typo
Kurt Zeilenga [Tue, 14 Dec 2010 21:39:08 +0000 (21:39 +0000)]
Very back ldapvc (verify credentials) client
Kurt Zeilenga [Tue, 14 Dec 2010 21:38:31 +0000 (21:38 +0000)]
should be .5
Kurt Zeilenga [Tue, 14 Dec 2010 21:37:41 +0000 (21:37 +0000)]
Assign experimental OID
Kurt Zeilenga [Tue, 14 Dec 2010 21:14:31 +0000 (21:14 +0000)]
cleanup
Kurt Zeilenga [Tue, 14 Dec 2010 20:58:02 +0000 (20:58 +0000)]
LDAP "Verify Credentials" operation
Client library implementation only
Kurt Zeilenga [Tue, 14 Dec 2010 18:20:43 +0000 (18:20 +0000)]
fix perror
Kurt Zeilenga [Tue, 14 Dec 2010 18:17:28 +0000 (18:17 +0000)]
Use ldap_parse_whoami
Hallvard Furuseth [Tue, 14 Dec 2010 15:26:42 +0000 (15:26 +0000)]
ITS#6748 Drop possibly-broken memberof log message
Hallvard Furuseth [Tue, 14 Dec 2010 15:06:32 +0000 (15:06 +0000)]
ITS#6747 Fix LDAP_CONNECTIONLESS Debug(), warnings
Hallvard Furuseth [Tue, 14 Dec 2010 13:35:42 +0000 (13:35 +0000)]
ITS#6746: Preserve error code, plug entry leak
Rein Tollevik [Sun, 12 Dec 2010 18:20:51 +0000 (18:20 +0000)]
Reduced debug level, the default logs more than 1Gb.
Rein Tollevik [Sun, 12 Dec 2010 18:12:05 +0000 (18:12 +0000)]
ITS#6716: Keep sessionlog sorted by csn, compare mincsn with head.
Howard Chu [Sat, 11 Dec 2010 04:57:10 +0000 (04:57 +0000)]
ITS#6714 non-blocking support from Richard Megginson @ Red Hat
Howard Chu [Sat, 11 Dec 2010 04:51:21 +0000 (04:51 +0000)]
Cleanup prev commit
Howard Chu [Sat, 11 Dec 2010 04:35:01 +0000 (04:35 +0000)]
ITS#6744 - plug leak
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.)
Pierangelo Masarati [Tue, 7 Dec 2010 11:58:38 +0000 (11:58 +0000)]
re-fix ITS#6645 commit
Pierangelo Masarati [Tue, 7 Dec 2010 11:55:27 +0000 (11:55 +0000)]
fix ITS#6645 commit
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)
Pierangelo Masarati [Tue, 7 Dec 2010 10:14:51 +0000 (10:14 +0000)]
allow to set LDIF max line width (ITS#6645)
Pierangelo Masarati [Tue, 7 Dec 2010 10:11:06 +0000 (10:11 +0000)]
typo in comment
Hallvard Furuseth [Mon, 6 Dec 2010 11:31:58 +0000 (11:31 +0000)]
ITS#6625 Remove some LDAP_R_COMPILEs
Hallvard Furuseth [Mon, 6 Dec 2010 10:51:55 +0000 (10:51 +0000)]
Fix ITS#6625: mutex-protect ldap_free_connection()
Hallvard Furuseth [Mon, 6 Dec 2010 10:48:29 +0000 (10:48 +0000)]
ITS#6625 Invert test in NT threads LDAP_INT_MUTEX_FIRSTCREATE
Hallvard Furuseth [Mon, 6 Dec 2010 10:41:41 +0000 (10:41 +0000)]
ITS#6625 concurrency patch cleanup
Hallvard Furuseth [Mon, 6 Dec 2010 09:27:30 +0000 (09:27 +0000)]
For ITS#6739: Fix last commit (private debuging)
Hallvard Furuseth [Mon, 6 Dec 2010 09:23:44 +0000 (09:23 +0000)]
For ITS#6739: Move variables into do_syncrep2 loop
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.
Hallvard Furuseth [Mon, 6 Dec 2010 08:17:00 +0000 (08:17 +0000)]
ITS#6736: Delay destruction of slap_listeners[]
Hallvard Furuseth [Sat, 4 Dec 2010 18:58:20 +0000 (18:58 +0000)]
ITS#6735 Fix uninitialized filter in slapd-tester
Hallvard Furuseth [Sat, 4 Dec 2010 18:53:04 +0000 (18:53 +0000)]
Fix rev 1.270: free def_urlpre correctly. Also free urlpre.
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.
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()
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.
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.
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.
Hallvard Furuseth [Wed, 1 Dec 2010 12:20:04 +0000 (12:20 +0000)]
ITS#6364: Document that refint needs rootdn
Hallvard Furuseth [Wed, 1 Dec 2010 11:21:29 +0000 (11:21 +0000)]
ITS#6730: Only update modifiersName once per entry
Hallvard Furuseth [Wed, 1 Dec 2010 11:19:17 +0000 (11:19 +0000)]
ITS#6730: Fix missing refint updates with subtrees/subordinates
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.
Pierangelo Masarati [Wed, 1 Dec 2010 10:41:05 +0000 (10:41 +0000)]
test slap_dontUseCopy_propnames (ITS#6729)
Pierangelo Masarati [Mon, 29 Nov 2010 16:03:43 +0000 (16:03 +0000)]
fix double free related to ITS#6720
Hallvard Furuseth [Sun, 28 Nov 2010 18:20:54 +0000 (18:20 +0000)]
Fix a comment
Hallvard Furuseth [Sun, 28 Nov 2010 18:04:22 +0000 (18:04 +0000)]
Add/fix comments. No other change.
Pierangelo Masarati [Wed, 24 Nov 2010 14:47:46 +0000 (14:47 +0000)]
remove #ifdef EAGAIN, EWOULDBLOCK (ITS#6603)
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.
Hallvard Furuseth [Tue, 23 Nov 2010 15:25:49 +0000 (15:25 +0000)]
For ITS#5421: Remove unnecessary #include "ldap_log.h"
Hallvard Furuseth [Tue, 23 Nov 2010 12:12:54 +0000 (12:12 +0000)]
ITS#6723: Handle EOF in test programs
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
Hallvard Furuseth [Tue, 23 Nov 2010 10:10:45 +0000 (10:10 +0000)]
ITS#6721: Fix uninitialized tv_usec from ITS#6282
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.