]> git.sur5r.net Git - openldap/log
openldap
19 years agoFix typo "==" -> "=" in test
Hallvard Furuseth [Mon, 22 Aug 2005 08:10:03 +0000 (08:10 +0000)]
Fix typo "==" -> "=" in test

19 years agoFix typo $ol_link_thread -> $ol_link_threads
Hallvard Furuseth [Sun, 21 Aug 2005 01:18:39 +0000 (01:18 +0000)]
Fix typo $ol_link_thread -> $ol_link_threads

19 years agoSupport --disable-monitor: slapadd -b "" instead of -n 3.
Hallvard Furuseth [Sun, 21 Aug 2005 01:01:24 +0000 (01:01 +0000)]
Support --disable-monitor: slapadd -b "" instead of -n 3.

19 years agoSupport --disable-monitor
Hallvard Furuseth [Sun, 21 Aug 2005 00:59:34 +0000 (00:59 +0000)]
Support --disable-monitor

19 years agoSupport --disable-monitor: Do not leave $MONMOD empty
Hallvard Furuseth [Sun, 21 Aug 2005 00:58:00 +0000 (00:58 +0000)]
Support --disable-monitor: Do not leave $MONMOD empty

19 years agoSLAP_OP_* enums are always used. Delete #ifdef SLAPD_MONITOR around definition.
Hallvard Furuseth [Sun, 21 Aug 2005 00:00:09 +0000 (00:00 +0000)]
SLAP_OP_* enums are always used. Delete #ifdef SLAPD_MONITOR around definition.

19 years agocosmetic changes (easier to inspect under gdb)
Pierangelo Masarati [Sat, 20 Aug 2005 19:54:56 +0000 (19:54 +0000)]
cosmetic changes (easier to inspect under gdb)

19 years agocleanup
Pierangelo Masarati [Sat, 20 Aug 2005 19:50:59 +0000 (19:50 +0000)]
cleanup

19 years agofix referral logging @STATS2
Pierangelo Masarati [Sat, 20 Aug 2005 19:20:53 +0000 (19:20 +0000)]
fix referral logging @STATS2

19 years agofix (and partially revert) last commit
Pierangelo Masarati [Sat, 20 Aug 2005 19:05:10 +0000 (19:05 +0000)]
fix (and partially revert) last commit

19 years agoallow objectClass checking including sups
Pierangelo Masarati [Sat, 20 Aug 2005 19:01:53 +0000 (19:01 +0000)]
allow objectClass checking including sups

19 years agocleanup locking
Pierangelo Masarati [Sat, 20 Aug 2005 19:00:56 +0000 (19:00 +0000)]
cleanup locking

19 years agonote slapo-allop
Pierangelo Masarati [Sat, 20 Aug 2005 18:02:09 +0000 (18:02 +0000)]
note slapo-allop

19 years agocleanup objectclass inheritance
Pierangelo Masarati [Sat, 20 Aug 2005 18:01:40 +0000 (18:01 +0000)]
cleanup objectclass inheritance

19 years agocleanup objectclass inheritance; don't proceed if initial lookup resulted in a hit...
Pierangelo Masarati [Sat, 20 Aug 2005 18:00:40 +0000 (18:00 +0000)]
cleanup objectclass inheritance; don't proceed if initial lookup resulted in a hit with "success" errcode and the base is search; either the filter doesn't match, or the same action is taken twice

19 years agofix SASL numeric secprops parsing (ITS#3955)
Pierangelo Masarati [Sat, 20 Aug 2005 14:22:42 +0000 (14:22 +0000)]
fix SASL numeric secprops parsing (ITS#3955)

19 years agorework acknowledgments
Pierangelo Masarati [Sat, 20 Aug 2005 12:20:58 +0000 (12:20 +0000)]
rework acknowledgments

19 years agoallop man page
Pierangelo Masarati [Sat, 20 Aug 2005 12:20:39 +0000 (12:20 +0000)]
allop man page

19 years agostuff for slapo-allop configuration
Pierangelo Masarati [Sat, 20 Aug 2005 11:57:01 +0000 (11:57 +0000)]
stuff for slapo-allop configuration

19 years agomore for the allop overlay
Pierangelo Masarati [Sat, 20 Aug 2005 11:53:31 +0000 (11:53 +0000)]
more for the allop overlay

19 years agoall-operational overlay: allows to configure part of te DIT so that requests
Pierangelo Masarati [Sat, 20 Aug 2005 11:48:13 +0000 (11:48 +0000)]
all-operational overlay: allows to configure part of te DIT so that requests
with requested attribute lists empty or containing "*" are expanded
to contain "+" as well, so that all operational attributes are returned.
This may be required to work around dumb clients that interrogate
the rootDSE requesting "*" and expecting operational attributes to be
returned as well.  To make it a bit more generic, it can be configured
to do the same for an arbitrary search described by an URI.  For example,

overlay allop
allop-URI ldap:///??sub

before any database instantiation causes all searches to return "*","+"
when ors_attrs is NULL or countains "*".

19 years agoreflect recent changes to code
Pierangelo Masarati [Sat, 20 Aug 2005 11:39:08 +0000 (11:39 +0000)]
reflect recent changes to code

19 years agoneed an AUXILIARY objectClass to play with some special error codes (need to update...
Pierangelo Masarati [Sat, 20 Aug 2005 11:31:51 +0000 (11:31 +0000)]
need an AUXILIARY objectClass to play with some special error codes (need to update man page as well)...

19 years agonormalize/pretty attributes when possible
Pierangelo Masarati [Sat, 20 Aug 2005 11:31:07 +0000 (11:31 +0000)]
normalize/pretty attributes when possible

19 years agoClarify second all user attrs comment
Kurt Zeilenga [Sat, 20 Aug 2005 07:00:16 +0000 (07:00 +0000)]
Clarify second all user attrs comment

19 years agoClarify attribute comment
Kurt Zeilenga [Sat, 20 Aug 2005 06:58:22 +0000 (06:58 +0000)]
Clarify attribute comment

19 years agouse our default referral; slapd complains about returning 0x0a without a ref
Pierangelo Masarati [Fri, 19 Aug 2005 17:04:12 +0000 (17:04 +0000)]
use our default referral; slapd complains about returning 0x0a without a ref

19 years agodon't try to print NULLs on Solaris...
Pierangelo Masarati [Fri, 19 Aug 2005 15:47:52 +0000 (15:47 +0000)]
don't try to print NULLs on Solaris...

19 years agoplug yet another one-time leak
Pierangelo Masarati [Fri, 19 Aug 2005 15:05:03 +0000 (15:05 +0000)]
plug yet another one-time leak

19 years agoallow to pass timeout arg (tnx to Luca)
Pierangelo Masarati [Fri, 19 Aug 2005 07:27:32 +0000 (07:27 +0000)]
allow to pass timeout arg (tnx to Luca)

19 years agoAdd noop-06
Kurt Zeilenga [Fri, 19 Aug 2005 00:35:49 +0000 (00:35 +0000)]
Add noop-06

19 years agocouldn't slapcat with ACIs in slapd.conf :)
Pierangelo Masarati [Fri, 19 Aug 2005 00:30:10 +0000 (00:30 +0000)]
couldn't slapcat with ACIs in slapd.conf :)

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)