Howard Chu
3e682cdac4
Propagate local errors up, fix test045
2006-01-11 07:37:42 +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
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Pierangelo Masarati
8e7e8c4d04
allow modules to register callbacks for dynamic data in root DSE
2006-01-02 08:57:56 +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
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
3517bdf260
revert previous commit(s); clarify usage of "-s" in slapd(8).
2005-12-20 08:20:16 +00:00
Pierangelo Masarati
662cb94e06
helper to destroy modrdn modifications...
2005-12-06 22:54:51 +00:00
Howard Chu
bb1984eb3e
Fix mod delete by ordered index
2005-12-05 11:46:56 +00:00
Pierangelo Masarati
84bb488ec2
allow to register (and expose) a supported feature
2005-11-27 23:17:57 +00:00
Pierangelo Masarati
f86543c770
cleanup filter escaping
2005-11-25 12:16:27 +00:00
Pierangelo Masarati
429a6f5353
fix wrong response tags (ITS4182; consequence of fixing ITS#4173)
2005-11-17 23:52:56 +00:00
Pierangelo Masarati
4537065ffc
further isolation and cleanup of ACI code
2005-11-10 00:52:43 +00:00
Pierangelo Masarati
fc2912ba92
move bindconf_[un]parse() into generic API
2005-11-06 23:28:54 +00:00
Howard Chu
c5b44f3660
ITS#4128 use backend_db_init to init the private backend
2005-11-03 20:31:11 +00:00
Pierangelo Masarati
183b696e76
address ITS#4127 (please review)
2005-10-31 16:00:51 +00:00
Howard Chu
4bb234bac8
ITS#4108 Cleanup accept/close race conditions.
2005-10-29 04:17:56 +00:00
Howard Chu
fc621a1c78
Add tool-threads config keyword, init thread pool in tool mode.
2005-10-27 09:29:42 +00:00
Howard Chu
37e58a73a4
Revert prev commit, use -g option to disable glue instead
2005-10-15 21:52:01 +00:00
Howard Chu
10a696bd15
ITS#4089 use slapcat -n XX to specify just the superior of a glued tree
2005-10-15 20:08:56 +00:00
Pierangelo Masarati
bd5706d8e5
complete fix of slapd-monitor log modify (ITS#4091)
2005-10-15 17:37:18 +00:00
Kurt Zeilenga
9bc19c5232
Revised lightweight dispatcher -- writers moved into worker threads
...
Presently spawns operations in separate thread to ease clr_read/wake handling.
Seems to perform reasonable well...
2005-10-15 06:54:55 +00:00
Kurt Zeilenga
577bfc477e
More cleanup
2005-10-14 22:04:03 +00:00
Hallvard Furuseth
78873370c8
constify berval arg to load_extop(), to match usage
2005-10-14 12:57:07 +00:00
Howard Chu
7dcb68f6fa
Move CSN invocations to backends
2005-10-13 11:58:44 +00:00
Kurt Zeilenga
6db7e605ee
Align Operation buffers using LBER_ALIGNED_BUFFER
2005-10-12 23:17:28 +00:00
Howard Chu
12733ab92f
ITS#3996 fix glue/syncprov interaction
2005-09-27 15:10:57 +00:00
Howard Chu
9b1d798ad2
Change slap_ad_undef_remove() to slap_ad_undef_promote().
...
AttributeDescriptions must never be freed in a running slapd.
2005-09-14 06:17:59 +00:00
Pierangelo Masarati
9129a2f7ee
silence warnings
2005-09-10 18:59:35 +00:00
Pierangelo Masarati
ec532ce885
disable pagedResults or reject
2005-09-04 20:08:35 +00:00
Howard Chu
4a1eabf257
Moving glue overlay back into slapd core, returning to 2.2 config syntax
2005-09-01 11:45:04 +00:00
Pierangelo Masarati
6cb8b14435
allow undefined attrs to be "proxied" (ITS#3959)
2005-08-25 21:14:26 +00:00
Pierangelo Masarati
4bc8197dcb
further ACI factoring out & confinement
2005-08-22 16:03:35 +00:00
Pierangelo Masarati
de90dbbc52
mutex-protect "undefined" attribute descriptions/objectClasses addition (ITS#3958)
2005-08-22 09:46:17 +00:00
Pierangelo Masarati
00b5d8c1bc
allow objectClass checking including sups
2005-08-20 19:01:53 +00:00
Luke Howard
2ff5c27f63
Check for NULL in be_match()
...
Use be_match() in backend.c operational processing
2005-08-18 04:34:04 +00:00
Luke Howard
6cf14a777a
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.
2005-08-18 04:12:04 +00:00
Pierangelo Masarati
ec49990d51
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
2005-08-17 17:14:57 +00:00
Hallvard Furuseth
9873eb7ab0
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.
2005-08-14 00:14:58 +00:00
Pierangelo Masarati
d10250d9f6
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)
2005-08-11 23:52:17 +00:00
Pierangelo Masarati
2b93e9b376
wrap validate/pretty/normalize for ordered values (only #ifdef LDAP_DEVEL)
2005-08-11 23:35:15 +00:00
Pierangelo Masarati
cccf35c749
allow textual log levels in command line
2005-08-08 14:01:40 +00:00
Howard Chu
9365649dad
ITS#3922 fix syncrepl ctxcsn leak
2005-08-08 12:38:19 +00:00
Pierangelo Masarati
e549e4463a
free replica info as appropriate
2005-08-07 15:01:13 +00:00
Luke Howard
12d006d17d
Add o_no_schema_check to operation structure
...
entry_schema_check() nows takes Operation instead of Backend as first
argument, allows it to check o_no_schema_check
2005-08-01 15:26:13 +00:00
Luke Howard
71d76fbeba
slap_mods2entry() should not zero pointers into the modifications
...
list because checking is performed on these, rather than the entry.
slap_mods_free() now takes an extra argument indicating whether to
free the values or not.
2005-08-01 02:16:02 +00:00
Luke Howard
6f0edd6c22
Call slap_mods2entry() in do_add(), so that global overlays (including
...
global SLAPI plugins) have access to op->ora_e.
Note that slap_mods2entry() is still called in fe_op_add() in order to
add any operational attributes.
2005-07-31 04:56:27 +00:00
Pierangelo Masarati
0de20c028f
destroy limits at exit
2005-07-25 20:50:03 +00:00