]> git.sur5r.net Git - openldap/log
openldap
19 years agoThis patch is for a component filter. please refer ITS#3260 for detail
Sang Seok Lim [Thu, 26 Aug 2004 00:06:39 +0000 (00:06 +0000)]
This patch is for a component filter.  please refer ITS#3260 for detail
and "implementing GSER and Component Matching" in ODD 2004.
All codes are #ifdef'd with LDAP_COMP_MATCH.
test031-component-filter works correctly only when the LDAP_COMP_MATCH macro is set.
To disable it, set AC_WITH_COMP_MATCH "no" in "openldap_src/tests/run.in".

19 years agoITS#3301 fix prev commit, don't fail op on DB_NOTFOUND
Howard Chu [Wed, 25 Aug 2004 20:53:39 +0000 (20:53 +0000)]
ITS#3301 fix prev commit, don't fail op on DB_NOTFOUND

19 years agoSupport pre-operation and post-operations for backend_group()
Luke Howard [Wed, 25 Aug 2004 15:20:19 +0000 (15:20 +0000)]
Support pre-operation and post-operations for backend_group()

This allows computed attribute plugins to also provide their attributes to
the ACL engine, for example

19 years agoAdd pblock types for backend_group SLAPI plugins
Luke Howard [Wed, 25 Aug 2004 15:18:56 +0000 (15:18 +0000)]
Add pblock types for backend_group SLAPI plugins

19 years agocleanup
Pierangelo Masarati [Wed, 25 Aug 2004 14:37:28 +0000 (14:37 +0000)]
cleanup

19 years agocheck if "rootdn" is defined
Pierangelo Masarati [Wed, 25 Aug 2004 14:29:40 +0000 (14:29 +0000)]
check if "rootdn" is defined

19 years agoITS#3301 check for dn2entry failure
Howard Chu [Wed, 25 Aug 2004 13:55:55 +0000 (13:55 +0000)]
ITS#3301 check for dn2entry failure

19 years agoRemove unused variable
Luke Howard [Wed, 25 Aug 2004 12:31:43 +0000 (12:31 +0000)]
Remove unused variable

19 years ago"order by" plus -S "" seems to work...
Pierangelo Masarati [Wed, 25 Aug 2004 12:14:07 +0000 (12:14 +0000)]
"order by" plus -S "" seems to work...

19 years agotry with "order by"...
Pierangelo Masarati [Wed, 25 Aug 2004 12:09:05 +0000 (12:09 +0000)]
try with "order by"...

19 years agoThis patch fixes some subtle interactions between SLAPI and syncrepl. Due to
Luke Howard [Wed, 25 Aug 2004 11:52:55 +0000 (11:52 +0000)]
This patch fixes some subtle interactions between SLAPI and syncrepl. Due to
SLAPI always assigning connection and operation IDs of zero for internal
operations, such operations would cause a stale contextCSN to be returned from
slap_get_commit_csn(). As a result, SLAPI internal updates would be invisible
to replicas until an external update was made. Also, SLAPI internal operations
never called slap_graduate_commit_csn() which leaked pending CSNs.

Also included in this patch is a general cleanup of some of the SLAPI code.

Note that we need to use a separate mutex on conn_nextid to avoid a deadlock
where a post-operation plugin tries to acquire connections_mutex, having locked
the per-connection mutex, while the listener thread tries to acquire the
per-connection mutex (having locked connections_mutex). connection.c needs to
be fixed to acquire mutexes in the same order.

19 years agoproblems: asort() is not available in all awk implementations
Pierangelo Masarati [Wed, 25 Aug 2004 11:43:21 +0000 (11:43 +0000)]
problems: asort() is not available in all awk implementations

19 years agoremove cruft
Pierangelo Masarati [Wed, 25 Aug 2004 11:32:47 +0000 (11:32 +0000)]
remove cruft

