Howard Chu
2082b1f9f0
Avoid calling purge too often
2007-01-05 06:49:25 +00:00
Pierangelo Masarati
c56564e2b5
disconnect without notice
2007-01-04 20:17:53 +00:00
Pierangelo Masarati
963eaf63b6
return unsolicited responses
2007-01-04 19:58:29 +00:00
Howard Chu
001ce8e493
Partially revert prev commit, fix lru_purge loop
2007-01-04 11:01:59 +00:00
Howard Chu
57fa57b1d1
Fix HDB - don't use IDL cache when it's not configured
2007-01-04 10:56:18 +00:00
Howard Chu
e48f72c1b5
Unify use of BDB lockers
2007-01-04 08:36:59 +00:00
Howard Chu
23a2339090
Fix prev commits...
2007-01-04 03:26:54 +00:00
Howard Chu
f2acc11976
Simpler fix
2007-01-04 03:17:59 +00:00
Howard Chu
831d1cccc7
Fix idl_cache teardown again - skip if cache is empty
2007-01-04 03:14:46 +00:00
Pierangelo Masarati
bce4063a17
shortcut schema mapping if not configured
2007-01-03 21:35:18 +00:00
Pierangelo Masarati
3284f54ec0
silence warnings
2007-01-03 21:34:49 +00:00
Howard Chu
e094bef172
Remember our own success code in case an overlay changes it
2007-01-03 20:28:56 +00:00
Howard Chu
f206f3ddc0
Just return API errors to the frontend, don't attempt to send them.
2007-01-03 20:21:07 +00:00
Howard Chu
5cfd2f6d97
Use Clock algorithm for IDL cache too
2007-01-03 19:00:07 +00:00
Howard Chu
6d1ca0a769
Delete unused idl_cache_entry rwlock field
2007-01-03 05:36:49 +00:00
Howard Chu
d5a7e252b3
#if out unnecessary code in prev commit
2007-01-03 02:10:30 +00:00
Howard Chu
2c1f91dd0f
Tweak entry alignment, play with STRIPE/STRIDE definitions to test.
2007-01-03 02:06:06 +00:00
Kurt Zeilenga
da6d9eb046
happy new year
2007-01-02 20:00:42 +00:00
Howard Chu
68a0e0d922
Revert to ordering behavior of original attrs_free()
2007-01-01 13:42:36 +00:00
Howard Chu
822888eafc
Bypass a few redundant locks
2007-01-01 11:44:39 +00:00
Howard Chu
6074f48fa7
Tweak cache_lru_print
2007-01-01 11:17:13 +00:00
Howard Chu
a5546a22a8
Fix prev commit, hdb_cache_find_parent
2007-01-01 07:09:22 +00:00
Howard Chu
dcd5c74914
Drop unnecessary memset()s
2007-01-01 06:46:47 +00:00
Howard Chu
cd35516bdc
Fix typo in prev commit
2007-01-01 02:16:25 +00:00
Howard Chu
37dfbd3e8b
Fix prev commit
2007-01-01 01:07:57 +00:00
Howard Chu
d7fa1e764d
partial revert - keep acquiring BDB lock in lru_purge.
2007-01-01 01:00:19 +00:00
Howard Chu
b8309b4cf8
Cleanup db_lock/unlock parameters
2006-12-31 23:37:06 +00:00
Howard Chu
a720011c8a
Ditch LRU cache replacement in favor of 2nd-chance/clock.
...
Much better concurrency.
2006-12-31 16:16:48 +00:00
Howard Chu
ff93c6bef7
Don't log EAGAIN returns from ber_get_next()
2006-12-31 16:15:45 +00:00
Howard Chu
598ef9e685
Fix prev commit
2006-12-30 12:47:17 +00:00
Howard Chu
e844a6956d
In bdb_cache_add use a readlock outside the txn to protect the entry
...
until send_ldap_result completes.
2006-12-30 12:05:55 +00:00
Howard Chu
6222b79bc8
streamline attrs_free
2006-12-29 01:00:24 +00:00
Pierangelo Masarati
0544badf19
move slapo-denyop to contrib/slapd-modules/debyop/
2006-12-28 16:30:53 +00:00
Pierangelo Masarati
26c2c98196
move slapo-lastmod to contrib/slapd-modules/lastlog/ (ITS#4701)
2006-12-28 16:23:57 +00:00
Pierangelo Masarati
bd33fc8678
fix filter structure leak (ITS#4794)
2006-12-28 10:32:46 +00:00
Howard Chu
d0467a5961
cleanup debug msg
2006-12-27 01:15:05 +00:00
Howard Chu
d2fc667fe7
Fix connection_get race condition on Windows
2006-12-26 23:40:00 +00:00
Howard Chu
a2dc5dd494
Fix prev commit
2006-12-26 11:34:33 +00:00
Howard Chu
03dbc30deb
Use temporary AttributeDescriptions to prevent unbounded growth
2006-12-26 04:51:08 +00:00
Howard Chu
90b2976413
ITS#3707 changed SLAPD_FILTER_COMPUTED
2006-12-26 00:00:48 +00:00
Howard Chu
3bf226382e
ITS#3707 preserve filter input, allow (and ignore) undefined attributes
2006-12-25 23:30:45 +00:00
Pierangelo Masarati
7e8242d50d
pool privileged connections (ITS#4791)
2006-12-24 18:23:36 +00:00
Pierangelo Masarati
1939ed3fc2
apparently, structural_class() args changed
2006-12-24 15:45:48 +00:00
Pierangelo Masarati
6193ee4003
don't leak callbacks if stuff cannot be registered; provide a means to dispose of private stuff if required
2006-12-24 15:44:56 +00:00
Pierangelo Masarati
c3960b98d3
fix RID format
2006-12-24 15:43:43 +00:00
Pierangelo Masarati
186d30288d
silence warning
2006-12-24 15:43:01 +00:00
Pierangelo Masarati
9edb2d518e
plug rootDSE info one-time leak
2006-12-24 10:51:07 +00:00
Pierangelo Masarati
3de9659781
(blind) compile fix; please review
2006-12-24 10:50:22 +00:00
Howard Chu
01744806a3
ITS#4788 op->o_no_schema_check allows unknown attrs in slap_mods_check
2006-12-24 07:14:54 +00:00
Howard Chu
45fbb173b7
Pass op to slap_mods_check()
2006-12-24 06:55:02 +00:00
Howard Chu
e955bbeaf5
Unify rs_modlist in Add/Modify/Modrdn req structs
2006-12-24 06:45:57 +00:00
Howard Chu
79885438e7
Revert prev commit, need a different solution
2006-12-24 06:26:01 +00:00
Howard Chu
b60644a07f
Fix prev commit, renaming schema
2006-12-24 03:51:08 +00:00
Howard Chu
58886b6a9c
ITS#4337 insert EntryInfo in proper slot
2006-12-24 03:44:08 +00:00
Howard Chu
36317874b7
ITS#4337 allow suffix overlap when inserting new DB before existing ones
2006-12-24 01:27:35 +00:00
Howard Chu
6020a6d81d
ITS#4337 implement modrdn for back-config
2006-12-24 00:56:37 +00:00
Howard Chu
fcc51c0497
Fix modrdn, must also rename the directory if it exists.
2006-12-24 00:54:14 +00:00
Howard Chu
b6d860f556
ITS#4788 don't return auditContext attr on syncrepl searches
2006-12-23 22:10:34 +00:00
Pierangelo Masarati
7684514535
fix typo (ITS#4784)
2006-12-21 22:05:49 +00:00
Howard Chu
69beae5d7d
ITS#4733 make sure frontend and config DB entries exist.
2006-12-21 07:36:16 +00:00
Howard Chu
df54b1a244
In connections_shutdown - check for Uninitialized struct first, since
...
attempting to lock an unint'd mutex may crash on some platforms. And
there is no chance for an unint'd conn to get init'd while shutdown
is occurring, so the unprotected check of struct state is safe.
2006-12-21 06:06:32 +00:00
Howard Chu
5747896ba0
ITS#4780 plug leak
2006-12-20 05:41:14 +00:00
Pierangelo Masarati
4483e79906
further fix of ITS#4782
2006-12-19 22:11:33 +00:00
Pierangelo Masarati
6752a27c0e
(almost) blind fixes to ITS#4782
2006-12-19 21:59:23 +00:00
Howard Chu
08b209ffa9
ITS#4782 quick fix, never send result from proxy authz check.
2006-12-19 20:37:38 +00:00
Howard Chu
7d9361e498
Fix: don't modify original filter in filter_map_rewrite
2006-12-19 19:47:01 +00:00
Howard Chu
8c90df8314
Fix cleanup for extended ops
2006-12-19 01:14:35 +00:00
Howard Chu
8274bc75e0
Fix rev 1.121/1.122
2006-12-18 22:42:46 +00:00
Howard Chu
01c38dd6ea
ITS#4458 re-encode passwd request
2006-12-18 22:30:47 +00:00
Howard Chu
39c3efdd7b
Pass extended ops thru as well
2006-12-18 22:29:45 +00:00
Howard Chu
8b457119ac
Use a specific sr_type for intermediate Glue results
2006-12-18 19:46:40 +00:00
Howard Chu
44dfc63877
Fake intermediate Results to prevent premature cleanup
2006-12-18 03:10:04 +00:00
Howard Chu
da7a4a0708
Fix prev commit
2006-12-18 02:35:32 +00:00
Pierangelo Masarati
f52bb3d2c7
catch double free
2006-12-18 01:29:07 +00:00
Pierangelo Masarati
7bcbd40344
catch invalid read (i == -1)
2006-12-18 01:28:43 +00:00
Howard Chu
23423cd086
Fix callback handling
2006-12-18 00:27:38 +00:00
Howard Chu
ccf7b0fb04
Remove redundant search cleanup
2006-12-18 00:02:00 +00:00
Pierangelo Masarati
4e11af075f
- add support for "use-temporary-conn" much like back-ldap
...
- fix various connection creation/setup concurrency issues
- use shared connection when always idasserting (similar to ITS#4781)
- reduce the impact of schema mapping when not used (tnx to gprof)
- fix temporary/tainted connection leak in abnormal conditions
2006-12-17 23:52:23 +00:00
Howard Chu
28793246e6
ITS#4638 restore params for Compare and Modify
2006-12-17 23:49:42 +00:00
Howard Chu
1e849ec14d
ITS#4638 restore original parameters on op completion
...
(this is preliminary, more work remains)
2006-12-17 22:57:45 +00:00
Pierangelo Masarati
96152e2a3f
fix another typo
2006-12-17 22:48:17 +00:00
Pierangelo Masarati
68fd83f2fd
further fix previous commit
2006-12-17 22:21:41 +00:00
Pierangelo Masarati
ef0261e84c
cleanup and document ITS#4781 commit
2006-12-17 22:20:02 +00:00
Pierangelo Masarati
3e427ad75a
support a separate cached connection for binds when using (liberal) idassert flagged with "override" (ITS#4781)
2006-12-17 22:11:40 +00:00
Pierangelo Masarati
8830e0628e
more portable fix to ITS#4756
2006-12-17 22:03:03 +00:00
Pierangelo Masarati
298d439d59
add support for auditContext (schema differs a bit from <draft-chu-ldap-logschema>, expired)
2006-12-16 14:55:47 +00:00
Quanah Gibson-Mount
0523f0e3a7
cleanup
2006-12-16 03:33:27 +00:00
Pierangelo Masarati
15d601e7bc
refine previous commit
2006-12-15 02:10:22 +00:00
Pierangelo Masarati
917fbf427a
make slap_sasl_open() comply with URL notation for IPv6 addresses
2006-12-15 02:01:58 +00:00
Pierangelo Masarati
5e3d7a55dc
rewrite chased DN according to referral's (ITS#4776)
2006-12-15 02:00:24 +00:00
Pierangelo Masarati
97e6225cc9
implement full IPv6 support in ACLs; use URL notation (as suggested by Howard) to disambiguate parsing (ITS#4756)
2006-12-15 01:11:11 +00:00
Pierangelo Masarati
d29d83a80e
protect assertion behind mutex (test should be atomic anyway...)
2006-12-14 19:22:00 +00:00
Howard Chu
4d9d4e2538
Fix connections_shutdown()
2006-12-14 02:12:39 +00:00
Howard Chu
1f35a953a1
Remainder of fix for ITS#4615 - stop processing overlay stack at glue
...
boundary
2006-12-13 03:03:47 +00:00
Howard Chu
69c4495bc2
ITS#4768 more be_add fallout
2006-12-12 21:00:12 +00:00
Howard Chu
871201e0d6
Fix prev commit
2006-12-12 20:04:44 +00:00
Howard Chu
499c9369e1
ITS#4777 fix modlist delete
2006-12-12 19:39:28 +00:00
Kurt Zeilenga
2761b06c58
ITS#4775: blind fix for buffer overflow condition in dead KrbIV code
...
(KrbIV code likely should be removed)
2006-12-12 14:18:54 +00:00
Kurt Zeilenga
80d74dc2cd
Monitor attributes should have dSAOperation usage,
...
not directoryOperation usage. Update test000 to
request return of only @monitor attributes.
2006-12-08 02:30:11 +00:00
Pierangelo Masarati
9fdb9b6e02
give cleanup another chance to free the temporary callback (ITS#4771)
2006-12-07 19:44:04 +00:00