]> git.sur5r.net Git - openldap/log
openldap
19 years agocomplete ACI syntax exploitation
Pierangelo Masarati [Fri, 19 Aug 2005 00:25:18 +0000 (00:25 +0000)]
complete ACI syntax exploitation

19 years agoallow oidmacros in syntax (e.g. AD)
Pierangelo Masarati [Thu, 18 Aug 2005 23:34:10 +0000 (23:34 +0000)]
allow oidmacros in syntax (e.g. AD)

19 years agoclear code before calling functions that may modify it
Pierangelo Masarati [Thu, 18 Aug 2005 18:48:02 +0000 (18:48 +0000)]
clear code before calling functions that may modify it

19 years agomore about matchedDN in back-meta (ITS#3944)
Pierangelo Masarati [Thu, 18 Aug 2005 14:55:28 +0000 (14:55 +0000)]
more about matchedDN in back-meta (ITS#3944)

19 years agolittle bit easier to track from inside gdb...
Pierangelo Masarati [Thu, 18 Aug 2005 13:38:59 +0000 (13:38 +0000)]
little bit easier to track from inside gdb...

19 years agocleanup
Pierangelo Masarati [Thu, 18 Aug 2005 12:50:48 +0000 (12:50 +0000)]
cleanup

19 years agoa bit redundant, but works around ITS#3951
Pierangelo Masarati [Thu, 18 Aug 2005 12:14:07 +0000 (12:14 +0000)]
a bit redundant, but works around ITS#3951

19 years agostrip entryDN from search entries; frontend will reattach it :(
Pierangelo Masarati [Thu, 18 Aug 2005 11:26:29 +0000 (11:26 +0000)]
strip entryDN from search entries; frontend will reattach it :(

19 years agoadd subtree rename test
Pierangelo Masarati [Thu, 18 Aug 2005 10:28:36 +0000 (10:28 +0000)]
add subtree rename test

19 years agomerge sml_managing into sml_flags (SLAP_MOD_MANAGING)
Pierangelo Masarati [Thu, 18 Aug 2005 08:48:10 +0000 (08:48 +0000)]
merge sml_managing into sml_flags (SLAP_MOD_MANAGING)

19 years agozero out sml_managing any time a Modifications is built (use calloc?)
Pierangelo Masarati [Thu, 18 Aug 2005 08:12:26 +0000 (08:12 +0000)]
zero out sml_managing any time a Modifications is built (use calloc?)

19 years agoITS#3946 reset lockout status at beginning of all Binds
Howard Chu [Thu, 18 Aug 2005 07:05:56 +0000 (07:05 +0000)]
ITS#3946 reset lockout status at beginning of all Binds

19 years agoCheck for NULL in be_match()
Luke Howard [Thu, 18 Aug 2005 04:34:04 +0000 (04:34 +0000)]
Check for NULL in be_match()
Use be_match() in backend.c operational processing

19 years agoUse be_match() instead of testing pointer equivalence
Luke Howard [Thu, 18 Aug 2005 04:12:54 +0000 (04:12 +0000)]
Use be_match() instead of testing pointer equivalence

19 years agoAdd be_match() macro: one cannot always compare BackendDB pointer
Luke Howard [Thu, 18 Aug 2005 04:12:04 +0000 (04:12 +0000)]
Add be_match() macro: one cannot always compare BackendDB pointer
values in order to test equivalence, because the overlay engine
may have reset the backend pointer to a temporary copy on the stack.

So, we test pointer equivalence of the BackendDB itself, then of
be_nsuffix -- this macro can be updated if necessary.

19 years agomore on manage access level
Pierangelo Masarati [Thu, 18 Aug 2005 02:25:10 +0000 (02:25 +0000)]
more on manage access level

19 years agocondition compile dynacl
Pierangelo Masarati [Wed, 17 Aug 2005 22:41:30 +0000 (22:41 +0000)]
condition compile dynacl

19 years agomore on manage
Pierangelo Masarati [Wed, 17 Aug 2005 22:06:46 +0000 (22:06 +0000)]
more on manage

19 years agoveryclean-local: remove testdata instead of data (now a source directory)
Hallvard Furuseth [Wed, 17 Aug 2005 22:05:44 +0000 (22:05 +0000)]
veryclean-local: remove testdata instead of data (now a source directory)

19 years agoimprove manage test
Pierangelo Masarati [Wed, 17 Aug 2005 22:04:32 +0000 (22:04 +0000)]
improve manage test

19 years agoallow to manage entryUUID; allow to manage noUserMod attrs during add
Pierangelo Masarati [Wed, 17 Aug 2005 20:53:39 +0000 (20:53 +0000)]
allow to manage entryUUID; allow to manage noUserMod attrs during add

19 years agoallow noUserMod attrs write proxying when manageDIT is set (still to work in frontend...
Pierangelo Masarati [Wed, 17 Aug 2005 19:40:02 +0000 (19:40 +0000)]
allow noUserMod attrs write proxying when manageDIT is set (still to work in frontend for add)

19 years agofix return code (prevents clean usage of back-ldap for internal searchs)
Pierangelo Masarati [Wed, 17 Aug 2005 19:38:36 +0000 (19:38 +0000)]
fix return code (prevents clean usage of back-ldap for internal searchs)

19 years agoadd an example of -a usage (ITS#3930)
Pierangelo Masarati [Wed, 17 Aug 2005 17:39:34 +0000 (17:39 +0000)]
add an example of -a usage (ITS#3930)

19 years agoACIs almost entirely factored out of slapd
Pierangelo Masarati [Wed, 17 Aug 2005 17:14:57 +0000 (17:14 +0000)]
ACIs almost entirely factored out of slapd
Added OpenLDAPaciSyntax based on ITS#3877 by Nikita Shulga
aci_mask() doesn't exploit the normalized value yet (next step)
The case #define SLAPD_ACI_ENABLED / #undef SLAP_DYNACL should
be removed

19 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

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

19 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

19 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

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

19 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

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

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

19 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

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

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

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

19 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

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

19 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

19 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

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

19 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

19 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

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

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

19 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

19 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

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

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

19 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

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

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

19 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

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

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

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

19 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

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

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

19 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

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

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

19 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

19 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

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

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

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

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

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

19 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

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

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