]> git.sur5r.net Git - openldap/log
openldap
18 years agoITS#3946 use connection_destroy hook to reset lockouts instead of unbind
Howard Chu [Wed, 17 Aug 2005 16:42:22 +0000 (16:42 +0000)]
ITS#3946 use connection_destroy hook to reset lockouts instead of unbind

18 years agofix testers (tnx to Luca)
Pierangelo Masarati [Wed, 17 Aug 2005 16:19:58 +0000 (16:19 +0000)]
fix testers (tnx to Luca)

18 years agofix small issues with dynacl and ACI in general
Pierangelo Masarati [Wed, 17 Aug 2005 14:44:41 +0000 (14:44 +0000)]
fix small issues with dynacl and ACI in general

18 years agoadd posixGroup access control via dynacl as an example of how dynacl work
Pierangelo Masarati [Wed, 17 Aug 2005 14:32:27 +0000 (14:32 +0000)]
add posixGroup access control via dynacl as an example of how dynacl work

18 years agoimplement overlapping targets enhancement (ITS#3711)
Pierangelo Masarati [Wed, 17 Aug 2005 08:34:49 +0000 (08:34 +0000)]
implement overlapping targets enhancement (ITS#3711)

18 years agoback out fix to ITS#3932
Pierangelo Masarati [Wed, 17 Aug 2005 08:32:47 +0000 (08:32 +0000)]
back out fix to ITS#3932

18 years agofix "matched" return and return code (ITS#3944)
Pierangelo Masarati [Wed, 17 Aug 2005 08:25:48 +0000 (08:25 +0000)]
fix "matched" return and return code (ITS#3944)

18 years agofix resources release issue
Pierangelo Masarati [Wed, 17 Aug 2005 08:25:10 +0000 (08:25 +0000)]
fix resources release issue

18 years agoin some cases, back-meta needs to propagate pseudo-root identity even if it's not...
Pierangelo Masarati [Wed, 17 Aug 2005 08:19:37 +0000 (08:19 +0000)]
in some cases, back-meta needs to propagate pseudo-root identity even if it's not the authorizing backend

18 years agobetter handling of bind retry
Pierangelo Masarati [Wed, 17 Aug 2005 08:17:30 +0000 (08:17 +0000)]
better handling of bind retry

18 years agoset "matched" as appropriate (ITS#3942)
Pierangelo Masarati [Wed, 17 Aug 2005 08:13:24 +0000 (08:13 +0000)]
set "matched" as appropriate (ITS#3942)

18 years agocleanup
Pierangelo Masarati [Wed, 17 Aug 2005 08:08:23 +0000 (08:08 +0000)]
cleanup

18 years agorework internal functions - need the parsed list of URIs before massaging; no impact...
Pierangelo Masarati [Wed, 17 Aug 2005 07:50:28 +0000 (07:50 +0000)]
rework internal functions - need the parsed list of URIs before massaging; no impact on exposed funcs

18 years agoAdd read-only SLAPI_X_ADD_STRUCTURAL_CLASS pblock extension.
Luke Howard [Wed, 17 Aug 2005 07:25:27 +0000 (07:25 +0000)]
Add read-only SLAPI_X_ADD_STRUCTURAL_CLASS pblock extension.

This is necessary to compensate for a regression in the SLAPI
implementation since it moved to an overlay: global add preop
plugins no longer have access to operational attributes,
because slap_mods_opattrs() is called by fe_op_add(), invoked
after the global SLAPI overlay.

(Some of our plugins need to the structural object class of the
to-be-added entry.)

I suppose an option would be to have the SLAPI overlay
optimistically call slap_mods_opattrs() (as long as this can be
called idempotently). If there are any other ideas let me know.

18 years agoAdd SLAPI_X_ADD_STRUCTURAL_CLASS
Luke Howard [Wed, 17 Aug 2005 07:12:51 +0000 (07:12 +0000)]
Add SLAPI_X_ADD_STRUCTURAL_CLASS

18 years agoITS#3941: posixGroup should be STRUCTURAL
Kurt Zeilenga [Wed, 17 Aug 2005 07:10:02 +0000 (07:10 +0000)]
ITS#3941: posixGroup should be STRUCTURAL

18 years agoRemove unused label "error_return"
Hallvard Furuseth [Tue, 16 Aug 2005 19:45:50 +0000 (19:45 +0000)]
Remove unused label "error_return"

18 years agoMake sure we release entry lock before sending paged response
Luke Howard [Mon, 15 Aug 2005 11:27:42 +0000 (11:27 +0000)]
Make sure we release entry lock before sending paged response

18 years agoMore optimization for CSN filter checks
Howard Chu [Mon, 15 Aug 2005 07:18:19 +0000 (07:18 +0000)]
More optimization for CSN filter checks

18 years agoFix prev commit
Howard Chu [Mon, 15 Aug 2005 05:36:56 +0000 (05:36 +0000)]
Fix prev commit

18 years agoOptimize FINDCSN case
Howard Chu [Mon, 15 Aug 2005 00:04:13 +0000 (00:04 +0000)]
Optimize FINDCSN case

18 years agoITS#3931 fix dnRelativeMatch return values
Howard Chu [Sun, 14 Aug 2005 23:08:20 +0000 (23:08 +0000)]
ITS#3931 fix dnRelativeMatch return values

18 years agoITS#3936 fix wording, add clarification
Howard Chu [Sun, 14 Aug 2005 08:48:57 +0000 (08:48 +0000)]
ITS#3936 fix wording, add clarification

18 years agoITS#3935 tweak sessionlog description
Howard Chu [Sun, 14 Aug 2005 08:35:31 +0000 (08:35 +0000)]
ITS#3935 tweak sessionlog description

18 years agoITS#3935 fix sessionlog description
Howard Chu [Sun, 14 Aug 2005 08:20:54 +0000 (08:20 +0000)]
ITS#3935 fix sessionlog description

18 years agoITS#3845 allow rootpw to be used for rootdn SASL binds, based on
Howard Chu [Sun, 14 Aug 2005 08:00:54 +0000 (08:00 +0000)]
ITS#3845 allow rootpw to be used for rootdn SASL binds, based on
patch from Jason Townsend

18 years agoAdd missing Statslog() statements (loglevel stats/stats2):
Hallvard Furuseth [Sun, 14 Aug 2005 00:14:58 +0000 (00:14 +0000)]
Add missing Statslog() statements (loglevel stats/stats2):
  "ABANDON", "STARTTLS", "CANCEL", "WHOAMI", "PASSMOD", "EXT", "INTERM",
  "TLS established", SASL and Extended Response "RESULT".
In Statslog output "conn=xx fd=yy closed", append the reason in
  "()" unless client or server closed the connection after Unbind.
Still missing Statslog output from a number of failed requests.

18 years agoassert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
Hallvard Furuseth [Sat, 13 Aug 2005 21:10:41 +0000 (21:10 +0000)]
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).

18 years agofix ITS#3932 - regex/rewrite concurrency issue
Pierangelo Masarati [Sat, 13 Aug 2005 18:43:20 +0000 (18:43 +0000)]
fix ITS#3932 - regex/rewrite concurrency issue

18 years agoregression for ITS#3506
Pierangelo Masarati [Sat, 13 Aug 2005 16:28:52 +0000 (16:28 +0000)]
regression for ITS#3506

18 years agopersonally, I'm much more comfortable using hex for log levels...
Pierangelo Masarati [Sat, 13 Aug 2005 16:04:40 +0000 (16:04 +0000)]
personally, I'm much more comfortable using hex for log levels...

18 years agoalternate fix to ITS#3916
Pierangelo Masarati [Sat, 13 Aug 2005 15:22:09 +0000 (15:22 +0000)]
alternate fix to ITS#3916

18 years agoutime is not needed here any more
Howard Chu [Sat, 13 Aug 2005 13:18:00 +0000 (13:18 +0000)]
utime is not needed here any more

18 years agoRework auto-recovery logic:
Howard Chu [Sat, 13 Aug 2005 12:59:45 +0000 (12:59 +0000)]
Rework auto-recovery logic:
  Removes ITS#3824 patch.
  Adds trace message for ITS#3833.
  Streamlines ITS#3607 patch.

18 years agoUse IANA assigned OIDs
Kurt Zeilenga [Fri, 12 Aug 2005 21:24:13 +0000 (21:24 +0000)]
Use IANA assigned OIDs

18 years agoITS#3904: fix installed man page symlinks
Kurt Zeilenga [Fri, 12 Aug 2005 21:14:32 +0000 (21:14 +0000)]
ITS#3904: fix installed man page symlinks

18 years agoReflect main COPYRIGHT file
Kurt Zeilenga [Fri, 12 Aug 2005 19:30:20 +0000 (19:30 +0000)]
Reflect main COPYRIGHT file

18 years agoReplace 666 OIDs for Assertion/pre-read/post-read controls with
Kurt Zeilenga [Fri, 12 Aug 2005 18:08:15 +0000 (18:08 +0000)]
Replace 666 OIDs for Assertion/pre-read/post-read controls with
appropriate IANA assigned OIDs, and remove hide.

18 years agoshould compile also when #undef HAVE_TLS
Pierangelo Masarati [Fri, 12 Aug 2005 10:51:39 +0000 (10:51 +0000)]
should compile also when #undef HAVE_TLS

18 years agoshould compile also when #undef HAVE_TLS
Pierangelo Masarati [Fri, 12 Aug 2005 10:49:55 +0000 (10:49 +0000)]
should compile also when #undef HAVE_TLS

18 years agoAC_DEFUN cleanup
Kurt Zeilenga [Fri, 12 Aug 2005 03:20:54 +0000 (03:20 +0000)]
AC_DEFUN cleanup

18 years agominor cleanup OPENLDAP_AC_BP
Pierangelo Masarati [Thu, 11 Aug 2005 23:53:52 +0000 (23:53 +0000)]
minor cleanup

18 years agoadd authzSyntax for authzTo/authzFrom attributes; add X-ORDERED 'VALUES' if support...
Pierangelo Masarati [Thu, 11 Aug 2005 23:52:17 +0000 (23:52 +0000)]
add authzSyntax for authzTo/authzFrom attributes; add X-ORDERED 'VALUES' if support for ordered_value_{validate,pretty,normalize} is present; exploit normalization in slap_parseURI (only #ifdef LDAP_DEVEL)

18 years agoplug one-time leak
Pierangelo Masarati [Thu, 11 Aug 2005 23:35:47 +0000 (23:35 +0000)]
plug one-time leak

18 years agowrap validate/pretty/normalize for ordered values (only #ifdef LDAP_DEVEL)
Pierangelo Masarati [Thu, 11 Aug 2005 23:35:15 +0000 (23:35 +0000)]
wrap validate/pretty/normalize for ordered values (only #ifdef LDAP_DEVEL)

18 years agoITS#3910 heimdal 0.7 compatibility, silence warnings
Howard Chu [Thu, 11 Aug 2005 21:05:19 +0000 (21:05 +0000)]
ITS#3910 heimdal 0.7 compatibility, silence warnings

18 years agofix error message
Pierangelo Masarati [Thu, 11 Aug 2005 21:02:32 +0000 (21:02 +0000)]
fix error message

18 years agosilence warning
Pierangelo Masarati [Thu, 11 Aug 2005 19:32:28 +0000 (19:32 +0000)]
silence warning

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

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

18 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

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

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

18 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

18 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

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

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

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

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

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

18 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

18 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???

18 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

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

18 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

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

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

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

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

18 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

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

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

18 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

18 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

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

18 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

18 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

18 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

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

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

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

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

18 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

18 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

18 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

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

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

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

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

18 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

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

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

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

18 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

18 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

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

18 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

18 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

18 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

18 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