]> git.sur5r.net Git - openldap/log
openldap
19 years agosilence warning
Pierangelo Masarati [Thu, 11 Aug 2005 19:32:28 +0000 (19:32 +0000)]
silence warning

19 years agosolve a deadlock during unbind: ldap_send_unbind() is called by ldap_free_connection...
Pierangelo Masarati [Thu, 11 Aug 2005 17:11:41 +0000 (17:11 +0000)]
solve a deadlock during unbind: ldap_send_unbind() is called by ldap_free_connection() only, and just in case the last arg is not 0; but most of the times ldap_free_connection() is called with ld_req_mutex locked, so it shouldn't be locked again from inside ldap_send_unbind()

19 years agofix tls propagation, including rebind
Pierangelo Masarati [Thu, 11 Aug 2005 16:01:24 +0000 (16:01 +0000)]
fix tls propagation, including rebind

19 years agoessentially address 3791 with a reworked patch
Pierangelo Masarati [Thu, 11 Aug 2005 15:13:29 +0000 (15:13 +0000)]
essentially address 3791 with a reworked patch

19 years agoexpose ldap_tls_inplace()
Pierangelo Masarati [Thu, 11 Aug 2005 12:14:24 +0000 (12:14 +0000)]
expose ldap_tls_inplace()

19 years agocleanup
Pierangelo Masarati [Thu, 11 Aug 2005 12:13:43 +0000 (12:13 +0000)]
cleanup

19 years agodon't get tricked when option separator occurs past end of berval
Pierangelo Masarati [Thu, 11 Aug 2005 02:09:03 +0000 (02:09 +0000)]
don't get tricked when option separator occurs past end of berval

19 years agoITS#3929 "test -e" doesn't exist on Solaris
Howard Chu [Thu, 11 Aug 2005 00:27:59 +0000 (00:27 +0000)]
ITS#3929 "test -e" doesn't exist on Solaris

19 years agorebuild
Kurt Zeilenga [Wed, 10 Aug 2005 23:53:46 +0000 (23:53 +0000)]
rebuild

19 years agoFix typo
Kurt Zeilenga [Wed, 10 Aug 2005 23:50:50 +0000 (23:50 +0000)]
Fix typo

19 years agoAdd OpenLDAP notices
Kurt Zeilenga [Wed, 10 Aug 2005 23:50:11 +0000 (23:50 +0000)]
Add OpenLDAP notices