19 years agoworks with IBM db2 as well; at this point the tsts are assumed to wok with any RDBMS...
Pierangelo Masarati [Wed, 25 Aug 2004 11:28:14 +0000 (11:28 +0000)]
works with IBM db2 as well; at this point the tsts are assumed to wok with any RDBMS that allows write operations

19 years agomore definitive improvements; now write operations are consistent; plugged some more...
Pierangelo Masarati [Wed, 25 Aug 2004 10:41:13 +0000 (10:41 +0000)]
more definitive improvements; now write operations are consistent; plugged some more leaks/invalid frees; tests are more complete.  IBM db2 doesn't pass write test because the entries are written in a different order; need to write a script that sorts the results...

19 years agowrite test is almost working for ibmdb2 as well...
Pierangelo Masarati [Tue, 24 Aug 2004 17:08:30 +0000 (17:08 +0000)]
write test is almost working for ibmdb2 as well...

19 years agorevert previous (erroneous) commit
Pierangelo Masarati [Tue, 24 Aug 2004 15:38:40 +0000 (15:38 +0000)]
revert previous (erroneous) commit

19 years agoneed to perform a select after adds...
Pierangelo Masarati [Tue, 24 Aug 2004 15:37:10 +0000 (15:37 +0000)]
need to perform a select after adds...

19 years agocleanup
Pierangelo Masarati [Tue, 24 Aug 2004 15:16:06 +0000 (15:16 +0000)]
cleanup

19 years agoread-tests work also for ibmdb2
Pierangelo Masarati [Tue, 24 Aug 2004 15:14:42 +0000 (15:14 +0000)]
read-tests work also for ibmdb2

19 years agofurther fixes
Pierangelo Masarati [Tue, 24 Aug 2004 15:01:39 +0000 (15:01 +0000)]
further fixes

19 years agoready for test...
Pierangelo Masarati [Tue, 24 Aug 2004 11:45:33 +0000 (11:45 +0000)]
ready for test...

19 years agofix various issues; line up with new tests
Pierangelo Masarati [Tue, 24 Aug 2004 10:31:02 +0000 (10:31 +0000)]
fix various issues; line up with new tests

19 years agomove call to frontend API
Pierangelo Masarati [Tue, 24 Aug 2004 09:29:11 +0000 (09:29 +0000)]
move call to frontend API

19 years agocleanup docs
Pierangelo Masarati [Tue, 24 Aug 2004 09:27:45 +0000 (09:27 +0000)]
cleanup docs

19 years agorework SQL tests invocation; improve all tests
Pierangelo Masarati [Tue, 24 Aug 2004 09:26:39 +0000 (09:26 +0000)]
rework SQL tests invocation; improve all tests

19 years ago- proxy cache erroneously returns the filtering attributes
Pierangelo Masarati [Tue, 24 Aug 2004 09:24:55 +0000 (09:24 +0000)]
- proxy cache erroneously returns the filtering attributes
  and the objectClass right after caching, even if not requested,
  while subsequent searches are fine;
- the response callback needs be apended at the end of the
  callback list, otherwise the resulting entries are cached
  before other overlays can alter them
- the callback structure and its contents needs be freed

19 years agoadd paged results support to back-ldap
Pierangelo Masarati [Tue, 24 Aug 2004 09:19:33 +0000 (09:19 +0000)]
add paged results support to back-ldap

19 years agoldapsearch doesn't handle correctly setting paged results size to 0 to abort
Pierangelo Masarati [Tue, 24 Aug 2004 09:17:10 +0000 (09:17 +0000)]
ldapsearch doesn't handle correctly setting paged results size to 0 to abort

19 years agoITS#3298 - ldap_sasl_int_bind() refers to incorrect Sockbuf when called
Luke Howard [Tue, 24 Aug 2004 05:14:07 +0000 (05:14 +0000)]
ITS#3298 - ldap_sasl_int_bind() refers to incorrect Sockbuf when called
from within a rebind function.

