]> git.sur5r.net Git - openldap/log
openldap
13 years agoITS#6738 Catch ber errors in libldap/ldap_sync.c.
Hallvard Furuseth [Mon, 17 Jan 2011 12:20:56 +0000 (12:20 +0000)]
ITS#6738 Catch ber errors in libldap/ldap_sync.c.

Also remove variable tag in ldap_sync_search_intermediate()
and reduce  ber_scanf("tm", &tag, foo)  to  tag=ber_scanf("m", foo).

13 years agoITS#6793 Fix back-ldap bad free on matchedDN change
Hallvard Furuseth [Mon, 17 Jan 2011 10:55:41 +0000 (10:55 +0000)]
ITS#6793 Fix back-ldap bad free on matchedDN change

13 years agoITS#6717 refine mincsn check for MMR
Howard Chu [Thu, 13 Jan 2011 22:45:59 +0000 (22:45 +0000)]
ITS#6717 refine mincsn check for MMR

13 years agoITS#6716 partial revert, initialize sl_mincsn at db_open
Howard Chu [Thu, 13 Jan 2011 22:23:05 +0000 (22:23 +0000)]
ITS#6716 partial revert, initialize sl_mincsn at db_open

13 years agoMore cleanup
Howard Chu [Thu, 13 Jan 2011 02:23:04 +0000 (02:23 +0000)]
More cleanup

13 years agoITS#6787 release entry locks before sending entries
Howard Chu [Thu, 13 Jan 2011 01:11:08 +0000 (01:11 +0000)]
ITS#6787 release entry locks before sending entries

13 years agoFix typo
Howard Chu [Wed, 12 Jan 2011 22:54:58 +0000 (22:54 +0000)]
Fix typo

13 years agoMinor cleanup
Howard Chu [Wed, 12 Jan 2011 22:53:43 +0000 (22:53 +0000)]
Minor cleanup

13 years agoMore for prev commit
Howard Chu [Wed, 12 Jan 2011 22:48:30 +0000 (22:48 +0000)]
More for prev commit

13 years agoITS#6783 fix abandon processing, cleanup
Howard Chu [Wed, 12 Jan 2011 22:28:46 +0000 (22:28 +0000)]
ITS#6783 fix abandon processing, cleanup

13 years agonoop change: Silence signed vs unsigned warnings
Hallvard Furuseth [Wed, 12 Jan 2011 14:44:03 +0000 (14:44 +0000)]
noop change: Silence signed vs unsigned warnings

13 years agoCatch ber_scanf errors properly
Hallvard Furuseth [Wed, 12 Jan 2011 14:41:33 +0000 (14:41 +0000)]
Catch ber_scanf errors properly

13 years agoFix ITS#6672: Do not return LDAP_MUTEX_LOCK().
Hallvard Furuseth [Wed, 12 Jan 2011 14:25:37 +0000 (14:25 +0000)]
Fix ITS#6672: Do not return LDAP_MUTEX_LOCK().
It has type void.