19 years agoRevert libtool update
Kurt Zeilenga [Wed, 10 Aug 2005 23:43:06 +0000 (23:43 +0000)]
Revert libtool update
configure.in and build/*.m4 have to be updated first to latest autoconf (ugh)

19 years agoMove ldap_pvt_thread_initialize() earlier. (See -devel; same as ITS#3793)
Howard Chu [Wed, 10 Aug 2005 23:19:47 +0000 (23:19 +0000)]
Move ldap_pvt_thread_initialize() earlier. (See -devel; same as ITS#3793)

19 years agoA more recent version of libtool
Kurt Zeilenga [Wed, 10 Aug 2005 23:18:03 +0000 (23:18 +0000)]
A more recent version of libtool

19 years agoUpdate libtool to 1.5 by replacing ltmain.sh
Kurt Zeilenga [Wed, 10 Aug 2005 19:08:06 +0000 (19:08 +0000)]
Update libtool to 1.5 by replacing ltmain.sh
aclocal.m4 not fully updated.  Could be a problem???

19 years agotemporarily fix SLAPD_OVERLAY_ACCESS conflict
Pierangelo Masarati [Wed, 10 Aug 2005 18:53:21 +0000 (18:53 +0000)]
temporarily fix SLAPD_OVERLAY_ACCESS conflict

19 years agoenable syncrepl support by default
Pierangelo Masarati [Wed, 10 Aug 2005 16:54:45 +0000 (16:54 +0000)]
enable syncrepl support by default

19 years agoallow the glue overlay to be a module
Pierangelo Masarati [Wed, 10 Aug 2005 16:26:32 +0000 (16:26 +0000)]
allow the glue overlay to be a module

19 years agoITS#3869 set ldap_unicode_t to ac_uint4 to agree with ucdata usage.
Howard Chu [Wed, 10 Aug 2005 14:20:13 +0000 (14:20 +0000)]
ITS#3869 set ldap_unicode_t to ac_uint4 to agree with ucdata usage.

19 years agoload modules if required
Pierangelo Masarati [Wed, 10 Aug 2005 11:49:09 +0000 (11:49 +0000)]
load modules if required

19 years agoFix backend selection diagnostics
Howard Chu [Wed, 10 Aug 2005 11:26:32 +0000 (11:26 +0000)]
Fix backend selection diagnostics

19 years agocleanup
Pierangelo Masarati [Wed, 10 Aug 2005 10:25:24 +0000 (10:25 +0000)]
cleanup

19 years agotrim use of uninitialized data; please review
Pierangelo Masarati [Wed, 10 Aug 2005 10:21:37 +0000 (10:21 +0000)]
trim use of uninitialized data; please review

19 years agoRead LDAPResult.resultCode & ModifyRequest.modification.operation
Hallvard Furuseth [Wed, 10 Aug 2005 00:54:38 +0000 (00:54 +0000)]
Read LDAPResult.resultCode & ModifyRequest.modification.operation
and send SortResult.sortResult as BER ENUMERATED, not BER INTEGER.

libldap: ldap_parse_extended_result, try_read1msg, build_result_ber,
ldap_parse_sasl_bind_result.  slapd: do_modify, send_ldap_controls.

19 years agoITS#3924
Luke Howard [Tue, 9 Aug 2005 05:28:58 +0000 (05:28 +0000)]
ITS#3924
Also, fix slapi_dn_parent() crasher

19 years agodon't leak in case of attribute not found
Pierangelo Masarati [Tue, 9 Aug 2005 03:39:12 +0000 (03:39 +0000)]
don't leak in case of attribute not found

19 years agoFix slapi_str2entry()/slapi_entry2str() allocation
Luke Howard [Tue, 9 Aug 2005 02:56:21 +0000 (02:56 +0000)]
Fix slapi_str2entry()/slapi_entry2str() allocation

19 years agoITS#3924
Luke Howard [Tue, 9 Aug 2005 02:12:18 +0000 (02:12 +0000)]
ITS#3924

19 years agoITS#3922 don't leak ber buffer on decode/parse errors
Howard Chu [Tue, 9 Aug 2005 00:26:39 +0000 (00:26 +0000)]
ITS#3922 don't leak ber buffer on decode/parse errors

19 years agoITS#3922 plug another cookie parsing leak
Howard Chu [Tue, 9 Aug 2005 00:11:42 +0000 (00:11 +0000)]
ITS#3922 plug another cookie parsing leak

19 years agoITS#3917 don't check csn syntax if schema isn't inited yet
Howard Chu [Mon, 8 Aug 2005 23:56:40 +0000 (23:56 +0000)]
ITS#3917 don't check csn syntax if schema isn't inited yet

19 years agoITS#3917 revert prev commit
Howard Chu [Mon, 8 Aug 2005 23:45:29 +0000 (23:45 +0000)]
ITS#3917 revert prev commit

19 years agomore (in)sanity stuff
Pierangelo Masarati [Mon, 8 Aug 2005 22:49:54 +0000 (22:49 +0000)]
more (in)sanity stuff

19 years agoRemove unused variables in config_updatedn()
Hallvard Furuseth [Mon, 8 Aug 2005 22:35:38 +0000 (22:35 +0000)]
Remove unused variables in config_updatedn()

19 years agoassert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
Hallvard Furuseth [Mon, 8 Aug 2005 22:25:56 +0000 (22:25 +0000)]
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).

19 years agoDestroy monitor_info.mi_cache_mutex
Hallvard Furuseth [Mon, 8 Aug 2005 21:29:13 +0000 (21:29 +0000)]
Destroy monitor_info.mi_cache_mutex

19 years agoplug more one-time leaks; rearrange subsystems setup
Pierangelo Masarati [Mon, 8 Aug 2005 20:45:10 +0000 (20:45 +0000)]
plug more one-time leaks; rearrange subsystems setup

19 years ago#include <ac/ctype.h>, needed by last commit
Hallvard Furuseth [Mon, 8 Aug 2005 20:19:25 +0000 (20:19 +0000)]
#include <ac/ctype.h>, needed by last commit

19 years agoplug another one-time leak
Pierangelo Masarati [Mon, 8 Aug 2005 20:01:04 +0000 (20:01 +0000)]
plug another one-time leak

19 years agoITS#3914 bug was very close to that leak: rwm_dnattr_rewrite() already freed the...
Pierangelo Masarati [Mon, 8 Aug 2005 19:49:48 +0000 (19:49 +0000)]
ITS#3914 bug was very close to that leak: rwm_dnattr_rewrite() already freed the original value (all this stuff may need work)

19 years agofix yet another leak (not related to ITS#3914, though)
Pierangelo Masarati [Mon, 8 Aug 2005 19:41:10 +0000 (19:41 +0000)]
fix yet another leak (not related to ITS#3914, though)

19 years agoFix typo in previous commit (slapi_dn.c -> slapi_dn.lo)
Hallvard Furuseth [Mon, 8 Aug 2005 14:30:34 +0000 (14:30 +0000)]
Fix typo in previous commit (slapi_dn.c -> slapi_dn.lo)

19 years agoallow textual log levels in command line
Pierangelo Masarati [Mon, 8 Aug 2005 14:01:40 +0000 (14:01 +0000)]
allow textual log levels in command line

19 years agoRemove slapi_x_be_select()
Luke Howard [Mon, 8 Aug 2005 13:26:02 +0000 (13:26 +0000)]
Remove slapi_x_be_select()

19 years agoNew file - slapi_dn.c
Luke Howard [Mon, 8 Aug 2005 13:25:24 +0000 (13:25 +0000)]
New file - slapi_dn.c

19 years agoAdd Slapi_DN API
Luke Howard [Mon, 8 Aug 2005 13:24:18 +0000 (13:24 +0000)]
Add Slapi_DN API

19 years agoITS#3917 init schema before parsing args
Howard Chu [Mon, 8 Aug 2005 12:51:38 +0000 (12:51 +0000)]
ITS#3917 init schema before parsing args

19 years agoITS#3922 fix syncrepl ctxcsn leak
Howard Chu [Mon, 8 Aug 2005 12:38:19 +0000 (12:38 +0000)]
ITS#3922 fix syncrepl ctxcsn leak

19 years agoAdd slapi_x_be_select() (to be replaced with slapi_be_select() when
Luke Howard [Mon, 8 Aug 2005 11:01:39 +0000 (11:01 +0000)]
Add slapi_x_be_select() (to be replaced with slapi_be_select() when
we support Slapi_DN API)

19 years agoSync with slapi/slapi_utils.c
Luke Howard [Mon, 8 Aug 2005 09:33:12 +0000 (09:33 +0000)]
Sync with slapi/slapi_utils.c

19 years agoDon't return frontend as SLAPI_BACKEND, return actual backend instead
Luke Howard [Mon, 8 Aug 2005 09:33:02 +0000 (09:33 +0000)]
Don't return frontend as SLAPI_BACKEND, return actual backend instead
for compat with 2.2 plugins

Add a couple of backend SLAPI APIs

19 years agoDon't decrement descriptor count until we have checked connection is not UDP
Luke Howard [Mon, 8 Aug 2005 03:44:17 +0000 (03:44 +0000)]
Don't decrement descriptor count until we have checked connection is not UDP

19 years agoAdd missing break statement in switch for SLAPI_SEARCH_ATTRS handler
Luke Howard [Mon, 8 Aug 2005 03:39:00 +0000 (03:39 +0000)]
Add missing break statement in switch for SLAPI_SEARCH_ATTRS handler

19 years agomore cleanup
Pierangelo Masarati [Sun, 7 Aug 2005 22:22:27 +0000 (22:22 +0000)]
more cleanup

19 years agofree Env
Pierangelo Masarati [Sun, 7 Aug 2005 21:53:38 +0000 (21:53 +0000)]
free Env

19 years agodon't leak entry/referrals in case of reference
Pierangelo Masarati [Sun, 7 Aug 2005 21:26:15 +0000 (21:26 +0000)]
don't leak entry/referrals in case of reference

19 years agofix previous commit
Pierangelo Masarati [Sun, 7 Aug 2005 21:03:38 +0000 (21:03 +0000)]
fix previous commit

19 years agoadd (optional) concurrency test for back-sql
Pierangelo Masarati [Sun, 7 Aug 2005 20:59:56 +0000 (20:59 +0000)]
add (optional) concurrency test for back-sql

19 years agodata for back-sql concurrency tests
Pierangelo Masarati [Sun, 7 Aug 2005 20:52:58 +0000 (20:52 +0000)]
data for back-sql concurrency tests

19 years agoremove unnecessary data from search_info
Pierangelo Masarati [Sun, 7 Aug 2005 20:43:07 +0000 (20:43 +0000)]
remove unnecessary data from search_info

19 years agocleanup candidate list in case of abandon, even if it occurs while selecting candidates
Pierangelo Masarati [Sun, 7 Aug 2005 20:11:41 +0000 (20:11 +0000)]
cleanup candidate list in case of abandon, even if it occurs while selecting candidates

19 years agocleanup candidate list in case of abandon
Pierangelo Masarati [Sun, 7 Aug 2005 20:04:47 +0000 (20:04 +0000)]
cleanup candidate list in case of abandon

19 years agomore cleanup
Pierangelo Masarati [Sun, 7 Aug 2005 18:56:19 +0000 (18:56 +0000)]
more cleanup

19 years agoRebuild for configure.in 1.586.
Hallvard Furuseth [Sun, 7 Aug 2005 18:26:41 +0000 (18:26 +0000)]
Rebuild for configure.in 1.586.

19 years agoLet --<enable/disable>-<backends/overlays> provide a default instead
Hallvard Furuseth [Sun, 7 Aug 2005 18:08:02 +0000 (18:08 +0000)]
Let --<enable/disable>-<backends/overlays> provide a default instead
of overriding individual settings.
The --disable variant will disable all backends/overlays that are
not explicitly enabled.  Previously it had no effect.
Also shorten a few --enable help messages that were > 80 characters.

19 years agoplug more leaks; few remain (but seem to be in ODBC)
Pierangelo Masarati [Sun, 7 Aug 2005 17:28:26 +0000 (17:28 +0000)]
plug more leaks; few remain (but seem to be in ODBC)

19 years agofix previous commit
Pierangelo Masarati [Sun, 7 Aug 2005 16:48:26 +0000 (16:48 +0000)]
fix previous commit

19 years agoplug yet another one-time leak
Pierangelo Masarati [Sun, 7 Aug 2005 16:45:13 +0000 (16:45 +0000)]
plug yet another one-time leak

19 years agoplug selected leaks at shutdown
Pierangelo Masarati [Sun, 7 Aug 2005 16:38:20 +0000 (16:38 +0000)]
plug selected leaks at shutdown

19 years agomore about freeing replica resources
Pierangelo Masarati [Sun, 7 Aug 2005 15:20:14 +0000 (15:20 +0000)]
more about freeing replica resources

19 years agofree replica info as appropriate
Pierangelo Masarati [Sun, 7 Aug 2005 15:01:13 +0000 (15:01 +0000)]
free replica info as appropriate

19 years agocleanup resources
Pierangelo Masarati [Sun, 7 Aug 2005 14:13:29 +0000 (14:13 +0000)]
cleanup resources

19 years agoplug more leaks
Pierangelo Masarati [Sun, 7 Aug 2005 12:55:15 +0000 (12:55 +0000)]
plug more leaks

19 years agoimprove previous commit
Pierangelo Masarati [Sun, 7 Aug 2005 11:48:45 +0000 (11:48 +0000)]
improve previous commit

19 years agoimprove previous commit
Pierangelo Masarati [Sun, 7 Aug 2005 11:44:57 +0000 (11:44 +0000)]
improve previous commit

19 years agoACL logging was incomplete (and misleading)
Pierangelo Masarati [Sun, 7 Aug 2005 11:36:18 +0000 (11:36 +0000)]
ACL logging was incomplete (and misleading)

19 years agofix use of uninitialized value; beautify logs
Pierangelo Masarati [Sun, 7 Aug 2005 10:49:40 +0000 (10:49 +0000)]
fix use of uninitialized value; beautify logs

19 years agoremove cruft
Pierangelo Masarati [Sun, 7 Aug 2005 10:49:01 +0000 (10:49 +0000)]
remove cruft

19 years agoadd indices for all backends that support them; clenup
Pierangelo Masarati [Sun, 7 Aug 2005 10:01:53 +0000 (10:01 +0000)]
add indices for all backends that support them; clenup

19 years agodetect if control is available (ITS#3898)
Pierangelo Masarati [Sun, 7 Aug 2005 09:59:25 +0000 (09:59 +0000)]
detect if control is available (ITS#3898)

19 years agoAlways restore op->o_callback in SLAPI overlay - was spinning indefinitely
Luke Howard [Sun, 7 Aug 2005 03:13:57 +0000 (03:13 +0000)]
Always restore op->o_callback in SLAPI overlay - was spinning indefinitely

19 years agouse trylock only where necessary
Pierangelo Masarati [Sun, 7 Aug 2005 00:35:11 +0000 (00:35 +0000)]
use trylock only where necessary

19 years agodisallow this test for backends that do not honor ACLs
Pierangelo Masarati [Sun, 7 Aug 2005 00:27:48 +0000 (00:27 +0000)]
disallow this test for backends that do not honor ACLs

19 years agofix ITS#3811
Pierangelo Masarati [Sat, 6 Aug 2005 22:03:45 +0000 (22:03 +0000)]
fix ITS#3811

19 years agocleanup
Pierangelo Masarati [Sat, 6 Aug 2005 21:03:26 +0000 (21:03 +0000)]
cleanup

19 years agofix potential leak (if URL form is broken); cleanup
Pierangelo Masarati [Sat, 6 Aug 2005 20:56:02 +0000 (20:56 +0000)]
fix potential leak (if URL form is broken); cleanup

19 years agoPlug some leaks in SLAPI modifications handling
Luke Howard [Sat, 6 Aug 2005 14:58:25 +0000 (14:58 +0000)]
Plug some leaks in SLAPI modifications handling

19 years agouse macros instead of literals
Pierangelo Masarati [Sat, 6 Aug 2005 11:29:08 +0000 (11:29 +0000)]
use macros instead of literals

19 years agofix ordered indexing check
Pierangelo Masarati [Fri, 5 Aug 2005 00:08:22 +0000 (00:08 +0000)]
fix ordered indexing check

19 years agolittle more about potential concurrency issues
Pierangelo Masarati [Wed, 3 Aug 2005 16:54:08 +0000 (16:54 +0000)]
little more about potential concurrency issues

19 years agodon't need compare if entry_get is available
Pierangelo Masarati [Wed, 3 Aug 2005 00:33:37 +0000 (00:33 +0000)]
don't need compare if entry_get is available

19 years agoaddress ITS#3914
Pierangelo Masarati [Tue, 2 Aug 2005 23:22:10 +0000 (23:22 +0000)]
address ITS#3914

19 years agoremove unrequired member; address ITS#3913
Pierangelo Masarati [Tue, 2 Aug 2005 22:48:30 +0000 (22:48 +0000)]
remove unrequired member; address ITS#3913

19 years agomore fixes to parsing of (deprecated) config directives (ITS#3915)
Pierangelo Masarati [Tue, 2 Aug 2005 22:21:44 +0000 (22:21 +0000)]
more fixes to parsing of (deprecated) config directives (ITS#3915)

19 years agoslapi/slapi_utils.c rev 1.172 removed the 'dup' parameter to
Luke Howard [Tue, 2 Aug 2005 16:12:09 +0000 (16:12 +0000)]
slapi/slapi_utils.c rev 1.172 removed the 'dup' parameter to
slapi_int_ldapmods2modifications(), but a 'dup' test remains in the
function body. Should always evaluate to TRUE.

19 years agoFix printf formats for LDAP_MEMORY_TRACE
Hallvard Furuseth [Tue, 2 Aug 2005 14:08:30 +0000 (14:08 +0000)]
Fix printf formats for LDAP_MEMORY_TRACE

19 years agoITS#3578 increment parent's referral count
Howard Chu [Tue, 2 Aug 2005 11:24:52 +0000 (11:24 +0000)]
ITS#3578 increment parent's referral count

19 years agoassert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
Hallvard Furuseth [Tue, 2 Aug 2005 10:57:42 +0000 (10:57 +0000)]
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).

19 years agoCleanup (unused variable ad_oldest)
Hallvard Furuseth [Tue, 2 Aug 2005 10:36:48 +0000 (10:36 +0000)]
Cleanup (unused variable ad_oldest)

19 years agoITS#3912 missed an invocation of entry_schema_check in last round of changes
Howard Chu [Tue, 2 Aug 2005 09:44:44 +0000 (09:44 +0000)]
ITS#3912 missed an invocation of entry_schema_check in last round of changes