19 years agoITS#3297 (double free)
Luke Howard [Tue, 24 Aug 2004 01:20:49 +0000 (01:20 +0000)]
ITS#3297 (double free)

19 years agoHarmonize bvptr2obj_copy() with values2obj_copy() - ie. don't fail if NULL
Luke Howard [Mon, 23 Aug 2004 03:59:07 +0000 (03:59 +0000)]
Harmonize bvptr2obj_copy() with values2obj_copy() - ie. don't fail if NULL
is passed in.

19 years agoupdate and cleanup
Pierangelo Masarati [Sat, 21 Aug 2004 12:28:54 +0000 (12:28 +0000)]
update and cleanup

19 years agomove proxycache configuration directives into slapo-pcache; add references in related...
Pierangelo Masarati [Sat, 21 Aug 2004 12:20:01 +0000 (12:20 +0000)]
move proxycache configuration directives into slapo-pcache; add references in related man pages

19 years agoadd passwd change test
Pierangelo Masarati [Sat, 21 Aug 2004 09:55:16 +0000 (09:55 +0000)]
add passwd change test

19 years agoblind update of IBM db2 example data
Pierangelo Masarati [Sat, 21 Aug 2004 09:48:49 +0000 (09:48 +0000)]
blind update of IBM db2 example data

19 years agocleanup
Pierangelo Masarati [Sat, 21 Aug 2004 09:47:50 +0000 (09:47 +0000)]
cleanup

19 years agofurther improve tests; line-up with code
Pierangelo Masarati [Sat, 21 Aug 2004 09:45:14 +0000 (09:45 +0000)]
further improve tests; line-up with code

19 years agocleanup previous commit
Pierangelo Masarati [Sat, 21 Aug 2004 09:38:58 +0000 (09:38 +0000)]
cleanup previous commit

19 years agohandle referrals correctly; allow to add suffix entry; fix multiple values add bug...
Pierangelo Masarati [Sat, 21 Aug 2004 09:38:08 +0000 (09:38 +0000)]
handle referrals correctly; allow to add suffix entry; fix multiple values add bug; cleanup

19 years agoattrs=*,+ becmoes the default behavior when attrs are not specified in syncrepl defin...
Jong Hyuk Choi [Fri, 20 Aug 2004 16:26:58 +0000 (16:26 +0000)]
attrs=*,+ becmoes the default behavior when attrs are not specified in syncrepl definition. When attrs are specified, operational attributes other than objectClass, structuralObjectClass, and entryCSN need to be explicitly specified to be included in the replication content.

19 years agomore on back-sql test
Pierangelo Masarati [Fri, 20 Aug 2004 16:12:49 +0000 (16:12 +0000)]
more on back-sql test

19 years agonow PostgreSQL seems to work...
Pierangelo Masarati [Fri, 20 Aug 2004 15:24:39 +0000 (15:24 +0000)]
now PostgreSQL seems to work...

19 years agoupdate of RDBMS data for test031
Pierangelo Masarati [Fri, 20 Aug 2004 14:27:32 +0000 (14:27 +0000)]
update of RDBMS data for test031