13 years agoremove cruft (ITS#6784)
Pierangelo Masarati [Wed, 12 Jan 2011 14:23:24 +0000 (14:23 +0000)]
remove cruft (ITS#6784)

13 years agovc.c: ber_printf/flatten rc==LBER_ERROR -> rc<0
Hallvard Furuseth [Wed, 12 Jan 2011 14:23:07 +0000 (14:23 +0000)]
vc.c: ber_printf/flatten rc==LBER_ERROR -> rc<0

13 years agoSilence stupid MUTEX_FIRSTCREATE warnings
Howard Chu [Tue, 11 Jan 2011 21:34:55 +0000 (21:34 +0000)]
Silence stupid MUTEX_FIRSTCREATE warnings

13 years agoclarify usage (more about ITS#6664)
Pierangelo Masarati [Sun, 9 Jan 2011 14:05:57 +0000 (14:05 +0000)]
clarify usage (more about ITS#6664)

13 years agodon't leak reqdata
Pierangelo Masarati [Sat, 8 Jan 2011 12:51:43 +0000 (12:51 +0000)]
don't leak reqdata

13 years agocheck restrictions; overlay must be global
Pierangelo Masarati [Sat, 8 Jan 2011 12:50:59 +0000 (12:50 +0000)]
check restrictions; overlay must be global

13 years agodo not #ifdef LDAP_CONTROL_AUTHZID_REQUEST; it's standard track
Pierangelo Masarati [Sat, 8 Jan 2011 12:50:11 +0000 (12:50 +0000)]
do not #ifdef LDAP_CONTROL_AUTHZID_REQUEST; it's standard track

13 years agomake sure cred is freed
Pierangelo Masarati [Sat, 8 Jan 2011 12:49:38 +0000 (12:49 +0000)]
make sure cred is freed

13 years agomake sure msg is freed
Pierangelo Masarati [Sat, 8 Jan 2011 12:49:21 +0000 (12:49 +0000)]
make sure msg is freed

13 years agoITS#6782 more of the same
Howard Chu [Fri, 7 Jan 2011 01:04:56 +0000 (01:04 +0000)]
ITS#6782 more of the same

13 years agoITS#6782 more of the same
Howard Chu [Fri, 7 Jan 2011 00:49:36 +0000 (00:49 +0000)]
ITS#6782 more of the same

13 years agoITS#6782 fix moduleload path
Howard Chu [Fri, 7 Jan 2011 00:15:24 +0000 (00:15 +0000)]
ITS#6782 fix moduleload path

13 years agoUpdate dates
Gavin Henry [Thu, 6 Jan 2011 23:17:51 +0000 (23:17 +0000)]
Update dates

13 years agoMore for #6503
Howard Chu [Thu, 6 Jan 2011 22:46:08 +0000 (22:46 +0000)]
More for #6503

13 years agoITS#6503 - record Adds in sessionlog too, to avoid excessive present phases
Howard Chu [Thu, 6 Jan 2011 22:37:23 +0000 (22:37 +0000)]
ITS#6503 - record Adds in sessionlog too, to avoid excessive present phases

13 years agoITS#6525 gnutls cipher spec is unclear
Quanah Gibson-Mount [Thu, 6 Jan 2011 22:30:33 +0000 (22:30 +0000)]
ITS#6525 gnutls cipher spec is unclear

13 years agoITS#6780 document multi-listener-thread support
Howard Chu [Thu, 6 Jan 2011 19:22:45 +0000 (19:22 +0000)]
ITS#6780 document multi-listener-thread support

13 years agoOutline SASL interactive API (no meat)
Kurt Zeilenga [Thu, 6 Jan 2011 18:37:23 +0000 (18:37 +0000)]
Outline SASL interactive API (no meat)

13 years agoITS#6525 gnutls cipher spec is unclear
Gavin Henry [Thu, 6 Jan 2011 18:11:46 +0000 (18:11 +0000)]
ITS#6525 gnutls cipher spec is unclear

13 years agoITS#6522 man page for pcache overlay doesn't state requirement for rootdn
Gavin Henry [Thu, 6 Jan 2011 18:07:22 +0000 (18:07 +0000)]
ITS#6522 man page for pcache overlay doesn't state requirement for rootdn

13 years agoITS#6521 docs: pcache overlay section in admin guide
Gavin Henry [Thu, 6 Jan 2011 18:02:16 +0000 (18:02 +0000)]
ITS#6521 docs: pcache overlay section in admin guide

13 years agoplug leak on usage()
Pierangelo Masarati [Wed, 5 Jan 2011 23:00:51 +0000 (23:00 +0000)]
plug leak on usage()

13 years agoallow clients to set USERNAME in session tracking control request (6779); plug minor...
Pierangelo Masarati [Wed, 5 Jan 2011 22:54:20 +0000 (22:54 +0000)]
allow clients to set USERNAME in session tracking control request (6779); plug minor leaks

13 years agoRe-fix ITS#6764 (check for ber == NULL _before_ using ber)
Hallvard Furuseth [Wed, 5 Jan 2011 13:57:31 +0000 (13:57 +0000)]
Re-fix ITS#6764 (check for ber == NULL _before_ using ber)

13 years agoNote that ldap_sasl_interactive_bind() will be forced to synchronously
Howard Chu [Wed, 5 Jan 2011 00:53:27 +0000 (00:53 +0000)]
Note that ldap_sasl_interactive_bind() will be forced to synchronously
query the server for mechanisms if not supplied by the caller.

13 years agoHappy New Year
Kurt Zeilenga [Wed, 5 Jan 2011 00:42:37 +0000 (00:42 +0000)]
Happy New Year

13 years agoplug one time leak (this time should be correct; ITS#6778)
Pierangelo Masarati [Tue, 4 Jan 2011 23:17:42 +0000 (23:17 +0000)]
plug one time leak (this time should be correct; ITS#6778)

13 years agorevert previous commit (ITS#6777)
Pierangelo Masarati [Tue, 4 Jan 2011 22:34:22 +0000 (22:34 +0000)]
revert previous commit (ITS#6777)

13 years agocleanup
Pierangelo Masarati [Tue, 4 Jan 2011 21:45:43 +0000 (21:45 +0000)]
cleanup

13 years agofix client tool man page
Pierangelo Masarati [Tue, 4 Jan 2011 21:45:01 +0000 (21:45 +0000)]
fix client tool man page

13 years agofix previous commits
Pierangelo Masarati [Tue, 4 Jan 2011 20:43:55 +0000 (20:43 +0000)]
fix previous commits

13 years agofix multi-step binds otherwise
Pierangelo Masarati [Tue, 4 Jan 2011 20:43:10 +0000 (20:43 +0000)]
fix multi-step binds otherwise

13 years agoplug minor leak
Pierangelo Masarati [Tue, 4 Jan 2011 18:45:21 +0000 (18:45 +0000)]
plug minor leak

13 years agomake sure matched is NULL when err=SUCCESS (ITS#6774)
Pierangelo Masarati [Tue, 4 Jan 2011 18:27:02 +0000 (18:27 +0000)]
make sure matched is NULL when err=SUCCESS (ITS#6774)

13 years agocleanup controls logging in LDIF mode (-L[L[L]], ITS#6775)
Pierangelo Masarati [Tue, 4 Jan 2011 18:20:04 +0000 (18:20 +0000)]
cleanup controls logging in LDIF mode (-L[L[L]], ITS#6775)

13 years agoalso works for multi-stage binds (ITS#6771; needs ITS#6773 patch)
Pierangelo Masarati [Tue, 4 Jan 2011 16:19:51 +0000 (16:19 +0000)]
also works for multi-stage binds (ITS#6771; needs ITS#6773 patch)

13 years agono need for next control
Pierangelo Masarati [Tue, 4 Jan 2011 16:17:24 +0000 (16:17 +0000)]
no need for next control

13 years agotypo in error message
Pierangelo Masarati [Tue, 4 Jan 2011 16:16:59 +0000 (16:16 +0000)]
typo in error message

13 years ago(FORCED) add generic support for RFC 3829 authzid control (bauthzid; ITS#6771)
Pierangelo Masarati [Tue, 4 Jan 2011 16:04:50 +0000 (16:04 +0000)]
(FORCED) add generic support for RFC 3829 authzid control (bauthzid; ITS#6771)

13 years agoadd generic support for RFC 3829 authzid control (bauthzid)
Pierangelo Masarati [Tue, 4 Jan 2011 16:03:31 +0000 (16:03 +0000)]
add generic support for RFC 3829 authzid control (bauthzid)

13 years agoVC adjust controls tag
Kurt Zeilenga [Tue, 4 Jan 2011 16:01:07 +0000 (16:01 +0000)]
VC adjust controls tag

13 years agoFORCED COMMIT: Last commit was for ITS#6758 (sr_type=REP_SEARCH before be_operational)
Hallvard Furuseth [Tue, 4 Jan 2011 15:14:32 +0000 (15:14 +0000)]
FORCED COMMIT: Last commit was for ITS#6758 (sr_type=REP_SEARCH before be_operational)

13 years agoSet sr_type=REP_SEARCH before be_operational
Hallvard Furuseth [Tue, 4 Jan 2011 15:12:45 +0000 (15:12 +0000)]
Set sr_type=REP_SEARCH before be_operational

13 years agoITS#6758 config_back_add: Don't set sr_text if compareTrue
Hallvard Furuseth [Tue, 4 Jan 2011 15:02:52 +0000 (15:02 +0000)]
ITS#6758 config_back_add: Don't set sr_text if compareTrue

13 years agofix cloak behavior; plug leak (ITS#6762)
Pierangelo Masarati [Tue, 4 Jan 2011 13:08:28 +0000 (13:08 +0000)]
fix cloak behavior; plug leak (ITS#6762)

13 years agofix previous commit
Pierangelo Masarati [Tue, 4 Jan 2011 11:17:33 +0000 (11:17 +0000)]
fix previous commit

13 years agoadd minimal support for RFC3829 (ITS#6771)
Pierangelo Masarati [Tue, 4 Jan 2011 10:57:35 +0000 (10:57 +0000)]
add minimal support for RFC3829 (ITS#6771)

13 years agos/producer/provider
Quanah Gibson-Mount [Tue, 4 Jan 2011 01:31:30 +0000 (01:31 +0000)]
s/producer/provider

13 years agoUse provider instead of producer, as provider is a very specific term in replication
Quanah Gibson-Mount [Tue, 4 Jan 2011 01:30:28 +0000 (01:30 +0000)]
Use provider instead of producer, as provider is a very specific term in replication

13 years agoplug leak in previous commit
Pierangelo Masarati [Tue, 4 Jan 2011 01:13:58 +0000 (01:13 +0000)]
plug leak in previous commit

13 years agofix control response handling
Pierangelo Masarati [Tue, 4 Jan 2011 01:04:04 +0000 (01:04 +0000)]
fix control response handling

13 years agofix previous commit
Pierangelo Masarati [Tue, 4 Jan 2011 01:02:12 +0000 (01:02 +0000)]
fix previous commit

13 years agoITS#6364: Add information about rootdn setting
Quanah Gibson-Mount [Tue, 4 Jan 2011 00:49:30 +0000 (00:49 +0000)]
ITS#6364: Add information about rootdn setting

13 years agofix request controls
Pierangelo Masarati [Tue, 4 Jan 2011 00:10:02 +0000 (00:10 +0000)]
fix request controls

13 years agoquick fix for vc: allow custom controls tag
Pierangelo Masarati [Tue, 4 Jan 2011 00:09:10 +0000 (00:09 +0000)]
quick fix for vc: allow custom controls tag

13 years agoquick fix; needs work
Pierangelo Masarati [Tue, 4 Jan 2011 00:08:12 +0000 (00:08 +0000)]
quick fix; needs work

13 years agoharmonize with specs; fix bugs in previous commit
Pierangelo Masarati [Mon, 3 Jan 2011 23:40:53 +0000 (23:40 +0000)]
harmonize with specs; fix bugs in previous commit

13 years agofix error handling/arg checking
Pierangelo Masarati [Mon, 3 Jan 2011 23:40:02 +0000 (23:40 +0000)]
fix error handling/arg checking

13 years agofix previous commit
Pierangelo Masarati [Mon, 3 Jan 2011 23:37:48 +0000 (23:37 +0000)]
fix previous commit

13 years agoAdd VC support for ppolicy and authzid inner controls
Kurt Zeilenga [Mon, 3 Jan 2011 22:54:48 +0000 (22:54 +0000)]
Add VC support for ppolicy and authzid inner controls

13 years agoAdd ldapvc args
Kurt Zeilenga [Mon, 3 Jan 2011 22:11:02 +0000 (22:11 +0000)]
Add ldapvc args

13 years agoRemove authzid parameter from verify credential response.
Kurt Zeilenga [Mon, 3 Jan 2011 22:05:23 +0000 (22:05 +0000)]
Remove authzid parameter from verify credential response.
If client wants authzid, it can ask by adding an Authorization Identity
Request inner control.

13 years agofirst cut at new spec (needs #define LDAP_TAG_EXOP_VERIFY_CREDENTIALS_CONTROLS)
Pierangelo Masarati [Mon, 3 Jan 2011 21:50:54 +0000 (21:50 +0000)]
first cut at new spec (needs #define LDAP_TAG_EXOP_VERIFY_CREDENTIALS_CONTROLS)

13 years agoExtend Verify Credentials encode/decode per -devel post.
Kurt Zeilenga [Mon, 3 Jan 2011 21:49:26 +0000 (21:49 +0000)]
Extend Verify Credentials encode/decode per -devel post.
(ldapvc doesn't yet request/handle inner password policy control.

13 years agosync with client-side
Pierangelo Masarati [Mon, 3 Jan 2011 19:40:22 +0000 (19:40 +0000)]
sync with client-side

13 years agoRemove version from encoding
Kurt Zeilenga [Mon, 3 Jan 2011 19:21:03 +0000 (19:21 +0000)]
Remove version from encoding
(previously removed from SASL choices, but should be always absent)

13 years agouse Paged Results when talking to targets (in response to ITS#6664)
Pierangelo Masarati [Mon, 3 Jan 2011 17:52:55 +0000 (17:52 +0000)]
use Paged Results when talking to targets (in response to ITS#6664)

13 years agoITS#6768 (forced commit)
Pierangelo Masarati [Mon, 3 Jan 2011 17:10:05 +0000 (17:10 +0000)]
ITS#6768 (forced commit)

13 years agoforce the generation of a new CSN (ITS#6766)
Pierangelo Masarati [Mon, 3 Jan 2011 00:04:53 +0000 (00:04 +0000)]
force the generation of a new CSN (ITS#6766)

13 years agoskip operations when internal
Pierangelo Masarati [Sun, 2 Jan 2011 23:36:30 +0000 (23:36 +0000)]
skip operations when internal

13 years agomemberof handling of rename (ITS#6700)
Pierangelo Masarati [Sun, 2 Jan 2011 23:03:13 +0000 (23:03 +0000)]
memberof handling of rename (ITS#6700)

13 years agofix control value generation (ITS#6652)
Pierangelo Masarati [Sun, 2 Jan 2011 17:19:14 +0000 (17:19 +0000)]
fix control value generation (ITS#6652)

13 years agohex digits need to be in pairs (ITS#6652)
Pierangelo Masarati [Sun, 2 Jan 2011 15:58:48 +0000 (15:58 +0000)]
hex digits need to be in pairs (ITS#6652)

13 years agofix reqControls validator (partially addresses ITS#6652)
Pierangelo Masarati [Sun, 2 Jan 2011 15:50:00 +0000 (15:50 +0000)]
fix reqControls validator (partially addresses ITS#6652)

13 years agomake sure initialization is only tried once; improve error messages
Pierangelo Masarati [Sun, 2 Jan 2011 15:06:11 +0000 (15:06 +0000)]
make sure initialization is only tried once; improve error messages

13 years agoadd some logging (under TRACE)
Pierangelo Masarati [Sun, 2 Jan 2011 12:29:19 +0000 (12:29 +0000)]
add some logging (under TRACE)

13 years agoquick fix for null DN
Pierangelo Masarati [Sun, 2 Jan 2011 02:15:21 +0000 (02:15 +0000)]
quick fix for null DN

13 years agomore about ITS#6645
Pierangelo Masarati [Sat, 1 Jan 2011 20:50:00 +0000 (20:50 +0000)]
more about ITS#6645

13 years agoadd more rename/delete tests
Pierangelo Masarati [Sat, 1 Jan 2011 19:49:27 +0000 (19:49 +0000)]
add more rename/delete tests

13 years agofix logging
Pierangelo Masarati [Sat, 1 Jan 2011 17:26:15 +0000 (17:26 +0000)]
fix logging

13 years agocheck return value
Pierangelo Masarati [Sat, 1 Jan 2011 16:10:23 +0000 (16:10 +0000)]
check return value

13 years agober_flatten must return -1 on unmatched "{" "}" (ITS#6764)
Pierangelo Masarati [Sat, 1 Jan 2011 16:06:45 +0000 (16:06 +0000)]
ber_flatten must return -1 on unmatched "{" "}" (ITS#6764)

13 years agoITS#6758 Reset dangerous REP_ENTRY_* flags.
Hallvard Furuseth [Fri, 31 Dec 2010 20:53:17 +0000 (20:53 +0000)]
ITS#6758 Reset dangerous REP_ENTRY_* flags.
If SlapReply.sr_un cannot contain an entry but does or soon may
contain another member than sru_search: Ensure nothing will see
leftover REP_ENTRY_* flags and try to clean up the "entry" there.

13 years agoITS#6758 slap.h: Cast REP_* #defines to slap_mask_t
Hallvard Furuseth [Fri, 31 Dec 2010 20:02:41 +0000 (20:02 +0000)]
ITS#6758 slap.h: Cast REP_* #defines to slap_mask_t

13 years agoITS#6758 fix/add slap_send_search_entry() comments
Hallvard Furuseth [Fri, 31 Dec 2010 19:57:53 +0000 (19:57 +0000)]
ITS#6758 fix/add slap_send_search_entry() comments

13 years agoITS#6758 result.c:Use rs_*(). Frees entries earlier.
Hallvard Furuseth [Fri, 31 Dec 2010 18:14:31 +0000 (18:14 +0000)]
ITS#6758 result.c:Use rs_*(). Frees entries earlier.

For readability, use rs_flush_entry() where slap_send_search_entry() and
slap_send_search_reference() release entries before network operations.

This change also frees entires marked MUSTBEFREED earlier.

13 years agoITS#6758 Use rs_*() to manage SlapReply entries.
Hallvard Furuseth [Fri, 31 Dec 2010 17:55:36 +0000 (17:55 +0000)]
ITS#6758 Use rs_*() to manage SlapReply entries.
Some noop changes + fixes entry leaks and REP_ENTRY_MODIFIABLE flag leaks.