]> git.sur5r.net Git - openldap/log
openldap
18 years agoUpdate for draft 09 (just added NO-USER-MODIFICATION to some operational
Howard Chu [Tue, 23 Aug 2005 19:24:35 +0000 (19:24 +0000)]
Update for draft 09 (just added NO-USER-MODIFICATION to some operational
attributes).

18 years agoharmonize back-ldbm and back-bdb handling of searchBase disclose access; fixes ITS...
Pierangelo Masarati [Tue, 23 Aug 2005 17:38:50 +0000 (17:38 +0000)]
harmonize back-ldbm and back-bdb handling of searchBase disclose access; fixes ITS#3964, ITS#3963 still open

18 years agofix use of uninitialized var
Pierangelo Masarati [Tue, 23 Aug 2005 13:02:53 +0000 (13:02 +0000)]
fix use of uninitialized var

18 years agoMore for valsort
Howard Chu [Tue, 23 Aug 2005 10:44:36 +0000 (10:44 +0000)]
More for valsort

18 years agoAdd valsort
Howard Chu [Tue, 23 Aug 2005 08:52:01 +0000 (08:52 +0000)]
Add valsort

18 years agoAdd sorted values overlay
Howard Chu [Tue, 23 Aug 2005 08:47:38 +0000 (08:47 +0000)]
Add sorted values overlay

18 years agoITS#3961 better fix - provide a context for the main thread. The context
Howard Chu [Tue, 23 Aug 2005 04:12:57 +0000 (04:12 +0000)]
ITS#3961 better fix - provide a context for the main thread. The context
must be reset by the caller to clear out temp allocations etc.

18 years agoITS#3961 provide ldap_pvt_thread_pool_fake_context_init/destroy, don't
Howard Chu [Tue, 23 Aug 2005 03:25:21 +0000 (03:25 +0000)]
ITS#3961 provide ldap_pvt_thread_pool_fake_context_init/destroy, don't
use arbitrary context pointers.

18 years agoneed some minimal timeout otherwise strange issues occur
Pierangelo Masarati [Mon, 22 Aug 2005 18:14:41 +0000 (18:14 +0000)]
need some minimal timeout otherwise strange issues occur

18 years agomore tests
Pierangelo Masarati [Mon, 22 Aug 2005 18:10:23 +0000 (18:10 +0000)]
more tests

18 years agofix ACIs; few issues remain (e.g. disclose)
Pierangelo Masarati [Mon, 22 Aug 2005 17:59:47 +0000 (17:59 +0000)]
fix ACIs; few issues remain (e.g. disclose)

18 years agoadd ACI test
Pierangelo Masarati [Mon, 22 Aug 2005 17:58:36 +0000 (17:58 +0000)]
add ACI test

18 years agoreflect API changes
Pierangelo Masarati [Mon, 22 Aug 2005 16:31:23 +0000 (16:31 +0000)]
reflect API changes

18 years agoreflect additions to dynacl config syntax
Pierangelo Masarati [Mon, 22 Aug 2005 16:30:41 +0000 (16:30 +0000)]
reflect additions to dynacl config syntax

18 years agoallow options in dynacl configuration
Pierangelo Masarati [Mon, 22 Aug 2005 16:28:50 +0000 (16:28 +0000)]
allow options in dynacl configuration

18 years agofurther ACI factoring out & confinement
Pierangelo Masarati [Mon, 22 Aug 2005 16:03:35 +0000 (16:03 +0000)]
further ACI factoring out & confinement

18 years agofix cleanup on error
Pierangelo Masarati [Mon, 22 Aug 2005 16:01:16 +0000 (16:01 +0000)]
fix cleanup on error

18 years ago9010 is not registered but used on Solaris...
Pierangelo Masarati [Mon, 22 Aug 2005 12:37:39 +0000 (12:37 +0000)]
9010 is not registered but used on Solaris...

18 years agofix previous commit
Pierangelo Masarati [Mon, 22 Aug 2005 10:46:57 +0000 (10:46 +0000)]
fix previous commit

18 years agomutex-protect "undefined" attribute descriptions/objectClasses addition (ITS#3958)
Pierangelo Masarati [Mon, 22 Aug 2005 09:46:17 +0000 (09:46 +0000)]
mutex-protect "undefined" attribute descriptions/objectClasses addition (ITS#3958)

18 years agolog the right string
Pierangelo Masarati [Mon, 22 Aug 2005 09:42:51 +0000 (09:42 +0000)]
log the right string

18 years agoallow a minimal timeout in compares
Pierangelo Masarati [Mon, 22 Aug 2005 09:42:26 +0000 (09:42 +0000)]
allow a minimal timeout in compares

18 years agotreat TRUE/FLASE like SUCCESS; don't chase "" referrals
Pierangelo Masarati [Mon, 22 Aug 2005 09:41:36 +0000 (09:41 +0000)]
treat TRUE/FLASE like SUCCESS; don't chase "" referrals

18 years agomoved to contrib/slapd-overlays/allop
Pierangelo Masarati [Mon, 22 Aug 2005 09:28:51 +0000 (09:28 +0000)]
moved to contrib/slapd-overlays/allop

18 years agocheck software version
Pierangelo Masarati [Mon, 22 Aug 2005 09:28:13 +0000 (09:28 +0000)]
check software version

18 years agomoved from servers/slapd/overlays
Pierangelo Masarati [Mon, 22 Aug 2005 09:14:12 +0000 (09:14 +0000)]
moved from servers/slapd/overlays

18 years agomoved to contrib/slapd-overlays/allop
Pierangelo Masarati [Mon, 22 Aug 2005 09:12:21 +0000 (09:12 +0000)]
moved to contrib/slapd-overlays/allop

18 years agoFix typo "==" -> "=" in test
Hallvard Furuseth [Mon, 22 Aug 2005 08:10:03 +0000 (08:10 +0000)]
Fix typo "==" -> "=" in test

18 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

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

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

18 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

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

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

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

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

18 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

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

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

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

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

18 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

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

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

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

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

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

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

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

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

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

18 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

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

18 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

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

18 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

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

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

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

18 years agocomplete ACI syntax exploitation
Pierangelo Masarati [Fri, 19 Aug 2005 00:25:18 +0000 (00:25 +0000)]
complete ACI syntax exploitation

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

18 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

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

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

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

18 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

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

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

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

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

18 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

18 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

18 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

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

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

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

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

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

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

18 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

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

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

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

18 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

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