19 years agotest for back-sql; disbled by default, requires some preparation (essentially the...
Pierangelo Masarati [Fri, 20 Aug 2004 14:26:18 +0000 (14:26 +0000)]
test for back-sql; disbled by default, requires some preparation (essentially the RDBMS and the ODBC) before being run

19 years agoadded back-sql test under conditions; needs a README...
Pierangelo Masarati [Fri, 20 Aug 2004 12:44:32 +0000 (12:44 +0000)]
added back-sql test under conditions; needs a README...

19 years agoadded back-sql test under conditions; needs a README...
Pierangelo Masarati [Fri, 20 Aug 2004 12:44:32 +0000 (12:44 +0000)]
added back-sql test under conditions; needs a README...

19 years agoallow to search for "auxiliary" objectClasses (i.e. those in ldap_entry_objclasses...
Pierangelo Masarati [Fri, 20 Aug 2004 12:06:03 +0000 (12:06 +0000)]
allow to search for "auxiliary" objectClasses (i.e. those in ldap_entry_objclasses); allow to return all objectClasses including "auxiliary"; various cleanup

19 years agosplit entry_free in entry_clean ...
Pierangelo Masarati [Fri, 20 Aug 2004 12:01:15 +0000 (12:01 +0000)]
split entry_free in entry_clean ...

19 years agoITS#3289 - add SLAP_AT_DYNAMIC flag for dynamically generated attributes.
Howard Chu [Thu, 19 Aug 2004 23:39:45 +0000 (23:39 +0000)]
ITS#3289 - add SLAP_AT_DYNAMIC flag for dynamically generated attributes.
Set flag for hasSubordinates and subschemaSubentry. Strip dynamic attributes
before storing entries in syncrepl.

19 years agoITS#3291 delay use of slap_known_controls until all configuration is done
Howard Chu [Thu, 19 Aug 2004 12:10:22 +0000 (12:10 +0000)]
ITS#3291 delay use of slap_known_controls until all configuration is done

19 years agoReworked fix for ITS#3140 - add access parameter to backend_attribute
Howard Chu [Wed, 18 Aug 2004 17:14:22 +0000 (17:14 +0000)]
Reworked fix for ITS#3140 - add access parameter to backend_attribute

19 years agoMore for ITS#3288 be_pcl_mutex fixes
Howard Chu [Wed, 18 Aug 2004 16:43:19 +0000 (16:43 +0000)]
More for ITS#3288 be_pcl_mutex fixes

19 years agoMore fixes for prev commit
Howard Chu [Wed, 18 Aug 2004 15:23:37 +0000 (15:23 +0000)]
More fixes for prev commit

19 years agoDelete unused be_context_csn_mutex
Howard Chu [Wed, 18 Aug 2004 10:54:58 +0000 (10:54 +0000)]
Delete unused be_context_csn_mutex

19 years agoFix ITS#3288: use be_pcl_mutexp instead of be_pcl_mutex
Howard Chu [Wed, 18 Aug 2004 10:53:34 +0000 (10:53 +0000)]
Fix ITS#3288: use be_pcl_mutexp instead of be_pcl_mutex

19 years agoRevert rev 1.92, AI_ADDRCONFIG is not a legal flag for getaddrinfo
Howard Chu [Sun, 15 Aug 2004 23:15:55 +0000 (23:15 +0000)]
Revert rev 1.92, AI_ADDRCONFIG is not a legal flag for getaddrinfo

19 years agoFix crash on modify if userpassword didn't exist yet
Howard Chu [Sun, 15 Aug 2004 22:23:58 +0000 (22:23 +0000)]
Fix crash on modify if userpassword didn't exist yet

19 years ago- improvments on schema parsing
Ralf Haferkamp [Fri, 13 Aug 2004 11:37:21 +0000 (11:37 +0000)]
- improvments on schema parsing
- return server message on modification errors

19 years agoshould fix ITS#3265
Pierangelo Masarati [Thu, 12 Aug 2004 10:33:49 +0000 (10:33 +0000)]
should fix ITS#3265

19 years agoallow back-relay as module (ITS#3274)
Pierangelo Masarati [Thu, 12 Aug 2004 10:20:19 +0000 (10:20 +0000)]
allow back-relay as module (ITS#3274)

19 years agocleanup attr flags; provide a helper OPENDLAP_REL_ENG_2_2_MP
Pierangelo Masarati [Fri, 6 Aug 2004 17:29:59 +0000 (17:29 +0000)]
cleanup attr flags; provide a helper

19 years agocleanup
Pierangelo Masarati [Fri, 6 Aug 2004 16:51:35 +0000 (16:51 +0000)]
cleanup

19 years agofix permissive; cleanup
Pierangelo Masarati [Fri, 6 Aug 2004 16:40:48 +0000 (16:40 +0000)]
fix permissive; cleanup

19 years agocleanup
Pierangelo Masarati [Fri, 6 Aug 2004 16:40:15 +0000 (16:40 +0000)]
cleanup

19 years agofix attr_merge() usage; cleanup
Pierangelo Masarati [Fri, 6 Aug 2004 16:39:45 +0000 (16:39 +0000)]
fix attr_merge() usage; cleanup

19 years agofix attr_merge() usage
Pierangelo Masarati [Fri, 6 Aug 2004 16:38:41 +0000 (16:38 +0000)]
fix attr_merge() usage

19 years agofix malformed test and var initialization
Pierangelo Masarati [Fri, 6 Aug 2004 16:14:05 +0000 (16:14 +0000)]
fix malformed test and var initialization

19 years agoallow to compare on hasSubordinates
Pierangelo Masarati [Sat, 31 Jul 2004 10:42:28 +0000 (10:42 +0000)]
allow to compare on hasSubordinates

19 years agoslapadd -i <rid list> fix
Jong Hyuk Choi [Sat, 31 Jul 2004 00:03:58 +0000 (00:03 +0000)]
slapadd -i <rid list> fix

19 years agodon't recompute userattrs
Pierangelo Masarati [Fri, 30 Jul 2004 17:34:47 +0000 (17:34 +0000)]
don't recompute userattrs

19 years agomake sure sun_path is cleared out before accept()
Pierangelo Masarati [Fri, 30 Jul 2004 09:56:22 +0000 (09:56 +0000)]
make sure sun_path is cleared out before accept()

19 years agofurther improve loglevel selection
Pierangelo Masarati [Thu, 29 Jul 2004 12:39:51 +0000 (12:39 +0000)]
further improve loglevel selection

19 years agoallow to use names to set loglevel
Pierangelo Masarati [Thu, 29 Jul 2004 00:10:03 +0000 (00:10 +0000)]
allow to use names to set loglevel

19 years agominor cleanup
Pierangelo Masarati [Wed, 28 Jul 2004 23:48:08 +0000 (23:48 +0000)]
minor cleanup

19 years agoshould not assert(0) in UUIDValidate
Jong Hyuk Choi [Wed, 28 Jul 2004 17:27:52 +0000 (17:27 +0000)]
should not assert(0) in UUIDValidate

19 years agoPatch for ITS#3259
Jong Hyuk Choi [Wed, 28 Jul 2004 17:24:54 +0000 (17:24 +0000)]
Patch for ITS#3259

19 years agoin case of early exit, frontendDB might be uninitialized
Pierangelo Masarati [Tue, 27 Jul 2004 21:15:33 +0000 (21:15 +0000)]
in case of early exit, frontendDB might be uninitialized

19 years agofrontend stuff moved into a database structure, essentially to allow overlays to...
Pierangelo Masarati [Mon, 26 Jul 2004 21:26:34 +0000 (21:26 +0000)]
frontend stuff moved into a database structure, essentially to allow overlays to be processed before database selection; passes all tests (ITS#3080)

19 years agomonitor database added to all tests, to detect further incompatibilities
Pierangelo Masarati [Mon, 26 Jul 2004 20:26:52 +0000 (20:26 +0000)]
monitor database added to all tests, to detect further incompatibilities

19 years agomisc cleanup and improvements; please use @URIx@ and @PORTx@ in configurations/tests
Pierangelo Masarati [Mon, 26 Jul 2004 13:45:28 +0000 (13:45 +0000)]
misc cleanup and improvements; please use @URIx@ and @PORTx@ in configurations/tests

19 years agocleanup previous fix; maybe the advanced url parsing funcs should go in some ldap_pvt...
Pierangelo Masarati [Mon, 26 Jul 2004 08:31:01 +0000 (08:31 +0000)]
cleanup previous fix; maybe the advanced url parsing funcs should go in some ldap_pvt.h header?

19 years agoslightly rework user/operational attributes handling (including fixing a bug in the...
Pierangelo Masarati [Sun, 25 Jul 2004 23:16:40 +0000 (23:16 +0000)]
slightly rework user/operational attributes handling (including fixing a bug in the logic of the previous change to backend_operational()); cleanup; more improvements to slapo-rwm and back-relay

19 years agofix ITS#3257
Pierangelo Masarati [Sun, 25 Jul 2004 23:05:29 +0000 (23:05 +0000)]
fix ITS#3257

19 years agofix ITS#3254
Pierangelo Masarati [Sun, 25 Jul 2004 22:57:52 +0000 (22:57 +0000)]
fix ITS#3254

19 years agofix leak when the rewriteContext is disabled (ITS#3256)
Pierangelo Masarati [Sun, 25 Jul 2004 22:45:53 +0000 (22:45 +0000)]
fix leak when the rewriteContext is disabled (ITS#3256)

19 years agoFix ITS#3255, boi_bdb comparisons
Howard Chu [Sun, 25 Jul 2004 21:10:41 +0000 (21:10 +0000)]
Fix ITS#3255, boi_bdb comparisons

19 years agoFix spurious warning for fasttool keyword when running in Server mode
Howard Chu [Sun, 25 Jul 2004 19:49:24 +0000 (19:49 +0000)]
Fix spurious warning for fasttool keyword when running in Server mode

19 years agocleanup
Pierangelo Masarati [Sat, 24 Jul 2004 17:10:29 +0000 (17:10 +0000)]
cleanup

19 years agocleanup URI parsing/checking (fixes ITS#3253)
Pierangelo Masarati [Sat, 24 Jul 2004 11:17:03 +0000 (11:17 +0000)]
cleanup URI parsing/checking (fixes ITS#3253)

19 years agocleanup error codes
Pierangelo Masarati [Sat, 24 Jul 2004 11:15:13 +0000 (11:15 +0000)]
cleanup error codes

19 years agoITS#3250 don't call select unnecessarily
Howard Chu [Sat, 24 Jul 2004 03:13:29 +0000 (03:13 +0000)]
ITS#3250 don't call select unnecessarily

19 years agoassert administrative identity instead of the required one if doing auth check in...
Pierangelo Masarati [Fri, 23 Jul 2004 00:11:05 +0000 (00:11 +0000)]
assert administrative identity instead of the required one if doing auth check in non-caching mode

19 years agohack to handle cases where o_req_dn = o_req_ndn
Pierangelo Masarati [Thu, 22 Jul 2004 23:48:04 +0000 (23:48 +0000)]
hack to handle cases where o_req_dn = o_req_ndn

19 years agofix previous fix
Pierangelo Masarati [Thu, 22 Jul 2004 23:03:04 +0000 (23:03 +0000)]
fix previous fix

19 years agoMore info about linearindex and slapadd
Howard Chu [Thu, 22 Jul 2004 22:52:47 +0000 (22:52 +0000)]
More info about linearindex and slapadd

19 years agoAdded linearindex option for slapindex. Improves performance when database
Howard Chu [Thu, 22 Jul 2004 22:32:37 +0000 (22:32 +0000)]
Added linearindex option for slapindex. Improves performance when database
size exceeds dbcache size by minimizing cache thrashing.

19 years agoITS#3178 add "fasttool" option to disable transaction logging in tool mode
Howard Chu [Thu, 22 Jul 2004 22:14:35 +0000 (22:14 +0000)]
ITS#3178 add "fasttool" option to disable transaction logging in tool mode

19 years agoMinor cleanup
Howard Chu [Thu, 22 Jul 2004 22:13:13 +0000 (22:13 +0000)]
Minor cleanup

19 years agoOne more Windows tweak
Howard Chu [Tue, 20 Jul 2004 21:42:00 +0000 (21:42 +0000)]
One more Windows tweak