Howard Chu
65079f768e
Cleanup NULL check
2006-03-31 22:05:01 +00:00
Howard Chu
8c990ff2e9
plug leaks
2006-03-31 21:59:39 +00:00
Kurt Zeilenga
28191d7642
don't call cache_return_entry_rw with e of NULL
2006-03-31 21:03:51 +00:00
Howard Chu
c41a151d1e
Cleanup
2006-03-31 12:53:32 +00:00
Howard Chu
0af1940f3f
plug leaks
2006-03-31 12:20:04 +00:00
Howard Chu
90c8a53db4
plug leaks
2006-03-31 11:15:26 +00:00
Howard Chu
8cbd5ecc13
Cleanup
2006-03-31 10:45:23 +00:00
Howard Chu
bb9d5b1100
Plug leaks, fix coverity errors
2006-03-31 09:33:46 +00:00
Pierangelo Masarati
ac8c1f2a26
fix multiple response messages; add overall sleep time
2006-03-30 23:49:51 +00:00
Kurt Zeilenga
5487575086
Add link to FAQ entry on BDB tuning
2006-03-30 17:56:56 +00:00
Pierangelo Masarati
02966c3d1c
fix handling of expired connections (ITS#4429; need to look at back-meta as well)
2006-03-29 01:26:42 +00:00
Pierangelo Masarati
bacd1f170f
leave existing controls in place if proxyAuthz is not required by idassert (ITS#4457)
2006-03-28 21:45:54 +00:00
Pierangelo Masarati
e673b4d9ad
propagate pretty DN (ITS#4456)
2006-03-28 19:20:01 +00:00
Pierangelo Masarati
0a465343fb
cleanup
2006-03-27 00:31:38 +00:00
Pierangelo Masarati
51e1ab59cd
streamline handling of simple bind by global overlays (ITS#4454)
2006-03-26 23:03:43 +00:00
Pierangelo Masarati
1418b2c5b1
fix previous commit: actually free the connection in case of failed bind
2006-03-25 01:12:27 +00:00
Pierangelo Masarati
fd5208c18f
destroy bind connection after failed bind (ITS#4428)
2006-03-25 00:33:42 +00:00
Pierangelo Masarati
00073c8cac
fix operational attrs return with chain overlay (ITS#4431); misc cleanup
2006-03-24 22:49:51 +00:00
Pierangelo Masarati
3160c03dab
cleanup previous commit
2006-03-23 23:01:14 +00:00
Pierangelo Masarati
3437406a0b
honor "chase-referrals no" (ITS#4447)
2006-03-23 21:01:19 +00:00
Pierangelo Masarati
324431062b
refuse illegal values for "threads" (ITS#4433)
2006-03-20 12:12:28 +00:00
Pierangelo Masarati
9019ea74ee
fix leak
2006-03-19 23:26:12 +00:00
Luke Howard
486721d531
Fix build if LDAP_X_TXN is undefined
2006-03-10 02:44:32 +00:00
Kurt Zeilenga
ffee887d71
Update certificate schema to use IANA assigned OIDs
2006-03-08 20:07:25 +00:00
Kurt Zeilenga
71511a0569
more txn infrastructure
2006-03-08 05:54:10 +00:00
Howard Chu
afa10c3486
Add "subord" alias for subordinate scope
2006-03-07 22:39:09 +00:00
Kurt Zeilenga
815c178edc
control/TXN cleanup
2006-03-07 22:05:57 +00:00
Kurt Zeilenga
4a87798893
Remove developer's assert
2006-03-07 21:48:25 +00:00
Kurt Zeilenga
8788a2af36
Disallow pre/post reads in transactions (haven't yet specified
...
protocol mechanism to return update response controls).
2006-03-07 20:31:46 +00:00
Howard Chu
e30be8748a
Fix prev commit
2006-03-07 12:55:27 +00:00
Howard Chu
2c7f300619
FIx olcMirrorMode keyword
2006-03-07 12:48:46 +00:00
Kurt Zeilenga
247536744e
Some more txn infrastructure
2006-03-07 08:07:21 +00:00
Kurt Zeilenga
662051cd16
cleanup
2006-03-07 07:19:15 +00:00
Kurt Zeilenga
fad69dbef8
Additional TXN changes
2006-03-07 02:21:27 +00:00
Kurt Zeilenga
8ac8d70a55
TXN protocol element parsers (without any backend support)
...
Misc cleanup
2006-03-07 00:48:14 +00:00
Pierangelo Masarati
3861c47316
queue implicit binds (ITS#4409)
2006-03-03 16:27:00 +00:00
Kurt Zeilenga
4c64b8626d
Add support for GSER-encoded certificateExactAsssertion values
2006-03-03 04:54:49 +00:00
Pierangelo Masarati
a3f4f0b2db
map result codes as required (ITS#4419)
2006-03-02 00:35:12 +00:00
Luke Howard
fa1f4d3c38
slapi_ch_bvdup() should be implemented in terms of ber_dupbv()
2006-03-01 16:29:31 +00:00
Howard Chu
df91c3ef33
ITS#4372 add auditlog to build
2006-02-27 11:20:08 +00:00
Howard Chu
7b5528d68b
ITS#4417 backglue must pass intermediate responses transparently.
...
syncprov must prevent send_ldap_result from being called for an
in-progress persistent search.
2006-02-27 09:20:55 +00:00
Luke Howard
cd18c6cb4d
Fix slapi_valueset_count() for no value case
2006-02-27 05:21:11 +00:00
Luke Howard
8c674299bf
Fix memory smasher in slapi_valueset_free()
2006-02-27 03:44:40 +00:00
Luke Howard
8a3e5eb1b8
Add SLAPI_OPERATION_MSGID
...
Add SLAPI_IS_INTERNAL_OPERATION
2006-02-20 09:30:28 +00:00
Pierangelo Masarati
41f963644c
be conservative in reading subtree-exclude
2006-02-16 23:37:42 +00:00
Ralf Haferkamp
df7757b1fb
fixed last commit
2006-02-16 13:22:37 +00:00
Ralf Haferkamp
1195d6946b
Error out if creating the back-config entries fails when converting from
...
config file to config backend. [ITS: #4407 ]
2006-02-16 11:16:22 +00:00
Howard Chu
e18a6ab7f9
ITS#4406 don't cache attrsonly results
2006-02-16 08:16:49 +00:00
Kurt Zeilenga
0532ecfccd
No longer hide cancel.
2006-02-16 05:05:52 +00:00
Kurt Zeilenga
8c8ea049cb
Macro cleanup
2006-02-16 05:01:29 +00:00
Pierangelo Masarati
af0d2b1d2a
add support for "subtree-exclude"
2006-02-16 01:26:39 +00:00
Pierangelo Masarati
fa72882808
fix error message
2006-02-16 01:10:45 +00:00
Luke Howard
ec023f9777
remove c_pb, it is no longer needed
2006-02-16 00:14:38 +00:00
Kurt Zeilenga
377aa0be68
ITS#4404: fix typo in ValuesReturnFilter control OID, add
...
temporary server-side support for old OID.
2006-02-15 21:30:35 +00:00
Ralf Haferkamp
93d5e01390
some more debug logging
2006-02-15 17:25:45 +00:00
Howard Chu
937bc5bbb7
Fix ITS#4401 teardown persistent clients when unconfiguring
2006-02-15 07:38:17 +00:00
Kurt Zeilenga
cbc11c9233
unifdef -DLDAP_NULL_IS_NULL
2006-02-14 23:18:12 +00:00
Luke Howard
727a16ca55
Remove SLAPI references
2006-02-14 09:21:30 +00:00
Luke Howard
dab5803a59
Use bi_db_{open,close} to run SLAPI start/close plugins
2006-02-14 09:20:50 +00:00
Kurt Zeilenga
3db579c414
Fixed misuse of matched entry
2006-02-13 21:35:58 +00:00
Luke Howard
bfaf2a805f
Add sequential modify overlay to supported overlays
2006-02-13 02:24:26 +00:00
Kurt Zeilenga
3f7241826a
fix typos
2006-02-12 07:03:12 +00:00
Pierangelo Masarati
53c40fac27
rework connection handling on multiple binds with the same connection
2006-02-11 17:40:28 +00:00
Howard Chu
a5eef48123
Fix ITS#4395, check for non-read/write epoll events
2006-02-10 18:27:50 +00:00
Kurt Zeilenga
d2d1eb786b
Improved bignum detection/use
2006-02-10 08:21:02 +00:00
Luke Howard
4954adb7c1
formatting cleanup
2006-02-10 07:40:23 +00:00
Howard Chu
0cc7ed6d55
ITS#4394 fix segfault
2006-02-10 00:31:17 +00:00
Howard Chu
bf81549c88
Prefer long long to BIGNUM or GMP
2006-02-09 07:48:19 +00:00
Howard Chu
9eca89acc8
Improve prev commit
2006-02-09 07:02:40 +00:00
Howard Chu
6344d36df0
Same as ITS#4385, must wake listener after submitting job to runqueue
2006-02-09 06:53:49 +00:00
Howard Chu
88c3a5a5b6
Add debug message when deleting nonpresent entries
2006-02-08 21:24:43 +00:00
Luca Scamoni
d4ad06e788
s/olcMultiMaster/olcMirrorMode
2006-02-08 10:16:20 +00:00
Howard Chu
e183b5d093
s/multimaster/mirrormode/ we don't want folks confusing this with real
...
multimaster.
2006-02-08 05:48:41 +00:00
Pierangelo Masarati
6275c6ecdc
make sure no invalid candidate gets used (had a core for i == META_TARGET_MULTIPLE)
2006-02-07 18:51:47 +00:00
Howard Chu
a4d161cff6
More unifdef SLAPD_MULTIMASTER cleanup
2006-02-07 01:05:57 +00:00
Pierangelo Masarati
f4c578cb31
delete all conns cached for a single client->proxy connection (partially addresses ITS#4387)
2006-02-06 21:39:56 +00:00
Howard Chu
83c259a207
Cleanup prev commit
2006-02-06 20:39:25 +00:00
Howard Chu
0e6aa53cd1
Unifdef SLAPD_MULTIMASTER, use config setting instead
2006-02-06 04:45:12 +00:00
Howard Chu
fe3b6d0071
ITS#4384 rework entryCSN handling, retrieve from incoming request
...
if it was provided. Always check and graduate, regardless of shadow status.
2006-02-05 01:09:48 +00:00
Howard Chu
f96e6378d6
filter2bv can't de-normalize UUIDs, must do it explicitly for back-ldap
...
in test045
2006-02-05 01:05:38 +00:00
Pierangelo Masarati
f0d6ac3e0b
debug cleanup
2006-02-04 15:50:22 +00:00
Howard Chu
ec7e2af34a
delete now redundant memsets
2006-02-03 19:37:12 +00:00
Pierangelo Masarati
140bc77e50
(blind) fix to ITS#4386 (uninitialized var)
2006-02-03 18:06:00 +00:00
Kurt Zeilenga
4bf9eb2365
fix comments
2006-02-03 04:10:29 +00:00
Pierangelo Masarati
9fd59d812d
format error message as LDIF (do not assume the error messages do not contain fancy chars; ITS#4382)
2006-02-02 21:01:29 +00:00
Howard Chu
71d439aba7
Use "pcache" dynamic debug level
2006-02-02 08:31:15 +00:00
Howard Chu
0ef7742328
Reparse unknown debug flags after config is read to allow use
...
of dynamically registered debug levels
2006-02-02 08:30:56 +00:00
Howard Chu
57c25cbd68
Fix negative caching again, be sure it's really from zero entries returned
2006-02-02 02:52:54 +00:00
Pierangelo Masarati
54aefe30f7
implement proxy long-lived connection TTL
2006-02-01 23:10:12 +00:00
Pierangelo Masarati
0e2b26986e
do not assume the matching rule synta has a validate handler (ITS#4380)
2006-02-01 21:53:58 +00:00
Howard Chu
f50316f141
Use LDAP_DEBUG_CACHE instead of TRACE. Delete remove_mutex.
2006-02-01 19:31:35 +00:00
Howard Chu
297d12c808
ITS#4376 add missing parameters in config_generic_wrapper
2006-01-28 08:26:21 +00:00
Howard Chu
bedac8bd60
Fix negative caching, only do it on Success
2006-01-27 22:55:28 +00:00
Kurt Zeilenga
a3fce95ffc
Add note about contrib/slapd-modules
2006-01-25 22:12:16 +00:00
Howard Chu
a970038b0c
ITS#4373, fix prev commit
2006-01-25 19:06:16 +00:00
Luke Howard
667d3c1a37
fix typo
2006-01-25 14:12:51 +00:00
Howard Chu
3d3ba13f92
ITS#4369 add log messages for delta syncrepl ops
2006-01-25 01:47:48 +00:00
Howard Chu
bebfc49d71
ITS#4370 always init slap_daemon mutexes
2006-01-25 01:36:18 +00:00
Kurt Zeilenga
f5b9ff7940
unifdef -DSLAPD_CONF_UNKNOWN_BAILOUT -DSLAPD_CONF_UNKNOWN_IGNORED=""
...
-DSLAPD_DEBUG_CONFIG_ERROR=LDAP_DEBUG_ANY
2006-01-24 04:40:01 +00:00
Howard Chu
fdc89d2604
ITS#4365 reset frs.sr_nentries before searching in syncprov_playlog
2006-01-23 22:23:00 +00:00
Luke Howard
0c0abfe917
slapi_filter_dup() can now use filter_dup()
2006-01-23 21:23:36 +00:00
Howard Chu
51c5916149
ITS#4364 add filter_dup, don't use str2filter to dup filters.
2006-01-23 20:53:52 +00:00
Howard Chu
3407467ca2
ITS#4361, 4362 fix autorecovery logic, add ALOCK_NOSAVE flag to record
...
txn/non-txn status of the environment.
2006-01-22 13:51:33 +00:00
Howard Chu
bf0692d5ba
ITS#4360 must init c_minfree
2006-01-22 05:11:23 +00:00
Pierangelo Masarati
44abcdfa2f
fix previous commit
2006-01-21 16:08:01 +00:00
Pierangelo Masarati
5360a5dc21
cleanup
2006-01-21 10:42:21 +00:00
Pierangelo Masarati
42bf993798
on't use freed memory; streamline parse error reporting
2006-01-21 10:41:41 +00:00
Howard Chu
2b0bccc74c
ITS#4357 Solaris occasionally returns ENOSYS when selecting on a descriptor
...
in the midst of closing. Instead of special casing EBADF, ENOSYS, and
WSAENOTSOCK, just count if any error occurs two or more times in a row,
and log if so. Don't treat any error as fatal unless it occurs many times
in a row (SLAPD_EBADF_LIMIT).
2006-01-20 08:13:54 +00:00
Pierangelo Masarati
05088318df
need normalized timestamp as well, although this is a SINGLE-VALUE attr
2006-01-19 23:20:45 +00:00
Howard Chu
c2b660f3d7
ITS#4355 timestamps must be normalized
2006-01-19 22:16:23 +00:00
Luke Howard
f341270a46
Permissive support for LDAP_MOD_INCREMENT -- treat absence of attribute
...
as if attribute existed with a value of 0
2006-01-19 22:06:24 +00:00
Howard Chu
4361a942ab
Add ability to cache negative results and specify negative TTL on templates
2006-01-18 02:59:06 +00:00
Howard Chu
03f28de8bb
ITS#4225 added proxyCacheQueries parameter for configuring max_queries
2006-01-17 19:51:50 +00:00
Pierangelo Masarati
5ffc8c2588
further cleanup
2006-01-16 23:28:08 +00:00
Pierangelo Masarati
324174fc76
refine previous commit (error out before actual add)
2006-01-16 23:14:21 +00:00
Pierangelo Masarati
fa4e093f0c
ITS#4337: renaming not implemented yet(need a better fix)
2006-01-16 22:58:36 +00:00
Howard Chu
9b2ee679e8
Fix WAKE_LISTENER
2006-01-15 15:40:53 +00:00
Howard Chu
a4a85e03c1
ITS#3950 delete gratuitous yield()s
2006-01-15 13:33:29 +00:00
Pierangelo Masarati
a029490fe8
let overlays define if they must appear exactly once in a chain, and if they must be global/per-db only, and holler in case
2006-01-14 18:02:35 +00:00
Pierangelo Masarati
7f826af5fd
also restore original o_bd
2006-01-14 17:47:54 +00:00
Pierangelo Masarati
bad81cb0d1
fix previous commit
2006-01-14 17:24:06 +00:00
Pierangelo Masarati
31578ca431
preserve original o_bd field (global overlays; part of fix to ITS#4336)
2006-01-14 16:57:14 +00:00
Pierangelo Masarati
da921ed175
cleanup
2006-01-14 16:51:39 +00:00
Pierangelo Masarati
d168b49464
make back-meta conform with man page
2006-01-14 15:28:28 +00:00
Pierangelo Masarati
63e80ef12e
rootdn can exceed limit on number of dynamic objects
2006-01-14 11:17:10 +00:00
Pierangelo Masarati
72d2ee4d19
address ITS#4332; might remove dynamicObject counting
2006-01-14 11:12:56 +00:00
Pierangelo Masarati
e720c15c4d
tolerate that config_get_vals() returns success with no values (ITS#4341)
2006-01-14 10:21:47 +00:00
Pierangelo Masarati
f3dba23fbb
previous commit contradicts man page; see comment in code
2006-01-14 10:03:11 +00:00
Pierangelo Masarati
af83c5e242
"relay" needs suffix and more cleanup (ITS#4340)
2006-01-14 09:56:35 +00:00
Howard Chu
f16d101033
Log select() failure at DEBUG_ANY, since it triggers a shutdown.
2006-01-13 20:28:31 +00:00
Howard Chu
84429e8bcb
ITS#4338 delete extraneous slapd_close() calls. Descriptors that were in
...
the event set must be removed using slapd_remove() and the whole sequence
must be protected with the slap_daemon.sd_mutex to close them properly.
Otherwise it will wind up closing valid, freshly opened sockets, or closing
dead sockets twice, etc. It's unnecessary to do any close management here
since connection.c already does the correct teardown sequence.
2006-01-13 17:30:03 +00:00
Howard Chu
b85926a2c1
ITS#4339 attributeoptions patch from Ralf Haferkamp @ SuSE
2006-01-13 16:42:34 +00:00
Pierangelo Masarati
e393f47465
allow slapo-chain to be instantiated without any specific config statement...
2006-01-13 10:41:54 +00:00
Kurt Zeilenga
48c34d254f
Update proxied authorization implementation to use IANA
...
assigned result code.
2006-01-12 22:55:56 +00:00
Pierangelo Masarati
7124ec615e
make sure appropriate limits are in place (ITS#4336)
2006-01-12 22:48:02 +00:00
Howard Chu
2ba87c6fe6
ITS#4334 Must propagate connection_destroy to captive backend.
2006-01-12 15:40:52 +00:00
Howard Chu
797cffb9b3
Add monitor_entry_stub() for creating entries. Fix conn peer/local mismatch.
2006-01-12 08:40:09 +00:00
Pierangelo Masarati
3a58263037
add comment about run-time registered extop/control compatibility
2006-01-12 08:16:18 +00:00
Howard Chu
a2e4d2f463
Fix prev commit
2006-01-12 03:40:08 +00:00
Pierangelo Masarati
90fad5a3a3
(incorrect) variable used before set (ITS#4331)
2006-01-11 21:30:53 +00:00
Pierangelo Masarati
1a217516f0
allow control handlers to be replaced
2006-01-11 19:36:18 +00:00
Pierangelo Masarati
9795721f7a
improve back-meta retry capabilities (ITS#4328)
2006-01-11 19:33:44 +00:00
Howard Chu
34cefbe0ad
ITS#4324 don't auto-recover in slapcat. Don't trigger a recovery if
...
DB_CONFIG has same mtime as DB environment.
2006-01-11 15:38:30 +00:00
Pierangelo Masarati
7038044c91
in abnormal cases, error may be sent twice
2006-01-11 15:32:34 +00:00
Pierangelo Masarati
0dce854ce4
complete fix to back-ldap (ITS#4315?); not sure dobind should actually be treated as a bind...
2006-01-11 12:11:59 +00:00
Pierangelo Masarati
c9ef14afca
fix typos in previus commit
2006-01-11 08:36:37 +00:00
Howard Chu
3ecd52e0b8
Don't update in-memory cookie until db update succeeds
2006-01-11 08:10:17 +00:00
Howard Chu
3e682cdac4
Propagate local errors up, fix test045
2006-01-11 07:37:42 +00:00
Pierangelo Masarati
de80985c95
don't allow multiple relay lines (ITS#4322)
2006-01-10 20:30:35 +00:00
Howard Chu
a9844efa70
ITS#4319 fix check for need_shutdown/slap_shutdown()
2006-01-10 18:32:09 +00:00
Pierangelo Masarati
7368ffb77a
don't idassert anon2anon (ITS#4321)
2006-01-10 13:17:31 +00:00
Pierangelo Masarati
e3a81f17c7
comment no longer required
2006-01-10 02:10:07 +00:00
Pierangelo Masarati
9bcb37b5c1
refine fix to ITS#4320
2006-01-10 02:05:54 +00:00
Pierangelo Masarati
cc51777312
check pointers (ITS#4320)
2006-01-10 01:53:29 +00:00
Pierangelo Masarati
f3c2c7ba48
use slab memory for proxyauthz
2006-01-09 20:00:51 +00:00
Howard Chu
13fdab9509
Optimizations for containment checks
2006-01-09 19:35:03 +00:00
Howard Chu
a393b68656
Plug memleak when query isn't added to cache
2006-01-09 18:00:11 +00:00
Howard Chu
7ce9e7b7c6
Tone down debug messages
2006-01-09 17:27:57 +00:00
Pierangelo Masarati
779e26df2d
apparently Statslog() doesn't really differ any more from just Log()...
2006-01-09 16:28:02 +00:00
Howard Chu
42ec7b40b1
Streamline answerability test
2006-01-09 16:22:55 +00:00
Pierangelo Masarati
21be582df7
use a placeholder to mark that there is no process in the runqueue (ITS#4318)
2006-01-09 15:45:59 +00:00
Pierangelo Masarati
543c588772
don't send error with back-meta
2006-01-09 15:13:29 +00:00
Pierangelo Masarati
6995603a3d
refine fix to ITS#4315; apply it to back-meta as well
2006-01-09 14:20:37 +00:00
Howard Chu
2be7cf6114
ITS#4316 fix to make attrset subsets work as documented.
2006-01-09 13:56:25 +00:00
Howard Chu
8538223def
TS#4315 fix prev commit, spinning in ldap_back_dobind
2006-01-09 09:37:52 +00:00
Howard Chu
2b39a26150
ITS#4315 fix bind concurrency issue
2006-01-09 09:14:53 +00:00
Luke Howard
c51a71e5c2
Add -s option to slapadd to disable schema checking
2006-01-08 20:18:14 +00:00
Luke Howard
90a6c71d32
ITS#4291
2006-01-08 14:11:29 +00:00
Luke Howard
e60724422b
ITS#4311
2006-01-08 14:07:19 +00:00
Pierangelo Masarati
a6203bd1ef
improve previous commit
2006-01-07 12:35:02 +00:00
Pierangelo Masarati
bfad4e8b46
fix entryExpireTimestamp description
2006-01-07 12:26:59 +00:00
Pierangelo Masarati
17bb32af28
enable new response/cleanup playlist #ifdef LDAP_DEVEL
2006-01-07 11:40:39 +00:00
Pierangelo Masarati
39959c3192
release entry before sending results (ITS#4313)
2006-01-07 11:39:18 +00:00
Pierangelo Masarati
b21c869ac3
silence (harmless) warnings
2006-01-07 11:13:40 +00:00
Pierangelo Masarati
697df7cc06
silence warning
2006-01-07 11:06:32 +00:00
Howard Chu
7b9fc0e377
wake listener when scheduling qtask so it can run immediately
2006-01-06 20:38:14 +00:00
Pierangelo Masarati
08fe5e7026
register OID for entryExpireTimestamp
2006-01-06 18:39:40 +00:00
Pierangelo Masarati
339b9c371e
rfc2589 support (ITS#4293)
2006-01-06 17:46:52 +00:00
Pierangelo Masarati
a17df0e810
ITS#4310 seems to affect also back-ldbm
2006-01-06 17:44:19 +00:00
Pierangelo Masarati
e484ebf9c8
complete ACI commit
2006-01-06 17:28:59 +00:00
Pierangelo Masarati
a54ca7a6ce
factor ACI code out of slapd; now it can only use dynacl layer
2006-01-06 17:12:35 +00:00
Pierangelo Masarati
45cda82eb1
allow load_extop to replace an existing handler (not by default, though)
2006-01-06 17:08:54 +00:00
Pierangelo Masarati
090945b89e
allow proxying of dynamic objects (irrespective of the support provided to dynamic objects); but back-meta does not support extended ops yet...
2006-01-06 17:08:06 +00:00
Pierangelo Masarati
906acc2b30
resource release (more is needed: a report is coming...)
2006-01-06 16:34:20 +00:00
Pierangelo Masarati
18beda81a0
allow proxying of dynamic objects (irrespective of the support provided to dynamic objects)
2006-01-06 16:33:14 +00:00
Pierangelo Masarati
3037a199d4
part of o_csn memory handling cleanup
2006-01-06 16:32:33 +00:00
Pierangelo Masarati
857a43d398
o_csn memory handling cleanup and more resource release
2006-01-06 16:31:57 +00:00
Pierangelo Masarati
62497187c7
cleanup
2006-01-06 16:31:07 +00:00
Pierangelo Masarati
b7ed9571db
check if handler is being installed twice (needs work to allow replacement)
2006-01-06 16:30:43 +00:00
Pierangelo Masarati
2f81cc64b1
since o_csn is always allocated on the thread's slab, and since CSNs always have the same length, reuse memory (part of o_csn memory handling cleanup)
2006-01-06 16:26:36 +00:00
Pierangelo Masarati
4dd4ecd620
move supporting exops to bvarray
2006-01-06 16:25:31 +00:00
Pierangelo Masarati
693697bfd9
cleanup callback freeing
2006-01-06 16:24:37 +00:00
Pierangelo Masarati
f9a104bf4d
allow backend_attribute to check access to "entry" and "children" pseudo-attributes
2006-01-06 16:24:07 +00:00
Pierangelo Masarati
2c21dbd56f
cleanup
2006-01-06 16:23:17 +00:00
Pierangelo Masarati
5354f2d4e6
plug one-time leaks
2006-01-06 16:22:47 +00:00
Pierangelo Masarati
80dac35c5e
cleanup previous commit
2006-01-06 16:04:07 +00:00
Pierangelo Masarati
d384ab5ad9
allow addiion of suffix entry when default referral is defined (ITS#4310)
2006-01-06 14:50:43 +00:00
Howard Chu
a614a1c16e
Cleanup task declarations
2006-01-06 04:06:18 +00:00
Howard Chu
e82ce6444c
ITS#4308 fix cache flush task interval
2006-01-06 03:51:56 +00:00
Howard Chu
a53fc12578
ITS#4306 fix for syslog with NULL string on modify
2006-01-06 00:19:56 +00:00
Pierangelo Masarati
f7994da153
fix ITS#4307
2006-01-05 21:38:31 +00:00
Pierangelo Masarati
12b6e804a5
fix search of specific connection (ITS#4300)
2006-01-05 21:25:06 +00:00
Pierangelo Masarati
b18ba481cf
re-fix ITS#4260
2006-01-05 21:22:50 +00:00
Pierangelo Masarati
4a481a83d3
improve previous commit; now passes all tests
2006-01-05 13:57:34 +00:00
Pierangelo Masarati
3974bb0e44
plug leaks
2006-01-05 11:07:06 +00:00
Pierangelo Masarati
9586fed42f
all in all, valgrind was right; this now works as intended
2006-01-05 11:05:40 +00:00
Pierangelo Masarati
44e3b0b481
experimental fix to callback looping
2006-01-04 21:13:57 +00:00
Pierangelo Masarati
92b1ad358d
fix previous commit
2006-01-04 13:30:34 +00:00
Pierangelo Masarati
8c0ad9021a
fix self<access> for "users" (ITS#4299)
2006-01-04 00:52:07 +00:00
Pierangelo Masarati
bccb029786
fix issue with mixed attributes/objectClasses in exclusion lists (ITS#4298)
2006-01-03 23:33:50 +00:00
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Pierangelo Masarati
7e535f8018
__should__ fix ITS#4296
2006-01-03 18:07:01 +00:00
Pierangelo Masarati
83929308a5
stringify no longer needed
2006-01-02 17:43:03 +00:00
Pierangelo Masarati
fdce5f2f7e
fix another crasher
2006-01-02 17:36:48 +00:00
Pierangelo Masarati
0eb5023550
fix crasher in previous commits
2006-01-02 17:27:50 +00:00
Pierangelo Masarati
912dd6f083
fix {add,delete} access (ITS#4295)
2006-01-02 16:44:36 +00:00
Pierangelo Masarati
3f2bb04ac0
this bug highlighted ITS#4295 issue
2006-01-02 16:42:22 +00:00
Pierangelo Masarati
c67c99e3bd
clarify generated password issue
2006-01-02 16:20:39 +00:00
Luke Howard
b55557e30b
Remove new_rdn/old_rdn - handled by frontend
2006-01-02 15:40:45 +00:00
Luke Howard
df2503d2b4
Remove new_rdn/old_rdn - handled by frontend now
2006-01-02 15:39:06 +00:00
Luke Howard
e7f164773e
Remove RDN checks/logging -- now done by frontend
2006-01-02 15:38:04 +00:00
Pierangelo Masarati
a119fe3df0
return the new password if the exop is performed by the database (ITS#4294)
2006-01-02 12:44:38 +00:00
Pierangelo Masarati
8e7e8c4d04
allow modules to register callbacks for dynamic data in root DSE
2006-01-02 08:57:56 +00:00
Pierangelo Masarati
fc358465d7
allow generic exops to slip thru
2006-01-02 08:19:35 +00:00
Pierangelo Masarati
9c7aca5b47
fix indentation
2006-01-02 08:18:29 +00:00
Luke Howard
3f6daa4680
Initialize sml_type
...
Don't clobber sml_type when converting SLAPI mods
2006-01-01 14:25:09 +00:00
Luke Howard
1c0f49dda3
Backout accidental private part of previous commit
2006-01-01 09:24:19 +00:00
Luke Howard
b6fffd1417
Add orr_modlist member to request structure, containing a list of
...
modifications to be applied by the backend atomically with a modify
RDN request.
Handle updating of RDN values in frontend.
Code that calls a backend's be_modrdn should call slap_modrdn2mods(op, rs)
before invoking the backend and cleanup with slap_mods_free( op->orr_modlist, 1 ).
See do_modrdn() for an example.
2006-01-01 09:23:24 +00:00
Pierangelo Masarati
eb734a167b
add severity-aware logging (ITS#4282)
2005-12-27 16:29:37 +00:00
Pierangelo Masarati
aecf0f4164
typos in comments (very pedantic...)
2005-12-26 17:00:12 +00:00
Pierangelo Masarati
0fa9578f48
handle when URIs are null
2005-12-26 16:55:50 +00:00
Luke Howard
dc166c08b8
Fix regression in SLAPI ACL plugins, call with frontendDB pblock
2005-12-24 17:15:13 +00:00
Luke Howard
cbf33d4fb1
Handle LDAP_MOD_INCREMENT in acl_check_modlist()
2005-12-24 16:02:15 +00:00
Luke Howard
d4c9c3b60e
Use local SSF for internal SLAPI operations (probably need to do same
...
in connection_fake_init()) too)
2005-12-24 13:16:48 +00:00
Luke Howard
ac64f4806b
Fix CLDAP regression
2005-12-24 11:00:28 +00:00
Luke Howard
d8647e5c07
Create SLAPI object extensions in connection_fake_init()
2005-12-24 10:59:46 +00:00
Luke Howard
c723a77e1c
Fix crasher in slapi_over_unmerge_controls() (if called from cleanup handler
...
where merge controls was not called)
2005-12-24 09:20:06 +00:00
Luke Howard
dcfd499eca
Set ors_slimit in slap_read_controls so that slap_send_search_entry()
...
check passes
2005-12-24 07:40:12 +00:00
Luke Howard
3ba381a862
Fix compile error when LDAP_CONNECTIONLESS is defined
2005-12-24 07:16:35 +00:00
Kurt Zeilenga
d1bc820b2f
fix ITS#4283/4 segfaults
2005-12-23 02:20:11 +00:00
Pierangelo Masarati
20dc92fe25
cleanup debug handling
2005-12-22 22:33:32 +00:00
Howard Chu
a48f7b6f93
ITS#4278 set ml->sml_type
2005-12-21 20:43:14 +00:00
Pierangelo Masarati
8d4418b044
fix handling of bind-timeout
2005-12-21 17:28:27 +00:00
Kurt Zeilenga
e50fc1833d
Add UUIDPretty
...
Likely should add UUID-named-entry test case to test026...
2005-12-20 23:25:44 +00:00
Kurt Zeilenga
439af9ec10
(Quick)fix UUID naming attributes
2005-12-20 22:36:51 +00:00
Pierangelo Masarati
8c2ceeb605
don't idassert anonymous unless explicitly configured (ITS#4272)
2005-12-20 20:43:14 +00:00
Pierangelo Masarati
8346de462b
silence warning
2005-12-20 20:36:05 +00:00
Pierangelo Masarati
4a86a767ab
more unparsing buffer overflow cleanup
2005-12-20 15:33:50 +00:00
Pierangelo Masarati
81bafb9935
fix potential overflow in syncrepl_unbind() and related helpers
2005-12-20 14:31:16 +00:00
Pierangelo Masarati
e2fb0213ed
note to developers
2005-12-20 14:03:04 +00:00
Pierangelo Masarati
46a88603dd
add more checks on input values
2005-12-20 13:07:38 +00:00
Howard Chu
e6f624b48a
ATTRSONLY doesn't take a value (ITS#4146, #4266 )
2005-12-20 12:18:01 +00:00
Pierangelo Masarati
3517bdf260
revert previous commit(s); clarify usage of "-s" in slapd(8).
2005-12-20 08:20:16 +00:00
Howard Chu
059257aeaf
cleanup db_close
2005-12-20 00:55:39 +00:00
Howard Chu
684c01ed1f
ITS#4259 revert prev commit, fixed in alock.c instead.
2005-12-20 00:48:15 +00:00
Howard Chu
28ed7a26a7
ITS#4259 ignore alock_close on zero slot
2005-12-20 00:46:51 +00:00
Howard Chu
5b7f102ad2
ITS#4259 don't try to alock_close if we never opened...
2005-12-20 00:44:05 +00:00
Howard Chu
4dbc76ebef
Fix ITS#4267, don't bother with unique_search if no relevant attributes
...
were modified. Also use tmpmem for the constructed filter.
2005-12-19 23:53:25 +00:00
Pierangelo Masarati
6650f07f50
allow (and use) symbolic names for syslog levels
2005-12-19 22:55:30 +00:00
Pierangelo Masarati
0c75d26060
make the message one-line
2005-12-17 00:41:17 +00:00
Pierangelo Masarati
5b26601fd0
fix syslog level parsing
2005-12-17 00:40:46 +00:00
Pierangelo Masarati
7941652ed4
do exactly what requested
2005-12-16 22:27:57 +00:00
Pierangelo Masarati
ce3c024557
slapdn calls shutdown without startup
2005-12-16 22:24:53 +00:00
Pierangelo Masarati
9f2e86c8e3
cleanup error logging
2005-12-16 19:01:05 +00:00
Pierangelo Masarati
9e3a22bf4a
always provide a NULL o_private to be_entry_get (ITS#4184)
2005-12-16 18:35:25 +00:00
Pierangelo Masarati
96dd70da28
fix memory handling
2005-12-16 16:19:17 +00:00
Pierangelo Masarati
b984e616c3
remove support for control as the operation is now incompatible
2005-12-16 15:01:59 +00:00
Kurt Zeilenga
a6127452f5
restrict assertion control to appropriate requests
2005-12-16 14:26:14 +00:00
Pierangelo Masarati
1c523e3548
anticipate sr_err/sr_ref cross-check, so that the right error gets logged
2005-12-16 11:33:11 +00:00
Pierangelo Masarati
266c6ad1ea
plug one-time leaks; misc cleanup
2005-12-16 01:58:36 +00:00
Pierangelo Masarati
e841c3b73b
reset bi_attrs after reindexing (ITS#4260)
2005-12-16 00:44:13 +00:00
Pierangelo Masarati
53d41587ad
__should__ fix ITS#4262; please review
2005-12-16 00:04:51 +00:00
Pierangelo Masarati
e788a5c380
first part of fix to ITS#4262
2005-12-15 23:46:23 +00:00
Howard Chu
8a9761bc3f
ITS#4238 don't hide syncrepl control from rootDSE
2005-12-15 23:05:12 +00:00
Howard Chu
dd3d53fd85
Fix ITS#4263
2005-12-15 22:52:31 +00:00
Pierangelo Masarati
9df97ba114
use macros to handle retry
2005-12-15 19:14:54 +00:00
Pierangelo Masarati
76a089086b
forgot binds
2005-12-15 17:54:13 +00:00
Pierangelo Masarati
d86a46cc33
shortcut to allow restricting all operations
2005-12-15 17:46:37 +00:00
Pierangelo Masarati
93e8395e30
log what is being modified
2005-12-15 17:45:31 +00:00
Pierangelo Masarati
4538422dc9
better handling of internal operations
2005-12-15 13:47:25 +00:00
Pierangelo Masarati
f0ee55c9df
fix filter generation (back-ldap uses string form)
2005-12-15 13:07:56 +00:00
Pierangelo Masarati
62d4ae9058
a back-ldap consumer segfaults when accessing members of conn...
2005-12-15 11:55:46 +00:00
Pierangelo Masarati
430aff35bb
assume operations with version set to 0 are internal, and use LDAPv3
2005-12-15 11:39:46 +00:00
Pierangelo Masarati
fcda57e90f
use macros instead of numbers...
2005-12-13 20:11:26 +00:00
Pierangelo Masarati
bd975514de
add (and document) customizable bind-timeout
2005-12-12 15:57:58 +00:00
Pierangelo Masarati
361a97108b
minor cleanup
2005-12-12 14:33:34 +00:00
Pierangelo Masarati
e113e18bb6
more about sizelimit disclose issue in back-meta (ITS#4213)
2005-12-11 23:39:09 +00:00
Pierangelo Masarati
8687dace5b
allow per-replogfile pid/args file & replication interval (ITS#3523)
2005-12-10 12:25:27 +00:00
Pierangelo Masarati
b681c634c4
allow per-replogfile pid/args file (ITS#3523)
2005-12-10 11:52:44 +00:00
Pierangelo Masarati
d72b89b53a
allow any base for debug level
2005-12-10 11:52:08 +00:00
Pierangelo Masarati
93d0ef91e6
allow parsing of numbers in whatever base (ITS#4257)
2005-12-09 18:11:07 +00:00
Pierangelo Masarati
da03eb0390
normalize value in "exact" attrval clause (ITS#4255)
2005-12-09 10:33:01 +00:00
Pierangelo Masarati
335633d9eb
add comment
2005-12-09 10:31:41 +00:00
Howard Chu
3d4eeba5d1
Fix ITS#4133, reset subtree search req_dn
2005-12-09 02:08:08 +00:00
Howard Chu
b81ed2c106
Fix ITS#4084, onelevel searches cannot return NO_SUCH_OBJECT if the base
...
was already found.
2005-12-09 01:20:05 +00:00
Howard Chu
553b2884ab
cache LRU concurrency improvements, reorder DB accesses for consistency
2005-12-09 00:20:18 +00:00
Howard Chu
3e062a3f35
ITS#4254 fix lock ordering
2005-12-08 23:45:47 +00:00
Pierangelo Masarati
1b42fde372
implement (per-target) per-conn proxy-side idle-timeout (ITS#4115); revitalize (per-target) network-timeout in back-meta; fix issue with connection initialization error in ldap_back_retry(); cleanup configuration of back-ldap
2005-12-07 17:35:02 +00:00
Pierangelo Masarati
a4f800413d
unlink pid/args files only if actually touched (ITS#4251)
2005-12-07 14:47:00 +00:00
Howard Chu
51f9ef7ab9
Improve previous commit
2005-12-07 12:09:00 +00:00