Pierangelo Masarati
f8407435cc
cleanup
2005-08-10 10:25:24 +00:00
Pierangelo Masarati
f38e72b26c
trim use of uninitialized data; please review
2005-08-10 10:21:37 +00:00
Hallvard Furuseth
d50820cdd6
Read LDAPResult.resultCode & ModifyRequest.modification.operation
...
and send SortResult.sortResult as BER ENUMERATED, not BER INTEGER.
libldap: ldap_parse_extended_result, try_read1msg, build_result_ber,
ldap_parse_sasl_bind_result. slapd: do_modify, send_ldap_controls.
2005-08-10 00:54:38 +00:00
Luke Howard
3647cba131
ITS#3924
...
Also, fix slapi_dn_parent() crasher
2005-08-09 05:28:58 +00:00
Pierangelo Masarati
eae2233d0c
don't leak in case of attribute not found
2005-08-09 03:39:12 +00:00
Luke Howard
2e36d49a73
Fix slapi_str2entry()/slapi_entry2str() allocation
2005-08-09 02:56:21 +00:00
Luke Howard
6461a5b7fd
ITS#3924
2005-08-09 02:12:18 +00:00
Howard Chu
c30992f05e
ITS#3922 don't leak ber buffer on decode/parse errors
2005-08-09 00:26:39 +00:00
Howard Chu
28be8691cc
ITS#3922 plug another cookie parsing leak
2005-08-09 00:11:42 +00:00
Howard Chu
0b2a428a29
ITS#3917 don't check csn syntax if schema isn't inited yet
2005-08-08 23:56:40 +00:00
Howard Chu
a99e5846b3
ITS#3917 revert prev commit
2005-08-08 23:45:29 +00:00
Pierangelo Masarati
9f1703d0d3
more (in)sanity stuff
2005-08-08 22:49:54 +00:00
Hallvard Furuseth
f927b77456
Remove unused variables in config_updatedn()
2005-08-08 22:35:38 +00:00
Hallvard Furuseth
64512ad4d7
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2005-08-08 22:25:56 +00:00
Hallvard Furuseth
7843e7fbb2
Destroy monitor_info.mi_cache_mutex
2005-08-08 21:29:13 +00:00
Pierangelo Masarati
c984c229d6
plug more one-time leaks; rearrange subsystems setup
2005-08-08 20:45:10 +00:00
Hallvard Furuseth
b1e4b27388
#include <ac/ctype.h>, needed by last commit
2005-08-08 20:19:25 +00:00
Pierangelo Masarati
b286c9264b
plug another one-time leak
2005-08-08 20:01:04 +00:00
Pierangelo Masarati
64af435895
ITS#3914 bug was very close to that leak: rwm_dnattr_rewrite() already freed the original value (all this stuff may need work)
2005-08-08 19:49:48 +00:00
Pierangelo Masarati
47351e3b5c
fix yet another leak (not related to ITS#3914, though)
2005-08-08 19:41:10 +00:00
Hallvard Furuseth
3142c03e5a
Fix typo in previous commit (slapi_dn.c -> slapi_dn.lo)
2005-08-08 14:30:34 +00:00
Pierangelo Masarati
cccf35c749
allow textual log levels in command line
2005-08-08 14:01:40 +00:00
Luke Howard
d463430295
Remove slapi_x_be_select()
2005-08-08 13:26:02 +00:00
Luke Howard
d96f3615b3
New file - slapi_dn.c
2005-08-08 13:25:24 +00:00
Luke Howard
7d557f0b0d
Add Slapi_DN API
2005-08-08 13:24:18 +00:00
Howard Chu
ae8a333bc8
ITS#3917 init schema before parsing args
2005-08-08 12:51:38 +00:00
Howard Chu
9365649dad
ITS#3922 fix syncrepl ctxcsn leak
2005-08-08 12:38:19 +00:00
Luke Howard
3858ce0728
Add slapi_x_be_select() (to be replaced with slapi_be_select() when
...
we support Slapi_DN API)
2005-08-08 11:01:39 +00:00
Luke Howard
ef81368404
Don't return frontend as SLAPI_BACKEND, return actual backend instead
...
for compat with 2.2 plugins
Add a couple of backend SLAPI APIs
2005-08-08 09:33:02 +00:00
Luke Howard
17ffdc07b6
Don't decrement descriptor count until we have checked connection is not UDP
2005-08-08 03:44:17 +00:00
Luke Howard
0dd503a339
Add missing break statement in switch for SLAPI_SEARCH_ATTRS handler
2005-08-08 03:39:00 +00:00
Pierangelo Masarati
e24cc0589f
more cleanup
2005-08-07 22:22:27 +00:00
Pierangelo Masarati
d79d9be840
free Env
2005-08-07 21:53:38 +00:00
Pierangelo Masarati
3d075186bf
don't leak entry/referrals in case of reference
2005-08-07 21:26:15 +00:00
Pierangelo Masarati
09f749da96
remove unnecessary data from search_info
2005-08-07 20:43:07 +00:00
Pierangelo Masarati
779d94312f
cleanup candidate list in case of abandon, even if it occurs while selecting candidates
2005-08-07 20:11:41 +00:00
Pierangelo Masarati
433c7923c5
cleanup candidate list in case of abandon
2005-08-07 20:04:47 +00:00
Pierangelo Masarati
125059ccb5
more cleanup
2005-08-07 18:56:19 +00:00
Pierangelo Masarati
92527ee15b
plug more leaks; few remain (but seem to be in ODBC)
2005-08-07 17:28:26 +00:00
Pierangelo Masarati
52fb4b47fe
fix previous commit
2005-08-07 16:48:26 +00:00
Pierangelo Masarati
8fdfe1fcd0
plug yet another one-time leak
2005-08-07 16:45:13 +00:00
Pierangelo Masarati
ca00d860d6
plug selected leaks at shutdown
2005-08-07 16:38:20 +00:00
Pierangelo Masarati
a6d4a82782
more about freeing replica resources
2005-08-07 15:20:14 +00:00
Pierangelo Masarati
e549e4463a
free replica info as appropriate
2005-08-07 15:01:13 +00:00
Pierangelo Masarati
d8a90fd7d5
cleanup resources
2005-08-07 14:13:29 +00:00
Pierangelo Masarati
468e03a655
plug more leaks
2005-08-07 12:55:15 +00:00
Pierangelo Masarati
c3b977b2da
ACL logging was incomplete (and misleading)
2005-08-07 11:36:18 +00:00
Pierangelo Masarati
be355833a0
fix use of uninitialized value; beautify logs
2005-08-07 10:49:40 +00:00
Pierangelo Masarati
e281e08e79
remove cruft
2005-08-07 10:49:01 +00:00
Luke Howard
bba3f62bdc
Always restore op->o_callback in SLAPI overlay - was spinning indefinitely
2005-08-07 03:13:57 +00:00
Pierangelo Masarati
fa27310d77
use trylock only where necessary
2005-08-07 00:35:11 +00:00
Pierangelo Masarati
47d39181d6
cleanup
2005-08-06 21:03:26 +00:00
Pierangelo Masarati
8b54d3b7e1
fix potential leak (if URL form is broken); cleanup
2005-08-06 20:56:02 +00:00
Luke Howard
6911e0022b
Plug some leaks in SLAPI modifications handling
2005-08-06 14:58:25 +00:00
Pierangelo Masarati
682a1981a1
use macros instead of literals
2005-08-06 11:29:08 +00:00
Pierangelo Masarati
955253966b
fix ordered indexing check
2005-08-05 00:08:22 +00:00
Pierangelo Masarati
cc361f7aa0
don't need compare if entry_get is available
2005-08-03 00:33:37 +00:00
Pierangelo Masarati
61f11773ba
address ITS#3914
2005-08-02 23:22:10 +00:00
Pierangelo Masarati
4ed743cc84
remove unrequired member; address ITS#3913
2005-08-02 22:48:30 +00:00
Pierangelo Masarati
9da3dbf3c8
more fixes to parsing of (deprecated) config directives (ITS#3915)
2005-08-02 22:21:44 +00:00
Luke Howard
b620a0e23c
slapi/slapi_utils.c rev 1.172 removed the 'dup' parameter to
...
slapi_int_ldapmods2modifications(), but a 'dup' test remains in the
function body. Should always evaluate to TRUE.
2005-08-02 16:12:09 +00:00
Hallvard Furuseth
cc79022b71
Cleanup (unused variable ad_oldest)
2005-08-02 10:36:48 +00:00
Howard Chu
b98d3b5903
ITS#3912 missed an invocation of entry_schema_check in last round of changes
2005-08-02 09:44:44 +00:00
Hallvard Furuseth
ad0be35f47
Remove unused variable.
2005-08-02 08:50:02 +00:00
Hallvard Furuseth
a3f3143cc5
Fix off-by-one pointer error. Garbage byte between uuid and csn in slog_entry.
2005-08-02 08:43:27 +00:00
Pierangelo Masarati
4148ddc31f
save 1 function call...
2005-08-02 08:13:16 +00:00
Pierangelo Masarati
673ea82eab
fix typo in previous commit
2005-08-01 23:40:40 +00:00
Pierangelo Masarati
c8a5fd2df2
fix various leaks
2005-08-01 23:32:14 +00:00
Pierangelo Masarati
9a64785e4d
plug leaks; fix map initialization
2005-08-01 22:40:18 +00:00
Howard Chu
91ea3a113a
Add static build for accesslog
2005-08-01 22:02:23 +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
381a4d62c5
SLAPI no longer needs to be initialized here
2005-08-01 15:25:17 +00:00
Luke Howard
b1f478f161
Add slapi_dn_isbesuffix()
...
Fix slapi_dn_beparent() logic
Fix slapi_int_ldapmods2modifications() memory management, values
always need to be duplicated because of prettying in slap_mods_check()
2005-08-01 15:24:46 +00:00
Luke Howard
9a45f87ede
Fix crasher in SLAPI_SEARCH_ATTRS handler
...
Add SLAPI_X_OPERATION_NO_SCHEMA_CHECK, SLAPI_X_MANAGEDIT
Fix modlist memory management
2005-08-01 15:24:02 +00:00
Luke Howard
65ac57bcac
Plug leaks
2005-08-01 15:23:12 +00:00
Luke Howard
e70ab8655c
Centralize SLAPI initialization into slapi_over_config()
2005-08-01 15:22:56 +00:00
Hallvard Furuseth
5949d65b57
Plug memory leak
2005-08-01 03:58:43 +00:00
Hallvard Furuseth
486bfe7e17
slap_mods2entry(,,,dup=1,,,) realloced insufficient space for attr->a_nvals
2005-08-01 03:56:36 +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
Hallvard Furuseth
e404a15082
Cleanup
2005-07-31 18:17:13 +00:00
Luke Howard
2b5cf310e6
Fix slapi_dn_beparent() behaviour (again)
2005-07-31 14:17:36 +00:00
Luke Howard
f0101fe5a7
Fix slapi_dn_beparent() logic
2005-07-31 06:45:39 +00:00
Luke Howard
040a0956ac
Support SLAPI_X_OPERATION_DELETE_GLUE_PARENT
2005-07-31 05:42:51 +00:00
Luke Howard
1a2f3b5f2d
Restore 2.2 SLAPI behaviour: target DN is not normalized
...
(actually, in 2.2 the target DN was not even prettied, but this
will do)
2005-07-31 05:23:56 +00:00
Luke Howard
d0ad4b3f3e
Allow overlays to override operational attributes on add (needed
...
to preserve 2.2 SLAPI behaviour; see comments for further info)
2005-07-31 05:19:37 +00:00
Luke Howard
30610c6f70
Fix logic error in slap_mods2entry()
2005-07-31 05:12:20 +00:00
Luke Howard
40ec064b66
Fix logic error in slap_mods_no_repl_user_mod_check()
2005-07-31 05:04:37 +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
Hallvard Furuseth
014393dfa2
Initialize a_flags of new Attribute in str2entry2().
2005-07-30 23:54:00 +00:00
Hallvard Furuseth
42a9661071
Initialize i (#changes) if no mods. Simplify (*modp) to lmod.
2005-07-30 23:46:07 +00:00
Hallvard Furuseth
80275d382b
Remove warning that HDB code is experimental and unsupported
2005-07-30 23:42:41 +00:00
Hallvard Furuseth
e1742d1cb4
Change diskNode.(n)rdn from unsigned char to char, matching their usage.
2005-07-30 23:39:44 +00:00
Hallvard Furuseth
20cde48439
Remove ";" after do{...}while(0) macros
2005-07-30 23:36:38 +00:00
Hallvard Furuseth
9601e1e7ec
serialNumberAndIssuerPretty() and serialNumberAndIssuerNormalize()
...
were confused about realloced memory.
2005-07-30 23:30:42 +00:00
Pierangelo Masarati
d921f216ac
fix referrals handling (needs work)
2005-07-30 16:25:18 +00:00
Pierangelo Masarati
d959d771bf
support increment; don't bother too much about return values of send_search_* functions
2005-07-30 15:00:41 +00:00
Pierangelo Masarati
40badfc664
fix conditional compilation of config schema
2005-07-30 12:20:52 +00:00
Pierangelo Masarati
6fe8f5dd18
...otherwise it doesn't work with overlays
2005-07-30 10:37:34 +00:00
Luke Howard
f5afe4fdc7
Back out previous commit, appears not to match frontend - still
...
investigating
2005-07-30 08:30:36 +00:00
Luke Howard
98e49eca60
slapi_add_internal_pb() should not set op->ora_e, this is done by frontend
2005-07-30 08:19:26 +00:00
Luke Howard
60e17c1fff
Don't instantiate SLAPI overlay in tool mode
2005-07-29 16:45:25 +00:00
Howard Chu
be4e918799
Add note about core.ldif and openldap.ldif
2005-07-29 12:19:08 +00:00
Howard Chu
d982beeb87
Install LDIF schema files too
2005-07-29 12:09:39 +00:00
Howard Chu
53d94be203
Fix install-schema - move old schema dir out of the way, always install
...
a fresh copy of everything.
2005-07-29 12:06:12 +00:00
Pierangelo Masarati
f76e1055f8
treat extra args as errors
2005-07-29 09:01:44 +00:00
Howard Chu
9164a4790d
ITS#3900 move olcDefaultSearchBase to frontend DB
...
expose config DB
2005-07-29 02:48:31 +00:00
Pierangelo Masarati
aace773cb6
more table-driven config cleanup
2005-07-29 01:00:48 +00:00
Pierangelo Masarati
7b1fae08c7
don't complain during EMIT
2005-07-28 18:25:43 +00:00
Pierangelo Masarati
614d936ef4
suffix must be present (ITS#3901)
2005-07-28 16:54:49 +00:00
Luke Howard
0582504893
Remember to NULL terminate control arrays - not sure how I managed to
...
make this error in multiple places
2005-07-28 09:56:55 +00:00
Luke Howard
f32bfe729f
pblock_add_control() needs to call slapi_dup_control()
2005-07-28 09:48:44 +00:00
Luke Howard
f1e604a3ac
Add slapi_int_dn_pretty()/slapi_int_dn_normalize() to support plugins
...
that override distinguishedName syntax and matching rule
2005-07-28 09:02:13 +00:00
Luke Howard
e4ff86c198
Add slapi_over_call_plugins() to ensure that global plugins are
...
invoked from slap_callbacks
2005-07-28 08:52:50 +00:00
Luke Howard
53ad7ffbff
Add some debugging for failed plugin loads
2005-07-28 08:35:28 +00:00
Pierangelo Masarati
e8c4911a39
check return value from add (ITS#3891)
2005-07-28 00:06:14 +00:00
Luke Howard
06f8a27771
Add pblock_be_call() for calling against actual backend
2005-07-27 16:29:32 +00:00
Luke Howard
2ffdbf7fef
Fix memory management regressions in pblock modifications handling
...
Fix backwards logic in slapi_attr_types_equivalent()
2005-07-27 16:11:12 +00:00
Hallvard Furuseth
3226cdf2a3
bdb_locker_id, bdb_locker_id_free: BerkeleyDB lock ids are u_int32_t, not int.
2005-07-27 12:19:16 +00:00
Luke Howard
38f10e1f63
PBlock SlapReply needs to be a pointer into that supplied by caller
...
for overlay ops
2005-07-27 10:09:44 +00:00
Hallvard Furuseth
a9aa5050f8
Silence warning
2005-07-27 09:34:05 +00:00
Luke Howard
fe8c0553d3
Zero new superior before calling pblock_set_dn()
2005-07-27 09:26:42 +00:00
Hallvard Furuseth
f6f367fda6
pb in slapi_op_func was freed uninitialized if preop_type==0 && !internal_op
2005-07-27 09:13:30 +00:00
Hallvard Furuseth
5a6eabb69d
Silence unused variable warnings
2005-07-27 08:52:32 +00:00
Hallvard Furuseth
202b309dd1
Silence unused variable warnings with #ifdef LDAP_DYNAMIC_OBJECTS
2005-07-27 08:50:37 +00:00
Hallvard Furuseth
f5dd017738
Silence warnings (rearrange if(dryrun) vs. if(verbose)
2005-07-27 08:48:43 +00:00
Hallvard Furuseth
397d7171c0
Silence unused variable warnings with #ifdef LDAP_CONTROL_X_CHAINING_BEHAVIOR
2005-07-27 08:44:11 +00:00
Luke Howard
197bc7bba9
s/op_compare/op_delete for LDAP_REQ_DELETE
2005-07-27 08:32:31 +00:00
Luke Howard
f87a07910f
Support object extensions on internal SLAPI operations
2005-07-26 09:56:18 +00:00
Luke Howard
edc575888c
slapi_op_type_to_string/slapi_op_get_type implementation
2005-07-26 04:34:23 +00:00
Pierangelo Masarati
111f5fdc5c
more fixes to back-ldap runtime configuration (ITS#3895)
2005-07-26 00:11:11 +00:00
Pierangelo Masarati
e161f50ac0
silence warning
2005-07-25 23:06:12 +00:00
Hallvard Furuseth
f020796f73
Update previous fix: utime() needs <sys/types.h> as well as <utime.h> on Linux
2005-07-25 22:53:21 +00:00
Pierangelo Masarati
a6d9e7d933
use operation slab for column binding
2005-07-25 22:11:09 +00:00
Pierangelo Masarati
f423e65d58
fix operational attributes collection (ITS#3882)
2005-07-25 21:57:20 +00:00
Hallvard Furuseth
6d6a4b7dda
Cast unsigned char*slotbuf passed as char*
2005-07-25 21:05:52 +00:00
Hallvard Furuseth
d9889aebd2
Fix debug format %d -> %lu
2005-07-25 21:03:08 +00:00
Pierangelo Masarati
739128a016
silence warning(s)
2005-07-25 20:50:33 +00:00
Pierangelo Masarati
0de20c028f
destroy limits at exit
2005-07-25 20:50:03 +00:00
Pierangelo Masarati
136fe60e0e
improve verbstomask diagnostics
2005-07-25 20:48:24 +00:00
Pierangelo Masarati
a91ebfac79
plug leaks
2005-07-25 20:47:39 +00:00
Pierangelo Masarati
5ecdfd13b4
cleanup
2005-07-25 20:47:01 +00:00
Luke Howard
cdefacccc6
Fix ITS#3882
2005-07-25 13:19:38 +00:00
Luke Howard
88737d900a
more cleanups
2005-07-25 13:17:15 +00:00
Luke Howard
48c951007a
Harmonize Slapi_PBlock field nomenclature with rest of slapd
2005-07-25 11:13:15 +00:00
Luke Howard
ba8acc0c4a
However, SLAPI_PLUGIN_VERSION is treated as an opaque type
2005-07-25 10:55:37 +00:00
Luke Howard
4836f2a5c5
Heads up: fix for SLAPI compliance: when calling slapi_pblock_set() with
...
an integer or long integer parameter, the value argument is a pointer to
the integeral value rather than the value itself.
2005-07-25 10:53:45 +00:00
Luke Howard
93540e339a
Use SLAPI_LOG_OPERATION instead of private flag
2005-07-25 10:24:02 +00:00
Luke Howard
7a69353aac
Even more SLAPI cleanups
2005-07-25 10:10:58 +00:00
Luke Howard
ddbbbe2348
more SLAPI cleanups
2005-07-25 10:06:03 +00:00
Luke Howard
1254419f16
More SLAPI cleanups
2005-07-25 09:54:13 +00:00
Luke Howard
bb04c4eb9d
Fix pblock_delete_param(), this function never worked
2005-07-25 05:38:31 +00:00
Luke Howard
43ec05a45a
use slapi_pblock_delete_param()
2005-07-25 05:03:09 +00:00
Luke Howard
8d48005d83
Careful not to disturb result codes
2005-07-25 04:43:07 +00:00
Luke Howard
4c513d05f7
plug leak
2005-07-25 04:39:58 +00:00
Luke Howard
eec4651913
Don't discard plugin status code
2005-07-25 04:31:16 +00:00
Luke Howard
48d1046a35
Make slapi_pblock directly overlaid on operation/connection/slapreply
...
structures
This removes a lot of copying. It's still a bit tricky where the internal
slapd data types are different to those exposed via SLAPI (eg. modifications)
or the internal values are not allocated on the heap (eg. controls). Some
copying is necessary in these cases.
2005-07-25 04:19:33 +00:00
Pierangelo Masarati
3e84f692aa
there might definitely be concurrency issues, but it's not pooled connections' fault
2005-07-23 22:03:35 +00:00
Pierangelo Masarati
e810105f87
(mostly) reverting previous commit (overconservative)
2005-07-23 22:02:12 +00:00
Pierangelo Masarati
796316bc84
strengthen concurrency protection
2005-07-23 19:39:51 +00:00
Pierangelo Masarati
bea2e5494c
reverse logic (chasing a dangling pointer...)
2005-07-23 19:38:57 +00:00
Pierangelo Masarati
2b34c829d2
cleanup
2005-07-23 19:16:50 +00:00
Pierangelo Masarati
4655f12858
same for overlays; fix typo ("Overlays" instead of "Overlay" in parent entry)
2005-07-23 15:55:29 +00:00
Pierangelo Masarati
5aadfdfedb
add back-config suppor to back-monitor; advertize what backends provide back-config support; HEADS-UP: changed monitor OIDs (reflected in OID repository)
2005-07-23 15:29:16 +00:00
Luke Howard
69230b2b9f
more slapi cleanup
2005-07-23 13:21:28 +00:00
Luke Howard
35942c40ae
update for new backend types
2005-07-23 13:14:13 +00:00
Luke Howard
92df34238a
Cleanup of SLAPI internal operation code; use frontendDB rather than
...
duplicating frontend code, and o->o_callback rather than overriding
entry send clalbacks.
Support for SLAPI internal operation plugins.
2005-07-23 12:03:13 +00:00
Luke Howard
9a1c8cdb88
Allow sml_desc to be set by caller in slap_mods_check()
2005-07-23 12:00:52 +00:00
Luke Howard
efa1ba86bf
set o_callback to NULL for read entry callback, avoids crash in replog callback
2005-07-23 11:55:09 +00:00
Pierangelo Masarati
4c1339cf22
add infrastructure to register verbmasks; allow to register loglevels programmatically; cleanup glue protos
2005-07-23 11:32:10 +00:00
Pierangelo Masarati
d2b863fa24
fix previous commit (see NOTE and FIXMEs)
2005-07-23 10:29:40 +00:00
Luke Howard
9e4ea429e5
Add fe_access_allowed(), should allow global ACL overlays to work
2005-07-23 04:18:48 +00:00
Pierangelo Masarati
bccf2a7282
backout previous commit: frontendDB doesn't have the right rootn, ACLs and so
2005-07-22 17:22:51 +00:00
Pierangelo Masarati
02870e815b
renamed slapi_int_init_connection => slapi_int_connection_init for consistency; blind fix to ITS#3879
2005-07-22 16:57:20 +00:00
Pierangelo Masarati
9cb512bc03
exit the loop at some point (ITS#3878)
2005-07-22 16:37:20 +00:00
Hallvard Furuseth
a7f82239b6
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2005-07-22 14:35:16 +00:00
Hallvard Furuseth
cc27d26f48
rs->sr_flags should be saved in variables of type slap_mask_t, not int.
2005-07-22 13:28:49 +00:00
Hallvard Furuseth
4a57978a4b
'#if 0' out variables used only in #if 0. Fix '#if 0'-ed out counting loops.
2005-07-22 13:21:10 +00:00
Hallvard Furuseth
100634c920
Remove unused variables.
2005-07-22 13:18:28 +00:00
Luke Howard
1c6124019f
remove redundant variable
2005-07-22 09:40:22 +00:00
Luke Howard
645923b273
Remove redundant ACL check in operational attributes overlay
2005-07-22 09:39:36 +00:00
Luke Howard
db3cc3ea22
Cleanup SLAPI headers
2005-07-22 09:35:27 +00:00
Luke Howard
a8980ffe9e
Do not cache group evaluation if result is SLAP_CB_CONTINUE
2005-07-22 08:27:51 +00:00
Luke Howard
3e47ba5aef
Fix bug in control merging (this probably still isn't right...)
2005-07-22 08:26:20 +00:00
Luke Howard
77ced839c0
Add caching to slapi_over_acl_group(); performance is terrible otherwise
2005-07-22 08:23:33 +00:00
Luke Howard
e6ed981ab9
Don't fail if no group plugins
2005-07-22 07:55:45 +00:00
Luke Howard
cb786e3330
Remove SLAPI pblock from operation structure
2005-07-22 07:54:17 +00:00
Luke Howard
0799e6a246
more cleanups
2005-07-22 06:46:07 +00:00
Luke Howard
95b0b26ad5
cleanup SLAPI overlay
2005-07-22 06:24:39 +00:00
Luke Howard
f5e67edb79
Fix dangling mutex in SLAPI bind preop handler
2005-07-22 06:16:03 +00:00
Luke Howard
8c52d0e401
Ensure backend is set before calling send_ldap_extended();
...
whoami was crashing for anonymous clients
2005-07-22 05:49:55 +00:00
Luke Howard
0b631c0d2f
fix error in previous commit
2005-07-22 05:38:32 +00:00
Luke Howard
44bb946436
More use of SLAPI accessor macros
2005-07-22 05:33:47 +00:00
Luke Howard
de10624dc3
Use accessor macros for SLAPI parameter blocks, should make it
...
easier to move into overlay private data
2005-07-22 05:26:15 +00:00
Luke Howard
c477ad064f
Set SLAPI_REQUESTOR_ISROOT for internal operations
2005-07-22 05:14:42 +00:00
Luke Howard
6da978d5a0
Support for global ACL overlays, corresponding SLAPI support
2005-07-22 05:01:09 +00:00
Luke Howard
6ae5ce5b66
Cleaner version of previous patch (keep operational attr code in backend.c)
2005-07-22 03:44:04 +00:00
Luke Howard
27adb43cbf
Move backend_operational() implementation into frontend so global
...
overlays can be called
2005-07-22 03:40:06 +00:00
Luke Howard
a253fbdab4
terminate function array in slapi_int_get_plugins()
2005-07-22 03:24:09 +00:00
Pierangelo Masarati
4be9f57b29
more on leaks & small fixes to unparsing
2005-07-22 03:23:58 +00:00
Pierangelo Masarati
6adfb5dd2f
note an issue
2005-07-22 03:23:26 +00:00
Luke Howard
acae40faa0
SLAPI plugins are no longer global; global SLAPI plugins should be
...
associated with the frontend
2005-07-22 03:17:36 +00:00
Luke Howard
ed80d1011f
add over_acl_group/over_acl_attribute
2005-07-22 03:05:41 +00:00
Luke Howard
24f0ee316e
function rename
2005-07-22 02:51:55 +00:00
Pierangelo Masarati
1ac6bf4d1d
fix back-ldap unparsing
2005-07-22 02:29:49 +00:00
Pierangelo Masarati
5128702536
don't crash if no underlying database was initialized
2005-07-22 02:08:41 +00:00
Howard Chu
38968623d1
Fix prev commit
2005-07-22 01:53:19 +00:00
Pierangelo Masarati
4e6fd1a44f
the swap was intended; please see ITS#3876
2005-07-22 01:00:21 +00:00
Howard Chu
ddf6c7b298
Plug more memleaks
2005-07-21 23:26:40 +00:00
Howard Chu
a70c294359
Plug memleak in enum_tree
2005-07-21 21:59:35 +00:00
Howard Chu
769c6232a2
Add config_back_db_close, free some structures
2005-07-21 21:27:37 +00:00
Pierangelo Masarati
49619058ee
really fix the invalid free issue (I totally overlooked this piece of code)
2005-07-21 20:23:47 +00:00
Pierangelo Masarati
4ceeea4efa
should fix the invalid free issue
2005-07-21 19:14:09 +00:00
Luke Howard
746bb6033a
cleanup
2005-07-21 19:02:56 +00:00
Luke Howard
4f851f3ddb
Fix typo
2005-07-21 18:58:49 +00:00
Pierangelo Masarati
1efe2e80f4
attempt to fix invalid free
2005-07-21 18:17:58 +00:00
Luke Howard
e2853c98f8
more cleanups
2005-07-21 18:17:57 +00:00
Luke Howard
f9633806da
more cleanups
2005-07-21 18:16:32 +00:00
Luke Howard
001754eb65
remove SLAPI cruft
2005-07-21 18:07:16 +00:00
Luke Howard
ee770389d1
Fix some SLAPI bugs
2005-07-21 17:34:16 +00:00
Luke Howard
b8f86c4f28
Add support for post-result SLAPI plugins
...
Use overlay_op_walk again - needed to match 2.2 SLAPI behaviour
2005-07-21 17:15:44 +00:00
Luke Howard
ffe20229dc
Move most of SLAPI frontend into overlay
2005-07-21 16:35:20 +00:00
Pierangelo Masarati
3df0f16292
cleanup
2005-07-21 14:27:31 +00:00
Pierangelo Masarati
ab4bb3e617
glue's enum conflicts with slap_operation_t
2005-07-21 14:23:49 +00:00
Pierangelo Masarati
b358bd82ad
condition SLAP_OVERLAY_ACCESS
2005-07-21 14:23:15 +00:00
Pierangelo Masarati
ca8a734b92
make sure we notice if this gets out of sync with slap_operation_e
2005-07-21 14:13:57 +00:00
Luke Howard
857543c1f8
add prototype for overlay_op_walk()
2005-07-21 13:35:59 +00:00
Luke Howard
772b95e588
Add overlay_op_walk()
2005-07-21 13:35:32 +00:00
Luke Howard
13a8d5046f
Add slap_operation_t
2005-07-21 13:35:19 +00:00
Pierangelo Masarati
fe2492309a
improve messages
2005-07-21 08:54:04 +00:00
Luke Howard
0bf8a366a5
SLAPI cleanups
2005-07-21 08:39:37 +00:00
Luke Howard
7129f9ef91
Factor out common code in SLAPI internal ops
...
Allow internal operation pblock to forward connection/operation parameters
2005-07-21 08:34:25 +00:00
Luke Howard
8d600eca08
Enable SLAPI pre-entry plugins (we really need to move SLAPI into an
...
overlay...)
2005-07-21 04:01:54 +00:00
Pierangelo Masarati
1b11741a30
mostly revert previous commit
2005-07-20 19:26:46 +00:00
Pierangelo Masarati
c789d494c4
allow to unregister (and free) memory handling functions
2005-07-20 19:07:04 +00:00
Pierangelo Masarati
3df83d7089
destroy cache on exit
2005-07-20 14:59:56 +00:00
Pierangelo Masarati
628da7be89
fix uninitialized value use
2005-07-20 14:19:52 +00:00
Pierangelo Masarati
6f3363f0d9
Under some circumstances, port 9010 is already in use and may cause problems to referrals whose server is supposed to be unavailable
2005-07-20 11:17:06 +00:00
Pierangelo Masarati
e6ecb77b0e
drop stored procedures
2005-07-20 11:16:09 +00:00
Luke Howard
d6d202693d
Fix order of statements in SLAPI internal modrdn implementation
2005-07-20 08:19:22 +00:00
Luke Howard
f12103f36b
Fix regression in SLAPI ACL plugins owing to accidental commit
...
Support ACL_WADD/ACL_WDEL in SLAPI ACL evaluation/plugins
2005-07-20 08:00:24 +00:00
Luke Howard
25ae11ccd9
Unset intop callback parameters before they go out of scope
2005-07-20 04:24:02 +00:00
Pierangelo Masarati
77ad940c10
more on deadlock/dangling pointers
2005-07-20 00:50:35 +00:00
Pierangelo Masarati
5748d3ff72
connection_client leave c_peer_* fields NULL
2005-07-20 00:49:33 +00:00
Pierangelo Masarati
a27a32ccc4
fix arbitrary precision number display when no big number library is available
2005-07-19 21:56:15 +00:00
Pierangelo Masarati
499906f464
use appropriate format when no arbitrary precision library is available
2005-07-19 19:31:24 +00:00
Pierangelo Masarati
c4aedadc56
improve previous commit
2005-07-19 19:13:50 +00:00
Pierangelo Masarati
b838f3e2a1
Solaris doesn't like being passed NULL pointers to [vsf[n]]printf
2005-07-19 18:59:50 +00:00
Pierangelo Masarati
ac590d6b55
fix previous commit
2005-07-19 18:03:06 +00:00
Luke Howard
7bd627d491
Reenable pre-result plugins, these were supported in OpenLDAP 2.2
...
Pre-entry and pre-referral plugins will be enabled after testing
2005-07-19 15:39:25 +00:00
Luke Howard
04e499e28c
back out previous commit, fat fingers
2005-07-19 15:36:24 +00:00
Luke Howard
2d7a2144dc
result.c
2005-07-19 15:35:00 +00:00
Pierangelo Masarati
551dab0d03
more cleanup
2005-07-19 15:13:32 +00:00
Pierangelo Masarati
0f18805d65
Memory cleanup
2005-07-19 14:39:43 +00:00
Pierangelo Masarati
be1a5057a9
ObjectClass cleanup
2005-07-19 14:39:19 +00:00
Pierangelo Masarati
16934eb8ef
cleanup
2005-07-19 14:38:55 +00:00
Pierangelo Masarati
707082fcb7
AttributeType cleanup
2005-07-19 14:38:34 +00:00
Pierangelo Masarati
c5c0c3e4f5
fix previous commit (ITS#3871)
2005-07-19 14:25:10 +00:00
Pierangelo Masarati
882f43bf01
more about rewrite leaks
2005-07-19 14:24:26 +00:00
Pierangelo Masarati
efe74fbae0
fix yet another leak
2005-07-19 11:16:24 +00:00
Luke Howard
c8ef1e1861
Always set sml_desc when converting from LDAPMods
2005-07-19 09:37:36 +00:00
Luke Howard
0acd5d97bd
Check op->o_bd != NULL
2005-07-19 08:40:26 +00:00
Luke Howard
4832af0a50
Fix callback API for cast safety
...
Copy controls returned by backend to pblock before they go out of scope
2005-07-19 08:39:56 +00:00
Luke Howard
6f5dde0734
Fix pointer error in readback control
2005-07-19 08:39:05 +00:00
Luke Howard
2007c4b8b9
Add slap_parse_ctrl() API for parsing already decoded controls; needed
...
for SLAPI internal operations to use controls
2005-07-19 08:38:46 +00:00
Luke Howard
5eda803bc1
Add slapi_x_filter_set_attribute_type() API
2005-07-19 06:55:56 +00:00
Luke Howard
9e9c4b5397
Implement more of SLAPI 5.x - all SLAPI internal operations now take pblocks
...
as the canonical argument (wrappers for old APIs are provided)
2005-07-19 06:48:45 +00:00
Luke Howard
07ffdd8893
Associate global plugins with frontendDB
...
When unparsing plugin configuration, don't crash if no arguments
(dynamically registered plugins such as computed attributes don't
have arg vectors)
2005-07-19 06:47:43 +00:00
Luke Howard
ed424c55ee
Support for pre-entry, pre-result, pre-referral SLAPI plugins (not
...
enabled yet; behind #ifdef notdef)
2005-07-19 06:46:53 +00:00
Luke Howard
7de0268c98
Global plugins are now associated with frontendDB
2005-07-19 06:46:14 +00:00
Luke Howard
979e64d0f0
The order of uidNumber and gidNumber was swapped in revision 1.331,
...
which breaks existing ACLs. This patch restores the old behaviour.
2005-07-19 06:45:57 +00:00
Hallvard Furuseth
9d5308163c
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2005-07-19 05:03:12 +00:00
Howard Chu
c8bffb5584
Fix bdb_tool_dn2id_get() - nobody should be calling bdb_dn2id() directly,
...
always call through the cache instead - bdb_cache_find_ndn().
2005-07-19 02:12:34 +00:00
Luke Howard
c09550766b
Fix another crasher if parent is NULL
2005-07-19 01:37:48 +00:00
Luke Howard
da758bb150
Fix crasher in hdb_dn2id() when parent is NULL
2005-07-19 01:32:29 +00:00
Pierangelo Masarati
54a0c02c3d
implement per-target, per-operation timeouts
2005-07-19 00:43:38 +00:00
Pierangelo Masarati
1100973301
trim unused (wrong) code
2005-07-19 00:30:34 +00:00
Pierangelo Masarati
51346cfa68
fix ITS#3862
2005-07-18 21:32:31 +00:00
Luke Howard
ee2c377d08
Fix for previous commit
2005-07-18 14:11:55 +00:00
Luke Howard
cfbb52459b
Fix pointer error
2005-07-18 14:09:47 +00:00
Hallvard Furuseth
965c270cbb
Fix format arg to "overlay...configuration failed" message
2005-07-18 08:30:33 +00:00
Hallvard Furuseth
df0e227201
Remove spurious snprintf(..., "<%s> cannot be deleted") lacking a format arg
2005-07-18 08:28:25 +00:00
Hallvard Furuseth
2b70a083e6
Delete unused variable.
2005-07-18 06:30:47 +00:00
Hallvard Furuseth
03c85cc68d
send_ldap_controls() returns int, so fix return LBER_ERROR to -1.
2005-07-18 06:28:28 +00:00
Hallvard Furuseth
81ecb0b153
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2005-07-18 06:22:33 +00:00
Hallvard Furuseth
c2b65937fe
Fix cast in BDB_ID2DISK(): unsigned char *_p ... = (char *)...;
2005-07-18 05:58:43 +00:00
Hallvard Furuseth
ae3ef7b3cd
Make ConfigArgs.lineno int like elsewhere instead of unsigned long
2005-07-18 05:48:21 +00:00
Hallvard Furuseth
8adef9eec8
Delete unused variables
2005-07-18 05:34:04 +00:00
Hallvard Furuseth
f43a823c73
Add missing "static" for functions declared static but defined non-static
2005-07-18 05:14:41 +00:00
Hallvard Furuseth
11ab0b655e
strip_cav_tag() should return ber_tag_t, not int
2005-07-18 05:11:11 +00:00
Hallvard Furuseth
64e9d0e58f
#include <ldif.h> for ldif_must_b64_encode_*()
2005-07-18 05:08:57 +00:00
Pierangelo Masarati
ea5952342c
fix some unclean unlock issues; fix potential leaks
2005-07-17 22:19:20 +00:00
Pierangelo Masarati
27eeb15fda
fix generated connection entries
2005-07-17 22:18:45 +00:00
Hallvard Furuseth
ec4d6d0d69
Remove spurious printf argument
2005-07-17 12:17:54 +00:00
Hallvard Furuseth
ecef4972fe
rc in glue_tool_entry_put() is an int, not NOID (unsigned long).
2005-07-17 12:14:42 +00:00
Hallvard Furuseth
ca615a4b3a
bvlist *list was updated through the wrong type.
2005-07-17 12:08:32 +00:00
Hallvard Furuseth
0cc537e6f1
Declare ldap_back_init_cf().
2005-07-17 12:06:09 +00:00
Hallvard Furuseth
98a303fca9
Remove spurious fprintf arguments
2005-07-17 11:55:34 +00:00
Pierangelo Masarati
03b6a692aa
trim (long ago) unused files
2005-07-16 16:06:34 +00:00
Pierangelo Masarati
1e5334eb80
mark leak
2005-07-16 15:41:39 +00:00
Pierangelo Masarati
7fb778e522
fix leak
2005-07-16 15:40:14 +00:00
Pierangelo Masarati
7236c4b223
improve diagnostics when configuring suffix for special databases
2005-07-15 16:21:15 +00:00
Howard Chu
f8173c6e8a
ITS#3841 fix test in rev 1.220
2005-07-15 01:17:35 +00:00
Pierangelo Masarati
5cb994ad36
fix memory leak (ITS#3862)
2005-07-15 01:08:34 +00:00
Hallvard Furuseth
885c73d02f
struct slab_heap *sh was accessed through the wrong type
2005-07-14 21:57:25 +00:00
Hallvard Furuseth
0d06b7334e
Make ebuf/ecur char* instead of unsigned char* (which they are never used as)
2005-07-14 21:02:59 +00:00
Hallvard Furuseth
d6cc947561
Silence "unused <something>" warnings
2005-07-14 19:52:08 +00:00
Hallvard Furuseth
8dddff803e
Silence "unused variable" warning
2005-07-14 19:35:09 +00:00
Hallvard Furuseth
7ab3d2c245
Silence warnings
2005-07-14 19:32:21 +00:00
Hallvard Furuseth
3fd6f18d25
Silence "unused static function" warning
2005-07-14 19:20:52 +00:00
Hallvard Furuseth
d449c9d08b
Silence "unused variable" warnings
2005-07-14 19:18:55 +00:00
Pierangelo Masarati
395207029b
need a regular file (ITS#3865)
2005-07-14 18:03:29 +00:00
Hallvard Furuseth
ae385b3af0
Silence "empty statement" warnings
2005-07-14 03:06:58 +00:00
Pierangelo Masarati
684860502e
should address ITS#3861
2005-07-13 17:43:30 +00:00
Howard Chu
675b19dce6
Fix loglevel to accept negative integers
2005-07-12 14:25:15 +00:00
Howard Chu
08ec8ad068
Fix SLAP_SOCK_IS_MUTE typo
2005-07-12 14:19:57 +00:00
Howard Chu
0b93bfc4f3
ITS#3854 fix Modify logging, add handlers for unrecognized ops.
2005-07-12 14:00:01 +00:00
Howard Chu
fbbfac6771
ITS#3857 fix bottom-up modrdn cascades, use a global modrdn counter.
2005-07-12 13:17:56 +00:00
Kurt Zeilenga
8d365728fc
Schema cleanup
2005-07-11 19:20:36 +00:00
Hallvard Furuseth
d5685734d2
retcode_op_func(): Fix uninitialized variable 'ref':
...
Under rs->sr_err == LDAP_REFERRAL, return LDAP_OTHER "bad referral
object" if both rdi->rdi_ref and default_referral are NULL.
2005-07-11 19:09:30 +00:00
Hallvard Furuseth
62b653fa85
Declare component matching functions
2005-07-11 19:06:10 +00:00
Hallvard Furuseth
da1c57ff3e
Add missing function declarations in config.h
2005-07-11 19:03:27 +00:00
Hallvard Furuseth
ba5305eea4
fp_parse_line():
...
* More slapd.conf-keywords with passwords to log as "<keyword> ***":
"syncrepl" (in slapd), "acl-bind", "acl-method", "idassert-bind"
(in back-ldap), "acl-passwd" (in back-<ldap/meta>).
* When no tokens, i = -1 initialization caused out-of-bounds access.
* Handle initial argc == argv_size (e.g. 0).
2005-07-11 18:56:50 +00:00
Howard Chu
0f2f4f3196
ITS#3841 skip db_close if db_open was never called
2005-07-11 17:12:43 +00:00
Howard Chu
5d2ba11ad9
ITS#3847 silence warnings
2005-07-11 12:11:15 +00:00
Howard Chu
3d6fb19006
ITS#3824 remove env after slapadd/slapindex -q
2005-07-11 10:27:59 +00:00
Hallvard Furuseth
26ea01e67e
goto loop_begin; skipped initialization of scopeok.
2005-07-10 16:14:28 +00:00
Hallvard Furuseth
ac7513155b
fbuf in syncprov_findcsn() got used before it was fully filled in
2005-07-10 10:20:21 +00:00
Howard Chu
b131aab00e
Streamline call to lutil_passwd_scheme
2005-07-08 06:05:02 +00:00
Howard Chu
46fab05997
ITS#3846 don't give hashed passwords to SASL, it only wants cleartext.
2005-07-08 06:02:00 +00:00
Howard Chu
532da5699c
ITS#3844 fix typo
2005-07-08 04:57:17 +00:00
Hallvard Furuseth
b1f5e9258a
Complete the replacement of LDAP_CONTROL_X_TREE_DELETE with
...
SLAP_CONTROL_X_TREE_DELETE, which is only defiend when LDAP_DEVEL.
back-sql triggered an assert(0): It expected the control to be supported.
2005-07-07 20:36:37 +00:00
Howard Chu
d518a76b35
ITS#3844 fix slap_operational_subschemaSubentry
2005-07-07 17:39:29 +00:00
Howard Chu
00dae75f7b
ITS#3842 from jtownsend@opendarwin.org - don't free slap_listeners until
...
after connection_shutdown().
2005-07-07 04:21:53 +00:00
Howard Chu
11a1349366
ITS#3843 from jtownsend@opendarwin.org: hide index_attrs / index_dummy
2005-07-07 03:51:43 +00:00
Hallvard Furuseth
f841c364eb
Format fixes (%d<->%lu etc)
2005-07-06 05:53:02 +00:00
Pierangelo Masarati
61312e7989
fix ITS#3834
2005-07-05 12:05:47 +00:00
Pierangelo Masarati
deec44b89a
fix further ITS#3830 issues; allow to specify a matching rule for non-DN match
2005-07-05 12:00:14 +00:00
Ralf Haferkamp
54fa643a9b
fix previous commit (check for co_type==Cft_Overlay before calling
...
overlay_destroy_one)
2005-07-05 11:46:55 +00:00
Ralf Haferkamp
7027609818
Destroy Backend/Overlay after an error happend during one of the
...
config_parse_add() calls, as backend_db_init() might have been called.
2005-07-05 11:17:25 +00:00
Howard Chu
3232686cc1
ITS#3833 assume environment was already recovered by an external action
...
if it's missing, just succeed in this case.
2005-07-05 02:40:01 +00:00
Pierangelo Masarati
754a059951
fix concurrency issues
2005-07-04 22:41:54 +00:00
Pierangelo Masarati
681a547e13
fix potential deadlock
2005-07-04 22:41:27 +00:00
Pierangelo Masarati
a0d8a981ac
address ITS#3831 (mostly code readability)
2005-07-04 16:34:42 +00:00
Hallvard Furuseth
a1e27aae40
Format fix: Make style_strings[] global for debug output in dynacl_aci_parse()
2005-07-04 06:25:02 +00:00
Hallvard Furuseth
40c91251e6
Debug output: printed soc_cname, should be soc_cname.bv_val
2005-07-04 06:05:04 +00:00
Hallvard Furuseth
430fdb7a1c
isspace() needs <ac/ctype.h>
2005-07-04 05:56:45 +00:00
Hallvard Furuseth
8a696d21b2
Format fixes (%d<->%lu etc)
2005-07-04 05:29:12 +00:00
Hallvard Furuseth
e35ffd471b
Cast away const
2005-07-04 05:24:00 +00:00
Hallvard Furuseth
b746066b9b
Let bdb_attr_index_unparser() return int (0) instead of void; the return
...
value of an AVL_APPLY function is significant.
2005-07-04 05:21:39 +00:00
Hallvard Furuseth
cc0d91716e
Don't do pointer arithmetic on void*
2005-07-04 05:18:01 +00:00
Pierangelo Masarati
9146b262ad
fix potential deadlock; first round of refcnt for connections
2005-07-03 23:28:35 +00:00
Pierangelo Masarati
982981d465
fix potential deadlock; improve idassert in case of authzFrom rules (new flag values); rootdn can always idassert
2005-07-03 23:27:56 +00:00
Howard Chu
9c246fce39
ITS#3830, fix val-specific ACLs
2005-07-03 01:51:35 +00:00
Howard Chu
7cb7bc3341
ITS#3829 fix attributeoptions parse order
2005-07-02 10:54:09 +00:00
Pierangelo Masarati
d576364089
more checks (ITS#3817)
2005-07-01 09:53:20 +00:00
Pierangelo Masarati
b42207d048
don't use missing hooks (ITS#3817)
2005-07-01 09:25:55 +00:00
Howard Chu
b3655504a7
Tweak prev commit
2005-07-01 02:18:10 +00:00
Howard Chu
17a4215256
ITS#3815 fix olcDbConfig parsing
2005-07-01 02:08:14 +00:00
Howard Chu
9ec474db25
ITS#3793 don't init thread pool in tool mode
2005-07-01 01:36:49 +00:00
Howard Chu
21e49339b7
ITS#3820 fix olcReadOnly check
2005-07-01 00:20:54 +00:00
Howard Chu
c384e2ed13
HDB needs its own config objectclass to avoid confusion when parsing the
...
config db
2005-07-01 00:17:51 +00:00
Howard Chu
4a107089d8
ITS#3818 fix index_substr_any_step keyword
2005-06-30 23:24:48 +00:00
Howard Chu
6236574efc
ITS#3456 better fix, use a child thread.
2005-06-30 04:06:40 +00:00
Howard Chu
0e00a1af79
ITS#3456 - omit FIND_MAXCSN call from syncprov_db_open. Will probably
...
delete all associated code soon; since the maxcsn will be updated as
soon as any write op occurs, it's no big deal for this to be out of date.
Also, since the maxcsn will get checkpointed on close, it will only get
out of date on an actual slapd crash, which is hopefully too rare to
worry about.
2005-06-30 03:42:51 +00:00
Pierangelo Masarati
1aaa18b180
more on ITS#3808
2005-06-29 18:16:29 +00:00
Pierangelo Masarati
9e811df052
seems to definitely fix issues related to ITS#3808
2005-06-29 16:38:09 +00:00
Pierangelo Masarati
cbe9c74675
return LDAP_SUCCESS if Start TLS failed but was not critical
2005-06-29 12:38:18 +00:00
Pierangelo Masarati
5ae22791ab
hardcode normalized instead of funky DN form
2005-06-29 12:37:28 +00:00
Pierangelo Masarati
671b02f748
more on ITS#3808
2005-06-29 12:28:40 +00:00
Pierangelo Masarati
196af0e056
(partial?) fix ITS#3808
2005-06-29 11:44:11 +00:00
Pierangelo Masarati
ba0f3112c4
add "matchedDN" field when appropriate
2005-06-28 23:22:48 +00:00
Pierangelo Masarati
904d86a28a
better fix to ITS#3806
2005-06-28 22:06:24 +00:00
Pierangelo Masarati
7df9b6f5a8
fix spaces in DN-valued attrs (ITS#3806)
2005-06-28 19:23:46 +00:00
Pierangelo Masarati
b00f3fa77f
fix ITS#3805
2005-06-28 15:58:33 +00:00
Howard Chu
52165180f7
ITS#3796 fix IDL cache lock setup/teardown
2005-06-28 00:43:41 +00:00
Pierangelo Masarati
297c7933b1
add "onerr" flag
2005-06-25 15:13:44 +00:00
Pierangelo Masarati
aa16988d3c
don't try to lookup the rootdn; handle errors separately
2005-06-25 15:05:02 +00:00
Howard Chu
7b245a0a55
Fix entry writing, truncate file if rewriting.
2005-06-25 14:15:11 +00:00
Kurt Zeilenga
e3c59d222c
Rework substring error checking
2005-06-21 00:38:55 +00:00
Pierangelo Masarati
f7541b5e8d
cleanup
2005-06-19 22:43:45 +00:00
Pierangelo Masarati
fddeed7903
add support for connection_init/destroy and retcode overlay
2005-06-19 22:42:12 +00:00
Pierangelo Masarati
9f2faed566
add support for connection_init/destroy
2005-06-19 22:41:49 +00:00
Pierangelo Masarati
b836fc3ea2
first round of provisions for back-config
2005-06-19 22:41:12 +00:00
Pierangelo Masarati
f86daac8c8
import retcode overlay
2005-06-19 22:39:44 +00:00
Pierangelo Masarati
3172222266
cleanup of previous commit
2005-06-18 18:59:04 +00:00
Pierangelo Masarati
595d41b421
cleanup
2005-06-18 18:57:46 +00:00
Howard Chu
143635437a
ITS#3549 don't queue Unbind requests
2005-06-18 09:06:12 +00:00
Pierangelo Masarati
2abaf7bf66
fix ITS#3788: don't free slapo-rwm callback, rather reuse it
2005-06-16 23:08:23 +00:00
Pierangelo Masarati
789717fee5
fix ITS#3784
2005-06-16 20:01:41 +00:00
Pierangelo Masarati
c7c572f883
fix ITS#3785: do our best to deal with invalid filters...
2005-06-16 19:27:03 +00:00
Pierangelo Masarati
7fdcd2ec60
fix ITS#3785: do our best to deal with invalid filters...
2005-06-16 19:19:11 +00:00
Kurt Zeilenga
b703938d61
symbol rename for AIX (ITS#3787)
2005-06-16 19:17:38 +00:00
Luke Howard
f90800667d
Fix OpenLDAP ITS#3782 - broken logic in bitwise matching rules
2005-06-16 05:31:24 +00:00
Howard Chu
b6aa697000
ITS#3779 fix pwdLockoutDuration handling
2005-06-15 21:21:12 +00:00
Ralf Haferkamp
f9fb5e63f4
silence warning
2005-06-15 18:00:49 +00:00
Howard Chu
60339c7f77
ITS#3777 fix scheme comparison
2005-06-15 03:06:48 +00:00
Howard Chu
4667a44ae6
Fix typo in prev commit
2005-06-13 23:57:30 +00:00
Howard Chu
f84fc983fd
ITS#3774 delete backend/overlay structures after a failed add
2005-06-13 22:49:01 +00:00
Pierangelo Masarati
ba8b6bbd88
add delete stuff to all attributes (needed to deelete with "fail_if_no_mapping yes"); passes write test(s)
2005-06-13 22:13:10 +00:00
Pierangelo Masarati
acf5187b2e
rework assertion
2005-06-13 22:12:11 +00:00
Pierangelo Masarati
495106c213
fix potential SIGSEGV when backsql_modify_delete_all_values() is used outside backsql_add()
2005-06-13 22:11:41 +00:00
Howard Chu
a4d2c63a61
ITS#3773 additional fix
2005-06-13 21:25:51 +00:00
Howard Chu
6cacc7fb5d
ITS#3773 fix RDN comparison
2005-06-13 21:21:27 +00:00
Pierangelo Masarati
e12c4ca230
preemptive time limit check in proxy backends
2005-06-13 19:14:40 +00:00
Howard Chu
63f6e91a97
ITS#3772 fix dependencies for static overlays
2005-06-13 10:24:39 +00:00
Howard Chu
2cc3190c62
ITS#3770 lockf can return either EACCES or EAGAIN
2005-06-11 19:32:03 +00:00
Howard Chu
117b686da4
ITS#3765 don't allocate cache for empty IDLs
2005-06-11 19:12:49 +00:00
Howard Chu
22b9f5f595
Converted openldap.schema to .ldif, added explanatory text
2005-06-11 00:54:32 +00:00
Howard Chu
0dc29f4dd4
Fix prev commit
2005-06-11 00:53:28 +00:00
Howard Chu
4f28194820
Fix modload/modpath, allow either/both to be empty
2005-06-11 00:47:12 +00:00
Howard Chu
8fe7576158
ITS#3764 add signal handlers so slapcat will cleanup if interrupted.
...
(Just slapcat for now, other tools don't seem to be critical.)
2005-06-10 20:14:32 +00:00
Howard Chu
cd15432de6
More accesslog updates
2005-06-10 11:41:57 +00:00
Howard Chu
257be58eb6
In-directory logging overlay
2005-06-10 09:18:01 +00:00
Howard Chu
62b81c9632
More for prev commit - break from mask_to_verbs when mask has gone to zero
2005-06-09 23:39:18 +00:00
Howard Chu
e42e8d7130
Add op->o_tincr to distinguish ops with same op->o_time. (We should
...
be preparing to use timestamps with sub-second resolution, really.)
2005-06-09 22:56:35 +00:00
Howard Chu
0658ff91b7
Tweak mask_to_verbs for multiple-bit masks
2005-06-09 22:55:21 +00:00
Howard Chu
884ebf9142
Fix prev commit - slapdn should not start any databases
2005-06-09 20:09:15 +00:00
Howard Chu
2c8b0f7a49
ITS#3621 slaptest should start databases when dryrun is not specified
2005-06-09 19:27:35 +00:00
Howard Chu
782d767c33
ITS#3763 fix typo in slap_timestamp
2005-06-09 18:59:54 +00:00
Pierangelo Masarati
91bdea2817
use "pgsql" instead of "postgres" for consistency with the directory names in servers/slapd/back-sql/rdbms_depend
2005-06-09 11:03:06 +00:00
Pierangelo Masarati
94747a8489
fix previous commit; document aliasing and aliasing quotes configuration
2005-06-09 09:45:02 +00:00
Pierangelo Masarati
e52d5cb812
make aliasing and aliasing quotes configurable
2005-06-09 09:43:20 +00:00
Howard Chu
58e8817fc1
ITS#3760 don't select on uninit'd writefds
2005-06-09 08:19:05 +00:00
Howard Chu
caefdf007c
Fix dynamic modload, make sure to use correct modulepath.
2005-06-09 07:15:49 +00:00
Howard Chu
21b8be393a
Add slap_timestamp(), use mutex in slap_get_csn()
2005-06-07 04:12:14 +00:00
Howard Chu
3bae4b4acb
ITS#3691 import auditlog overlay
2005-06-07 03:03:18 +00:00
Pierangelo Masarati
ea85bcadfc
remove #defines moved to frontend
2005-06-05 22:58:18 +00:00
Howard Chu
8f58409749
Add SLAP_MOD_INTERNAL flag to Modifications, allow internal ops to bypass
...
ACL checks when modifying user-modifiable attributes as non-root user.
2005-06-04 09:44:39 +00:00
Kurt Zeilenga
43ffb3f235
Fix -ULDAP_DEVEL build
2005-06-03 22:13:27 +00:00
Kurt Zeilenga
da9732a766
fix -ULDAP_DEVEL compile
2005-06-03 21:52:54 +00:00
Kurt Zeilenga
8ef743309b
Place manageDIT behind LDAP_DEVEL (not for initial 2.3 release)
2005-06-03 20:54:06 +00:00
Kurt Zeilenga
8297b0b9df
ITS:3749: Extend manageDIT support to LDBM.
2005-06-03 17:24:31 +00:00
Howard Chu
ef3989aba8
ITS#3748 fix startup of newly added databases and overlays
2005-06-03 08:26:55 +00:00
Pierangelo Masarati
4d58c2f39f
fix previous commit
2005-06-01 19:36:58 +00:00
Pierangelo Masarati
3751f0325d
work around syncprov interoperation issues; minor cleanup
2005-06-01 19:35:13 +00:00
Pierangelo Masarati
6434721e42
fix improper use of "fail_if_no_mapping" flag: fail in case of error, don't fail only if mapping is not present
2005-06-01 16:51:36 +00:00
Pierangelo Masarati
4914ea313d
fix ITS#3753
2005-05-30 14:49:47 +00:00
Pierangelo Masarati
36c5fe1991
don't leave dangling pointers; pass entry when sending referrals
2005-05-30 12:37:24 +00:00
Pierangelo Masarati
b30b82a65a
do not return spurious result codes
2005-05-30 12:36:21 +00:00
Pierangelo Masarati
00c6709896
expose macro(s) to produce string representations of arbitrary precision counters
2005-05-28 14:30:43 +00:00
Howard Chu
b6d515330c
ITS#3748 do necessary startup when adding databases online
2005-05-26 09:43:39 +00:00
Pierangelo Masarati
47daec07d5
fix previous commit :)
2005-05-25 12:05:39 +00:00
Pierangelo Masarati
1b9c9577c2
invalidate cached connections if URI changed
2005-05-25 11:54:19 +00:00
Howard Chu
d7745c17d4
Use "pcache" to invoke the overlay instead of "proxycache"
2005-05-24 17:13:37 +00:00
Howard Chu
5f5356567e
ITS#3747 move subschemasubentry attr initialization
2005-05-24 17:06:33 +00:00
Pierangelo Masarati
2f0d712492
exit on error
2005-05-23 21:59:14 +00:00
Pierangelo Masarati
3a9fd69747
handle "dn=*" <what> clause
2005-05-23 20:29:01 +00:00
Pierangelo Masarati
672c39024e
further fixing of back-ldap config; added enum_to_verb call to ease mapping enumerations to strings...
2005-05-23 14:14:34 +00:00
Howard Chu
bf110af723
Fix slap_verbmask
2005-05-23 12:56:14 +00:00
Pierangelo Masarati
fc148e8e54
fix interaction with table-driven config of back-ldap (please review)
2005-05-23 07:25:45 +00:00
Pierangelo Masarati
a7f44159c1
complete back-config support, including chain overlay; passes all tests; HEADS-UP: few syntax changes (essentially backwards compatible)
2005-05-23 07:25:00 +00:00
Pierangelo Masarati
0873f03b39
don't unparse starttls field in slap_bindconf if default
2005-05-23 07:23:46 +00:00
Pierangelo Masarati
e73e9ddd7c
allow LDAP_AUTH_NONE
2005-05-23 07:22:32 +00:00
Pierangelo Masarati
c573fe70fb
authid-rewrite*: fix parsing, rework unparsing
2005-05-23 07:21:58 +00:00
Pierangelo Masarati
950c9a78a1
try to propagate cf info; required, e.g. by translucent overlay and more (please review)
2005-05-23 07:20:49 +00:00
Pierangelo Masarati
da2a26d19f
first round of back-config support; need to #define LDAP_BACK_BCONFIG; no support for rewrite and so, still stuff to fix. Doesn't pass most of the tests
2005-05-21 19:07:14 +00:00
Pierangelo Masarati
8ff019ad83
minor cleanup
2005-05-21 15:01:44 +00:00
Pierangelo Masarati
f505aec4bc
publish updateref...
2005-05-21 14:54:11 +00:00
Pierangelo Masarati
be53e82650
fix entry DN free
2005-05-21 14:53:05 +00:00
Pierangelo Masarati
546cba035c
add comment on slap_dummy_bv
2005-05-21 14:51:37 +00:00
Pierangelo Masarati
58abc661f6
"restrict" is a c99 keyword (ITS#3739)
2005-05-21 00:15:16 +00:00
Pierangelo Masarati
e799b27eed
ISO C forbids zero-size array (ITS#3739)
2005-05-21 00:08:28 +00:00
Pierangelo Masarati
7b0d820ce5
minor cleanup
2005-05-20 23:36:23 +00:00
Pierangelo Masarati
5f361f31b3
initialize AttributeName structures; allow '*' attribute set (related to ITS#3741)
2005-05-20 23:27:42 +00:00
Howard Chu
3801ba6435
ITS#3731 catch another BDB error leaking out to the frontend
2005-05-18 04:41:24 +00:00
Kurt Zeilenga
872b0a09fd
ITS#3725 fix
2005-05-14 18:52:15 +00:00
Kurt Zeilenga
812efa5723
Allow no-user-modification attributes to be managed.
...
Need to fix the slap_mods_opattrs() clobber.
2005-05-14 06:40:50 +00:00
Kurt Zeilenga
18c3f9e093
Add manage obsolete attributes capability.
2005-05-13 23:51:43 +00:00
Kurt Zeilenga
31727f0f4d
Additional manageDIT changes.
...
Now require be_isroot() instead of "manage".
2005-05-13 21:09:26 +00:00
Pierangelo Masarati
d508114a9e
improve fix
2005-05-13 20:27:12 +00:00
Pierangelo Masarati
6868323e17
fix ACL_PRIV_MASK for manage
2005-05-13 19:29:38 +00:00
Pierangelo Masarati
6bd4ef7667
fix cleanup in case of error
2005-05-13 19:08:41 +00:00
Kurt Zeilenga
feeeabcd68
manageDIT framework and obsolete objectclasses/DIT-content-rule override
2005-05-13 19:07:31 +00:00
Kurt Zeilenga
002f7ca062
finish global_schemacheck removal
2005-05-13 17:35:36 +00:00
Pierangelo Masarati
46387a12a9
fix sizelimit interaction with glue overlay (ITS#3724)
2005-05-13 13:10:33 +00:00
Howard Chu
dfaffea154
LDIF include must use a file URL
2005-05-13 09:56:17 +00:00
Pierangelo Masarati
96773427db
don't bother about slap_dummy_bv
2005-05-13 09:06:28 +00:00
Pierangelo Masarati
cf31d48665
don't free officially dummy values
2005-05-13 08:50:10 +00:00
Kurt Zeilenga
d1143204b2
Add parsing for manageDIT control.
2005-05-13 08:22:08 +00:00
Kurt Zeilenga
2544a320b9
extend manageDIT test cases (now just need to find time
...
to implement this)
2005-05-13 06:43:06 +00:00
Kurt Zeilenga
cfb3f81582
Control cleanup
2005-05-13 02:34:16 +00:00
Howard Chu
55585110bf
ITS#3608 - ignore unavailable non-critical controls
2005-05-13 01:35:20 +00:00
Howard Chu
bfe9ba5b0b
Fix parseSearchOptions
2005-05-13 01:33:22 +00:00
Howard Chu
8223663865
Fix typo
2005-05-12 23:38:59 +00:00
Pierangelo Masarati
c4cfe03619
fix sizelimit bug (ITS#3720)
2005-05-12 22:37:56 +00:00
Howard Chu
25877b0d23
Sample LDIF slapd configuration
2005-05-12 03:53:02 +00:00
Howard Chu
70ebcc6305
core.schema converted to LDIF
2005-05-12 03:31:52 +00:00
Howard Chu
923bea9e14
Fix attribute sorting
2005-05-12 03:24:49 +00:00
Howard Chu
37ed2af7e7
Fix for slapadd'ing a config db
2005-05-12 03:24:34 +00:00
Howard Chu
c225c4af34
Updated ldif_read_record to support LDIF include: directive
2005-05-12 00:46:39 +00:00
Pierangelo Masarati
3ce45e11bb
fix and strengthen the structural objectClass test
2005-05-12 00:43:29 +00:00
Pierangelo Masarati
740835dff9
remove global_schemacheck
2005-05-12 00:03:50 +00:00
Kurt Zeilenga
bb49be254a
Never publish:
...
supportedLDAPversion: 2
2005-05-11 22:40:50 +00:00
Kurt Zeilenga
c83f7539ae
Mostly remove global_schemacheck. More cleanup needed in
...
bconfig.c and back-sql.
2005-05-11 22:24:18 +00:00
Howard Chu
376537f3d7
ITS#3577 Make librewrite shared - > liblrewrite.la
2005-05-11 10:18:27 +00:00
Pierangelo Masarati
1c8a9fdbeb
remove cruft
2005-05-11 08:41:35 +00:00
Pierangelo Masarati
f9e17b539a
remove obsolete tests
2005-05-11 08:39:39 +00:00
Howard Chu
c79ecbb390
Add LDAP_DEBUG_SYNC loglevel
2005-05-10 20:42:39 +00:00
Howard Chu
e165806e25
Fix typo, use dn.base instead of dn.exact in unparse
2005-05-10 01:16:21 +00:00
Howard Chu
f19a4ea9ec
More value ACL style tweaks
2005-05-10 00:51:28 +00:00
Howard Chu
29a37854bf
Fix acl_unparse - add missing style specifiers
2005-05-10 00:32:43 +00:00
Kurt Zeilenga
ccbf18b7d0
Don't split description across multiple values.
2005-05-09 19:07:42 +00:00
Howard Chu
f2e62ea04c
Fix (temporary) crash on ldbm
2005-05-09 11:20:24 +00:00
Howard Chu
b8bfb044d1
Add comments for config_overlay
2005-05-09 10:41:05 +00:00
Howard Chu
1d283c2154
More fixes for overlay support. Converted pcache to config table.
2005-05-09 10:33:43 +00:00
Howard Chu
cfccf68bf6
Fix debug msg
2005-05-09 10:33:01 +00:00
Pierangelo Masarati
fd52d607b0
don't compare freed pointers (no harm)
2005-05-09 09:32:44 +00:00
Howard Chu
41127de6bf
Fix prev commit, extra objectclass table
2005-05-09 05:14:59 +00:00
Howard Chu
048a36a60f
Fix prev commit, trim unused cfOC vars
2005-05-09 05:02:23 +00:00
Howard Chu
bd63507868
Table-driven config
2005-05-09 05:02:01 +00:00
Howard Chu
ee59484f7b
Restructured to allow miscellaneous Adds under database/overlay objects
2005-05-09 03:42:51 +00:00
Howard Chu
f8bba201f4
More for error propagation
2005-05-09 01:20:03 +00:00
Howard Chu
179032ffe2
Explicitly set LTONLY_MOD for shared overlays
2005-05-09 00:13:47 +00:00
Howard Chu
a1570f9185
NUL at end of entry not needed any more
2005-05-08 01:12:01 +00:00
Howard Chu
086ab17a8b
Delete unused entry_lenlen code
2005-05-08 00:52:24 +00:00
Howard Chu
a740c83208
Macro fix, again
2005-05-08 00:47:14 +00:00
Howard Chu
b5ed840a17
Fix bad macro interaction in prev commit
2005-05-08 00:45:58 +00:00
Howard Chu
f597e7651b
Simplify static build
2005-05-07 23:14:57 +00:00
Pierangelo Masarati
e6e80d00f1
don't leave consts around
2005-05-07 10:52:05 +00:00
Howard Chu
f82e2cbf39
Make entry_encode/decode independent of slapd structure sizes
2005-05-06 21:24:49 +00:00
Pierangelo Masarati
54de0cbffc
use appropriate log level if bailing out; need to use Debug() instead fprintf( stderr ) in many places...
2005-05-06 20:36:59 +00:00
Howard Chu
6d7b27fcca
Propagate config errors back to caller.
2005-05-06 20:20:45 +00:00
Pierangelo Masarati
dde3f1ad3f
cleanup ident string
2005-05-06 17:11:40 +00:00
Pierangelo Masarati
d23243a507
more on strict config parsing (ITS#3705)
2005-05-06 16:42:03 +00:00
Pierangelo Masarati
5ad7133202
add support for "subordinate" scope
2005-05-06 10:21:00 +00:00
Howard Chu
f101ea70cc
Fix prev commit
2005-05-06 09:52:42 +00:00
Howard Chu
6b47c11e2f
Fix undefined attributetype initializer
2005-05-06 09:47:18 +00:00
Howard Chu
26eee89841
ITS#3710 add missing space
2005-05-06 05:14:02 +00:00
Howard Chu
54eb6f539c
Remove redundant def
2005-05-06 01:45:44 +00:00
Howard Chu
c5b355bacb
Fix Windows export setup
2005-05-06 01:45:05 +00:00
Howard Chu
86b7448a47
More for ITS#3681
2005-05-06 00:39:25 +00:00
Howard Chu
f4a69f1e8a
Fix backends.o dependencies
2005-05-06 00:14:36 +00:00
Howard Chu
9b045fa734
Fix for WIN32 mkdir
2005-05-06 00:02:26 +00:00
Howard Chu
0079690f8f
ITS#3681 separate static from dynamic overlays
2005-05-05 22:57:19 +00:00
Howard Chu
345ba007b8
Must always accept "base" for ACL_STYLE_BASE since that is always how
...
it gets unparsed.
2005-05-05 21:47:40 +00:00
Howard Chu
4107187ecc
Fix global entry setup
2005-05-05 20:55:35 +00:00
Kurt Zeilenga
43dba4fd45
Wrap w in WAKE_LISTENER
2005-05-05 20:39:58 +00:00
Kurt Zeilenga
b9139ebf07
Increase listen() backlog to 1024, allow compile time override
2005-05-05 19:41:12 +00:00
Pierangelo Masarati
1001d062d3
consistently rename function
2005-05-05 18:11:35 +00:00
Pierangelo Masarati
a215fdea66
a bit more reworking and streamline; the change to the LAST_CONN test seems to eliminate the last LDAP_BUSY problems on the only machine that was showing it yet; please test
2005-05-05 17:34:11 +00:00
Pierangelo Masarati
8ad34dc76b
fix previous commit: don't loop on undefined; return success with no data in case of undefined filter
2005-05-05 12:01:12 +00:00
Pierangelo Masarati
7f61a2739a
fix support for absoluteFilters
2005-05-05 11:19:11 +00:00
Pierangelo Masarati
d30933af36
fix previous commit
2005-05-05 00:31:11 +00:00
Pierangelo Masarati
f0122ce3fc
move discover function to frontend
2005-05-05 00:22:43 +00:00
Pierangelo Masarati
c80eb34888
honor T-F filters (ITS#3706) and some cleanup
2005-05-05 00:07:17 +00:00
Pierangelo Masarati
4d9750afb5
honor T-F filters (ITS#3706) and lots of cleanup
2005-05-04 23:57:55 +00:00
Pierangelo Masarati
b8b0bb000b
honor T-F filters (ITS#3706)
2005-05-04 23:57:33 +00:00
Pierangelo Masarati
4199f4577a
if for any reason ldap_search_ext() fails (e.g. ITS#3706) don't wait for results
2005-05-04 23:16:56 +00:00
Pierangelo Masarati
87d7ca8957
ITS#3705: bailout if unknown config directive is found
2005-05-04 18:46:45 +00:00
Howard Chu
735ee711fe
ITS#3702 add tool entry points
2005-05-04 10:52:42 +00:00
Howard Chu
02f1ede034
ITS#3699, #3702 fix ldif_back_search to send entries immediately instead
...
of queueing them up.
2005-05-04 09:53:10 +00:00
Pierangelo Masarati
2c8829b8ca
add "monitorIsShadow" (ITS#3696); more to come (see discussion)
2005-05-04 09:27:22 +00:00
Howard Chu
1ac4df71c9
ITS#3703 skip checkpoint on close if ReadOnly mode
2005-05-04 06:41:39 +00:00
Howard Chu
6a2d53f396
In backend_group, return LDAP_COMPARE_FALSE if attr exists but value is
...
not matched, instead of LDAP_NO_SUCH_ATTRIBUTE
2005-05-04 06:28:27 +00:00
Pierangelo Masarati
642b788fb2
fix printing a NULL value (ITS#3698)
2005-05-03 23:42:28 +00:00
Pierangelo Masarati
a7b82686a8
fix SIGSEGV when default style is used for "val" (ITS#3700)
2005-05-03 12:13:16 +00:00
Howard Chu
d73fa98cf6
ITS#3699 fix dbconfig, limits schema flags
2005-05-03 09:44:46 +00:00
Howard Chu
9a1beb7fe4
unifdef SLAP_USE_CONFDIR
2005-05-01 20:57:32 +00:00
Howard Chu
cb686a5eb7
Fix config selection:
...
if -f but no -F, just read config file
if -f and -F, convert config file to config dir
else, try reading config dir
if no config dir, try config filE
2005-05-01 20:55:15 +00:00
Pierangelo Masarati
137e46059c
don't return client API error if the server is down...
2005-04-30 17:54:35 +00:00
Kurt Zeilenga
0ad446f014
ITS3693: fix of authPasswordSchemes for whom ever ends up implementing this
2005-04-30 05:43:09 +00:00
Kurt Zeilenga
efe91e52f4
Move $STRIP to top.mk, expand use.
2005-04-30 03:48:25 +00:00
Howard Chu
43cd22a639
Fix ITS#3695 preserve stack alignment in slap_sl_realloc
2005-04-30 01:15:10 +00:00
Pierangelo Masarati
8045a0882e
anticipate monitor schema definition
2005-04-29 20:29:59 +00:00
Pierangelo Masarati
8d41d6d927
hardcode "description" and "seeAlso"
2005-04-29 20:29:29 +00:00
Pierangelo Masarati
0714716a3d
sanity check
2005-04-29 20:28:35 +00:00
Pierangelo Masarati
50f3fe14db
perform internal operations as rootdn, if any
2005-04-29 01:42:24 +00:00
Howard Chu
e3703bfaab
Propagate Abandon to allow cleanup callbacks to run
2005-04-28 18:50:24 +00:00
Howard Chu
b33098b962
Propagate SLAPD_ABANDON results to to allow cleanup callbacks to run
2005-04-28 18:49:24 +00:00
Howard Chu
b45a912070
Check for abandon during transaction retry
2005-04-28 18:45:31 +00:00
Howard Chu
3a42760472
ITS#3671 more abandon/error checks
2005-04-28 18:36:47 +00:00
Howard Chu
0f4a5f7445
ITS#3671 must release conn->c_mutex to allow blocked writers to exit
2005-04-28 18:36:08 +00:00
Howard Chu
df22b333a5
Mroe abandon checks for ITS#3671
2005-04-28 16:45:52 +00:00
Howard Chu
67c68bab9c
More for ITS#3671, check for Abandon before replaying queued events
2005-04-28 16:21:52 +00:00
Pierangelo Masarati
5697bed1f9
anticipate undefined symbols when compiling for 2.2
2005-04-28 11:03:22 +00:00
Pierangelo Masarati
cb291bb940
refactor ABI for arbitrary attribute/entry/callback registration; propagate pointers to Operation and SlapReply structures to entry create/update/modify callbacks; cleanup
2005-04-27 21:30:35 +00:00
Pierangelo Masarati
fee10862c3
fix attributeType DESC; #ifdef the legacy monitoredInfo
2005-04-27 18:33:22 +00:00
Pierangelo Masarati
27adc4b1a3
explode connection monitored info into dedicated attributes
2005-04-27 17:51:54 +00:00
Howard Chu
080586f482
ITS#3688 don't sort range IDLs!
2005-04-27 17:29:30 +00:00
Pierangelo Masarati
145221472e
cleanup entity registration
2005-04-27 02:43:38 +00:00
Sang Seok Lim
ea0033e439
Misc bug fix: component matching
2005-04-27 00:25:30 +00:00
Pierangelo Masarati
58a358e7b2
more cleanup in handling timeouts in ldap_result()
2005-04-26 21:48:43 +00:00
Pierangelo Masarati
bb21f09d1f
use safe(r) default
2005-04-26 20:10:15 +00:00
Howard Chu
59de8333d0
Fix ppolicy libltdl usage on Win32
2005-04-26 12:54:24 +00:00
Pierangelo Masarati
6076695eb8
handle the null lud_dn case...
2005-04-26 10:34:37 +00:00
Pierangelo Masarati
6b035aac3e
work around the last issue: some times the result times out while the other party is not willing to send any response; give it a second chance
2005-04-26 10:02:19 +00:00
Howard Chu
842b5ce076
ITS#3682, dup entry and free the DB's copy before sending it
2005-04-26 02:01:19 +00:00
Howard Chu
c899848afb
Fix tool startup, don't start main backend twice
2005-04-26 00:46:00 +00:00
Pierangelo Masarati
1cc6b2ebe2
don't use temporaries
2005-04-26 00:33:43 +00:00
Pierangelo Masarati
06eef0c78d
reset candidates when intentionally abandoning; consistently handle referrals
2005-04-25 23:54:51 +00:00
Pierangelo Masarati
fa49a73fc4
fix retry; add per-target configurable number of retries; addresses ITS#3672, ITS#3676 & ITS#3680
2005-04-25 18:56:56 +00:00
Howard Chu
0ec5e2df77
Fix some return codes
2005-04-25 09:18:32 +00:00
Howard Chu
be99e9e758
More error reporting for clients
2005-04-25 08:44:52 +00:00
Howard Chu
5b1330a4b3
More modpath fixes
2005-04-25 05:45:53 +00:00
Howard Chu
75164fbe1c
ITS#3671 make sure to flush queue when able
2005-04-25 00:38:37 +00:00
Howard Chu
bae2f5f083
Fix modify deadlock
2005-04-25 00:07:26 +00:00
Howard Chu
acd1e2852a
Better fix for #3671
2005-04-24 23:20:15 +00:00
Howard Chu
895b74cb1d
ITS#3671 free all locks before calling send_search_*, queue entries if
...
the connection is busy. Probably need to set a queue limit here and
abandon the psearch if the limit is reached.
2005-04-24 22:55:21 +00:00
Howard Chu
b92387bb1c
ITS#3671 add REP_ENTRY_MUSTRELEASE flag, release the entry before
...
attempting to write the response on the network. (This should probably
be the default behavior anyway, since network hangs of this sort can
cause problems for any backend that has entry locks.)
2005-04-24 22:21:57 +00:00
Howard Chu
a6fb962984
Cleanup ModulePath handling
2005-04-23 17:56:25 +00:00
Howard Chu
afd3f7c5ec
Fix DB_CONFIG loading
2005-04-23 17:21:45 +00:00
Howard Chu
f01bb8d9ab
Tweak runqueue reporting
2005-04-23 16:58:38 +00:00
Howard Chu
173330187e
Tweak online_index task interval
2005-04-23 16:58:23 +00:00
Howard Chu
5639c07137
Add hdb symbols, make sure only one indexer runs
2005-04-23 16:16:54 +00:00
Howard Chu
e3b66a409d
ITS#3677 use LDAP_DEBUG_ANY when logging the shutdown reason
2005-04-23 15:55:26 +00:00
Howard Chu
cd1bdf99e2
Add task names to runqueue entries. Display running tasks under
...
cn=Runqueue,cn=Threads,cn=Monitor
2005-04-23 00:28:43 +00:00
Howard Chu
2d277bef3b
More for dynamic dbenv swapping
2005-04-22 23:02:01 +00:00
Pierangelo Masarati
41aad6e27f
more on error handling reworking; should address ITS#3672 and ITS#3676
2005-04-22 21:43:52 +00:00
Howard Chu
8d0fba2d97
Dynamic environment swapping
2005-04-22 21:35:45 +00:00
Howard Chu
cfc73a837b
Fix prev commit
2005-04-22 21:34:49 +00:00
Howard Chu
9754ccacfd
ITS#3607 use shared memory when configured
2005-04-22 21:18:59 +00:00
Howard Chu
7674aa817f
Fix single-value delete, replace
2005-04-22 21:15:20 +00:00
Howard Chu
855f7d44e9
pwdReset was not supposed to be NO-USER-MODIFICATION
2005-04-22 18:42:52 +00:00
Howard Chu
c49ba400db
Cleanup db_close vs db_destroy steps
2005-04-22 18:07:02 +00:00
Pierangelo Masarati
4ecdb6285d
cleanup
2005-04-22 17:30:59 +00:00
Howard Chu
0398f254ee
Fix checkpoint task start/stop
2005-04-22 15:32:09 +00:00
Howard Chu
6d66968ab0
Cleanup task tracking
2005-04-22 14:50:28 +00:00
Howard Chu
8f78d064ee
Isolate syncrepl stuff in syncrepl.c
2005-04-22 14:38:35 +00:00
Howard Chu
7e27799b95
Fix prev commit
2005-04-22 14:34:10 +00:00
Howard Chu
cc2288b444
Fix bdb_attrinfo_free
2005-04-22 14:21:54 +00:00
Pierangelo Masarati
eda6c5abcb
remove unnecessary call
2005-04-22 12:59:30 +00:00
Howard Chu
5158e46d59
Note draft 8 in comment
2005-04-22 09:10:06 +00:00
Howard Chu
3400b96d71
ITS#3655 patch from Ralf rhafer@suse.de update to draft 8 behavior
2005-04-22 09:09:12 +00:00
Pierangelo Masarati
18d18d25dc
more attr_merge cleanup (please check)
2005-04-21 23:36:37 +00:00
Pierangelo Masarati
22aed7ddf9
add a consistency check
2005-04-21 23:35:00 +00:00
Pierangelo Masarati
17dbf7a49f
fix previous commit
2005-04-21 22:57:49 +00:00
Pierangelo Masarati
95d3db5d25
fix previous commit
2005-04-21 22:22:43 +00:00
Pierangelo Masarati
2d94c4bd52
set alias dereferencing (please check)
2005-04-21 21:19:35 +00:00
Pierangelo Masarati
5fe42e8853
either pass normalized values to attr_merge*() or call attr_merge_normalize*() (fixes ITS#3659)
2005-04-21 21:05:38 +00:00
Pierangelo Masarati
a7b1017f44
partial fix to ITS#3659; still problems in merging values with "permissive" set
2005-04-21 19:55:22 +00:00
Howard Chu
8b6d9467ea
Fix prev commit for component indexer op
2005-04-21 19:54:54 +00:00
Howard Chu
180d28dab7
Fix typo, add Truncate support
2005-04-21 19:46:47 +00:00
Howard Chu
88cdbab5f4
config cleanup handler
2005-04-21 19:31:39 +00:00
Howard Chu
5bf5288be5
Allow shutdown to interrupt the indexer
2005-04-21 19:23:33 +00:00
Howard Chu
5de908e7e1
Dynamic indexing support
2005-04-21 19:04:31 +00:00
Howard Chu
eac3fc3737
Added some delete handlers
2005-04-21 12:45:25 +00:00
Howard Chu
df6701667e
Placeholders for unimplemented Delete handlers
2005-04-21 12:03:35 +00:00
Howard Chu
f5e36e1bbd
Fix dnattr unparsing
2005-04-21 07:15:02 +00:00
Howard Chu
854b433489
Fix X-ORDERED SIBLINGS
2005-04-21 06:39:58 +00:00
Pierangelo Masarati
08a6909f73
add basic support for retry; protect internal bind behind mutexes; rework search, review candidate selection; minor cleanup. Passes concurrency test036
2005-04-21 03:17:31 +00:00
Pierangelo Masarati
471f4772a0
cleanup connection locking
2005-04-21 00:49:35 +00:00
Pierangelo Masarati
c3fd851a59
slightly reduce malloc overhead; minor cleanup
2005-04-20 18:52:10 +00:00
Howard Chu
3f542e1868
Fixes for ordered deletes
2005-04-19 18:37:39 +00:00
Howard Chu
b5ef8ea6f4
More modify support. ACL editing works.
2005-04-19 16:39:48 +00:00
Pierangelo Masarati
410638fda1
fix memory leak (ITS#3669)
2005-04-19 14:31:07 +00:00
Pierangelo Masarati
1dbf872d61
set deref
2005-04-18 09:16:50 +00:00
Pierangelo Masarati
f6d136a99a
fix overlay access control; cleanup
2005-04-18 09:16:26 +00:00
Pierangelo Masarati
f2c4803dbd
someone (e.g. an overlay) might muck with this data (e.g. remove a modification from the list...)
2005-04-17 19:12:46 +00:00
Pierangelo Masarati
623615e2f1
protect macro
2005-04-16 03:13:37 +00:00
Pierangelo Masarati
a141e3badf
enable use of asynchronous call to StartTLS
2005-04-16 02:56:46 +00:00
Pierangelo Masarati
c1b5e84e2d
a) implement a new candidate selection procedure, based on target naming
...
context checking and multiple match resolution via an internal search
b) move the candidate listing in a persistent per-thread buffer
c) fix bind procedure
d) minor cleanup
(a) and (b) should address ITS#2935; (b) and (c) should address ITS#3171
A test is also added
2005-04-16 02:25:41 +00:00
Howard Chu
41d37a335e
ITS#3660 fix BDB verbose calls
2005-04-16 01:24:00 +00:00
Howard Chu
3189027df7
ITS#3661 use MAXPATHLEN, not PATH_MAX
2005-04-15 22:15:46 +00:00
Howard Chu
6399387580
ITS#3616 store contextCSN in glue entry if database suffix is empty
2005-04-15 06:58:03 +00:00
Howard Chu
46bea91379
ITS#3657 added missing check
2005-04-15 03:57:57 +00:00
Howard Chu
90ccff7163
Fix config_build_entry, normalized attributes
2005-04-14 11:36:37 +00:00
Howard Chu
d1288bf70e
Ignore back-ldif if config directory is inaccessible
2005-04-14 11:16:20 +00:00
Howard Chu
d882ce511d
Generic ordered value support
2005-04-14 10:31:51 +00:00
Howard Chu
562916939e
Add STRIP macro to allow overriding strip on make install
2005-04-14 08:57:07 +00:00
Howard Chu
5ef9978afe
ITS#3616 don't index the dummy context entry
2005-04-13 19:05:56 +00:00
Howard Chu
d9ab73837a
ITS#3647 back-hdb fixes, create unsorted subtree IDLs and sort later.
2005-04-13 11:55:25 +00:00
Howard Chu
1afb2c8e6e
Store modification in back-ldif
2005-04-13 06:56:26 +00:00
Howard Chu
4f95c63211
Fix typo in OMsInteger macro
2005-04-13 06:44:32 +00:00
Howard Chu
60533ad197
More for Modify. Single-valued attrs working.
2005-04-13 06:38:00 +00:00
Howard Chu
1ad2e448c5
Basic Modify framework, still in progress
2005-04-13 05:36:13 +00:00
Howard Chu
18e19a3a52
ITS#3607 more enhancements
...
- recovers correctly, logs status
- for Quick mode, where no transactional environment exists, refuses to
start if the database is inconsistent
- warns of poor performance if DB_CONFIG is not present
- detects changes to DB_CONFIG and forces a recovery
2005-04-13 04:34:15 +00:00
Howard Chu
28af130e89
unifdef BDB_SUBDIRS, was never used
2005-04-13 04:08:43 +00:00
Pierangelo Masarati
a6f8cd07f6
partially revert previous commit (ITS#3652)
2005-04-13 01:03:46 +00:00
Pierangelo Masarati
4a5cef7472
fix access control when no backend could be found (might need work)
2005-04-13 00:01:53 +00:00
Pierangelo Masarati
ec0b3b4b3c
fix access control when no backend could be found (might need work)
2005-04-13 00:00:06 +00:00
Pierangelo Masarati
98294f1125
fix access unparse (ITS#3631)
2005-04-12 23:10:48 +00:00
Pierangelo Masarati
a85603c10b
more on ITS#3652
2005-04-12 22:38:54 +00:00
Pierangelo Masarati
2430af4e8b
fix slapacl when doing cross-database access checking
2005-04-12 22:13:42 +00:00
Pierangelo Masarati
da69eca714
more issues related to slapacl
2005-04-12 20:33:45 +00:00
Pierangelo Masarati
e9ab146a41
fix previous commit in case of access to non existent backend (e.g. rootDSE); add (and document) authzID/DN support
2005-04-12 19:36:56 +00:00
Pierangelo Masarati
387864a9f2
cleanup previous commit
2005-04-12 19:35:53 +00:00
Pierangelo Masarati
239f8fe2b2
fix the fix to previous commit
2005-04-12 17:11:30 +00:00
Pierangelo Masarati
42dda802ba
add comment (see ITS#3652)
2005-04-12 17:01:31 +00:00
Pierangelo Masarati
6f1ebb180e
fix previous commit (ITS#3654)
2005-04-12 16:35:52 +00:00
Howard Chu
bb9011b385
ITS#3648 use slapd runqueue for periodic sync
2005-04-12 12:35:00 +00:00
Howard Chu
fbce032cf2
Fix checkpoint task - must call stoptask before returning
2005-04-12 12:32:48 +00:00
Howard Chu
5aed76fe78
ITS#3573, mark pwdChangedTime, pwdGraceUseTime, pwdExpirationWarned,
...
pwdHistory, and pwdReset NO-USER-MODIFICATION
2005-04-12 10:58:50 +00:00
Howard Chu
d38707a952
Fix slapMode parens
2005-04-12 10:48:22 +00:00
Pierangelo Masarati
d2dd3a616c
hide changes behind specific #ifdef, conditioned by LDAP_DEBUG; always allow access on back-dnssrv
2005-04-12 01:07:30 +00:00
Pierangelo Masarati
f103c78530
cleanup previous commit
2005-04-12 00:34:13 +00:00
Pierangelo Masarati
15016154b6
add ACL hook to overlays
2005-04-12 00:24:04 +00:00
Pierangelo Masarati
50bb034d97
in case of success, release the entry only after global overlays have seen it on the way back
2005-04-12 00:20:16 +00:00
Pierangelo Masarati
159dad3d9f
iptr was unint'd
2005-04-11 21:44:29 +00:00
Pierangelo Masarati
91b4e991be
cleanup & silence warnings
2005-04-11 21:35:34 +00:00
Pierangelo Masarati
e17ec4eb52
call frontend's be_unbind, if any, to honor hooks registered by global overlays (ITS#3649)
2005-04-11 19:12:30 +00:00
Howard Chu
b0627689e8
ITS#3647 fix hdb dn2idl SEGV
2005-04-11 04:00:08 +00:00
Pierangelo Masarati
5affbfa428
add SASL bind for acl-authc; use slap_bindconf
2005-04-10 23:44:06 +00:00
Pierangelo Masarati
c1885efd83
more bindconf cleanup
2005-04-10 23:43:17 +00:00
Pierangelo Masarati
f7ead8f919
apply naming scheme to global/database schema
2005-04-10 22:27:50 +00:00
Kurt Zeilenga
3e800f20bd
<limits.h> cleanup && ITS#3643
2005-04-10 19:32:14 +00:00
Pierangelo Masarati
3546934005
same for objectClass; improve previous commit
2005-04-10 15:40:15 +00:00
Pierangelo Masarati
fa4b1c69d7
Added further consistency checks and a new schema parse error value
...
which should help in debugging schema development for back-config.
The check essentially verifies, when a duplicate attributeType is found,
that the new attributeType definition is an exact duplicate of the
definition already present in the schema.
2005-04-10 15:14:13 +00:00
Pierangelo Masarati
f1870628be
clarify comment
2005-04-10 09:54:21 +00:00
Pierangelo Masarati
53ce94a25d
protect all occurrences of ACL_DISCLOSE
2005-04-09 17:00:40 +00:00
Pierangelo Masarati
59c40035fd
cleanup
2005-04-09 16:50:07 +00:00
Howard Chu
e2a3fc3af3
Preserve OID macros for display in back-config
2005-04-09 16:13:04 +00:00
Pierangelo Masarati
58d4f7fc20
base64 encode passwords in back-config
2005-04-09 15:19:36 +00:00
Howard Chu
a2a28f7b95
ITS#3616 allow adding entry with zero-length DN if the suffix is zero-length
2005-04-09 11:28:06 +00:00
Howard Chu
7aac82d31c
ITS#3616 allow adding entry with zero-length DN if the suffix is zero length
2005-04-09 11:27:35 +00:00
Howard Chu
335e8a8ba7
Don't do ctxcsn checks in Tool mode, don't generate ctxcsn if it's missing
...
and we're also a consumer.
2005-04-09 11:26:31 +00:00
Howard Chu
20eaae2c7c
Silence warnings in prev commit
2005-04-09 11:21:08 +00:00
Howard Chu
f43086d1c1
ITS#3616 fixes for zero-length DN entry. generate context entry on the
...
fly if a modify is attempted and it does not exist.
2005-04-09 11:15:05 +00:00
Howard Chu
90d9791047
ITS#3616 use fake context entry if suffix is empty.
2005-04-09 10:01:13 +00:00
Howard Chu
632d7186c0
Don't crash on update_ctx if context entry has no contextCSN
2005-04-09 10:00:15 +00:00
Howard Chu
0c0cb6a924
ITS#3616 skip naming checks for entry with zero-length DN
2005-04-09 09:59:40 +00:00
Howard Chu
d9df909ba4
ITS#3638 Init ids to zero in bdb_dn2idl
2005-04-09 07:45:14 +00:00
Howard Chu
e90f933e8c
ITS#3646 allow default index
2005-04-09 07:32:51 +00:00
Howard Chu
26a101edce
ITS#3644 include limits.h in config.h, set PATH_MAX in config.h
2005-04-09 06:35:28 +00:00
Pierangelo Masarati
86b697f236
further cleanup; plug memory leak?
2005-04-09 01:00:53 +00:00
Howard Chu
dbb5d00908
ITS#3267 add a comment
2005-04-09 00:56:30 +00:00
Howard Chu
546bc9cf19
ITS#3267 fix out-of-order slapadd
2005-04-09 00:38:18 +00:00
Pierangelo Masarati
14b2b4de13
cleanup
2005-04-09 00:29:06 +00:00
Pierangelo Masarati
09e4da6bef
check parameters
2005-04-09 00:11:31 +00:00
Pierangelo Masarati
b109d018eb
honor disclose
2005-04-08 23:33:03 +00:00
Pierangelo Masarati
64ae69f6df
honor disclose and search access of searchBase; fix potential lock issue; honor abandon
2005-04-08 23:20:37 +00:00
Pierangelo Masarati
9428882682
further improve previous fix
2005-04-08 22:11:56 +00:00
Pierangelo Masarati
7d958d9773
further improve previous fix
2005-04-08 22:06:06 +00:00
Pierangelo Masarati
914f47f253
improve previous fix; return LDAP_REFERRAL to avoid returning result multiple times
2005-04-08 21:58:58 +00:00
Pierangelo Masarati
59b96206a8
cleanup sr_ref
2005-04-08 21:38:38 +00:00
Jong Hyuk Choi
8b53a1f0bb
malloc cleanup
2005-04-08 19:39:58 +00:00
Pierangelo Masarati
889ce515ad
save a malloc; some more cleanup
2005-04-08 19:17:51 +00:00
Pierangelo Masarati
bc97f801bf
fix previous commit
2005-04-08 00:19:01 +00:00
Pierangelo Masarati
4abbf9c610
implement add/delete granularity in write access (ITS#3631)
2005-04-08 00:18:24 +00:00
Pierangelo Masarati
5807c2b379
add dynlist build stuff
2005-04-07 23:51:31 +00:00
Pierangelo Masarati
22490d016a
add dynlist build stuff
2005-04-07 23:35:36 +00:00
Pierangelo Masarati
6e2c78c309
add dynlist.c from SysNet's repository; needs build stuff (when mature)
2005-04-07 22:42:44 +00:00
Pierangelo Masarati
b94a776870
document option '-F'
2005-04-07 20:12:57 +00:00
Howard Chu
9e9e3c988a
Fix access error return
2005-04-07 19:54:37 +00:00
Pierangelo Masarati
d213e99443
line up usage message
2005-04-07 19:32:50 +00:00
Howard Chu
931d7f4a95
Ignore include file records when loading LDIF tree, their contents
...
have already been incorporated into the LDIF.
2005-04-07 05:32:21 +00:00
Howard Chu
15fe667281
On add, sort attributes in schema order to enforce config sequencing
2005-04-07 05:23:23 +00:00
Kurt Zeilenga
b425b15fc8
Improved log message when cannot find entry of desired class
2005-04-07 00:54:06 +00:00
Pierangelo Masarati
0220a25f05
use alias name instead of column name in order by clause (ITS#3629)
2005-04-04 17:41:29 +00:00
Pierangelo Masarati
f1698e30f5
update diagnostics and man pages
2005-04-04 12:24:50 +00:00
Pierangelo Masarati
e0fd9ebf14
cleanup previous commits
2005-04-04 11:19:21 +00:00
Pierangelo Masarati
f43f7b1bfb
cleanup listener permissions
2005-04-04 10:42:50 +00:00
Howard Chu
bf0373b486
Add conn->c_sasl_authz_dn, store SASL authzDN separately from authcDN
2005-04-03 09:38:53 +00:00
Pierangelo Masarati
3eb87b2faa
implement "realdn" by clause in ACLs (ITS#3627; accounting for Howard's remarks)
2005-04-03 01:59:03 +00:00
Pierangelo Masarati
fe1b73c712
implement checking of the whole target entry if no attributes are specified (ITS#3624)
2005-04-03 01:20:36 +00:00
Pierangelo Masarati
f1e2d35bd6
rework few members of slap_bindconf; silence few warnings
2005-04-02 01:33:48 +00:00
Pierangelo Masarati
a736b1041e
clarify the usage of dnParent( dn, dn )
2005-04-01 23:58:38 +00:00
Pierangelo Masarati
8e19437ddc
allow slapdn to return the DN in pretty/normal only mode, without diagnostics, to be used as filter (should allow reading from stdin as well)
2005-04-01 12:59:26 +00:00
Pierangelo Masarati
ae3f784d5b
fix database operations in tool mode (ITS#3622)
2005-04-01 12:20:02 +00:00
Howard Chu
f9917a9c16
Truncate \r if it appears at end of DB_CONFIG lines
2005-04-01 12:06:46 +00:00
Howard Chu
bff244da5b
Add dbconfig directive for creating/writing the DB_CONFIG file
2005-04-01 11:26:43 +00:00
Howard Chu
04f6efbe1c
ITS#3607 more for Win32 portability
2005-04-01 08:10:26 +00:00
Howard Chu
18d1821b1f
ITS#3607, added Win32 lock support
2005-04-01 06:10:06 +00:00
Kurt Zeilenga
af866c3b44
Added a conformant sortedResults support which is unable to sort anything.
2005-04-01 02:40:29 +00:00
Kurt Zeilenga
0b6ed01c05
cleanup
2005-04-01 02:39:01 +00:00
Howard Chu
652d0a189a
Fix filter crash when DN contains parenthesis
2005-04-01 02:13:17 +00:00
Pierangelo Masarati
3958eb9e98
actually retrieve the target, to apply clauses like sets and so
2005-03-31 21:21:16 +00:00
Pierangelo Masarati
2605dfa81f
cleanup options
2005-03-31 20:03:30 +00:00
Pierangelo Masarati
4cba10c13e
always shutdown (slaptest was not)
2005-03-31 19:34:36 +00:00
Pierangelo Masarati
584b21d20b
initial commit of "level" styles for "dn" and "self" by clauses (ITS#3615)
2005-03-31 18:10:11 +00:00
Pierangelo Masarati
26c1524163
rework provious commit(s)
2005-03-31 12:18:56 +00:00
Pierangelo Masarati
e85c3f2f6a
more cleanup?
2005-03-31 00:30:41 +00:00
Pierangelo Masarati
1c5e5b7db0
cleanup
2005-03-31 00:27:53 +00:00
Pierangelo Masarati
8d3eb19995
beautify conditional compilation warning
2005-03-30 23:46:25 +00:00
Pierangelo Masarati
a96f2af281
more dnParent() and misc cleanup
2005-03-30 22:45:46 +00:00
Pierangelo Masarati
20b3d14dc3
more dnParent() cleanup
2005-03-30 22:29:54 +00:00
Pierangelo Masarati
83bb1c93cb
allow setting misc params used by ACL checking
2005-03-30 22:29:35 +00:00
Pierangelo Masarati
61bb4bb630
allow dnParent to work in place
2005-03-30 20:18:11 +00:00
Pierangelo Masarati
22bc85dc77
minor cleanup
2005-03-30 18:58:52 +00:00
Pierangelo Masarati
7cf03f2b50
don't fail if the directory can't be opened because it doesn't exist; silence few warnings
2005-03-30 18:38:04 +00:00
Pierangelo Masarati
7d531d1416
release lock as early as possible; deferring referral checking in searches may reduce the amount of dynamic entry generation
2005-03-29 23:56:23 +00:00
Pierangelo Masarati
908aaa5107
add manageDSAit & referral support (to be tested); cleanup some error conditions
2005-03-29 18:57:42 +00:00
Pierangelo Masarati
40ec0992d6
don't continue if fopen failed
2005-03-29 11:43:36 +00:00
Howard Chu
fbbc07e644
Allow for alternate ordering characters to be used in the filesystem
2005-03-29 08:29:38 +00:00
Howard Chu
b8bf38cd5b
Tighten up some schema
2005-03-29 03:31:48 +00:00
Howard Chu
aaf112c9c2
Better numeric sorting for ordered entries
2005-03-29 03:11:40 +00:00
Sang Seok Lim
d2af85fd08
Fixing memory leakage in attribute aliasing
2005-03-29 00:12:05 +00:00
Pierangelo Masarati
429629ff0c
fix previous commit
2005-03-28 18:53:57 +00:00
Pierangelo Masarati
27e5fabb8b
document missing feature; avoid the risk of returning argv in an inconsistent state when an error occurs
2005-03-28 18:51:02 +00:00
Howard Chu
62d21aadd0
Register ManageDSAit control
2005-03-28 10:23:04 +00:00
Howard Chu
51c913d83c
Fix missing break's, add overlay works
2005-03-27 13:27:30 +00:00
Howard Chu
a2348970e5
Fix search, fix add. Adding backends/databases works.
2005-03-27 13:08:57 +00:00
Howard Chu
18bf31b3c6
ITS#3607 build alock
2005-03-27 06:45:15 +00:00
Howard Chu
4d4e58d8f1
ITS#3607 build alock code
2005-03-26 10:21:43 +00:00
Howard Chu
d7396583d5
ITS#3607 add automatic BDB recovery
2005-03-26 09:52:04 +00:00
Kurt Zeilenga
e7e8ec90b6
Update uniqueMemberMatch to be consistent with latest
...
draft-ietf-ldapbis-syntaxes
Add uniqueMemberMatch approximate support
Add uniqueMemberMatch indexing support
2005-03-26 02:07:00 +00:00
Kurt Zeilenga
71c2c1c9fe
Change "subtree delete not supported" diagnostic text to
...
"subordinate objects must be deleted first" as the "not supported"
language implies some feature of LDAP is not implemented in slapd(8).
2005-03-26 00:53:00 +00:00
Howard Chu
eb8f927af3
Fix copyright/attribution comments
2005-03-25 20:11:28 +00:00
Kurt Zeilenga
8da81d42c7
ITS#3538: improved substrings matching (spaces handled
...
in accordance with LDAPprep)
2005-03-25 05:57:07 +00:00
Howard Chu
5a66d7de66
Fix prev commit
2005-03-24 06:06:40 +00:00
Howard Chu
0076b40c32
Convert backendInfo/backendDB to STAILQs
2005-03-24 05:13:31 +00:00
Kurt Zeilenga
7677c00d80
cleanup
2005-03-23 01:50:49 +00:00
Howard Chu
5c3a4e176e
Preliminary ldapAdd support
2005-03-21 23:59:53 +00:00
Howard Chu
4fcab959c0
Define SLAP_USE_CONFDIR, fix moduleload
2005-03-21 20:07:05 +00:00
Howard Chu
c9141a9a08
More parsing fixes
2005-03-21 11:14:37 +00:00
Howard Chu
38383fca41
Fix startup check
2005-03-21 10:32:28 +00:00
Howard Chu
3f357270d4
Fix unparsers, schema loading works
2005-03-21 10:23:01 +00:00
Howard Chu
119cbcaba4
Schema unparsing support
2005-03-21 08:31:48 +00:00
Howard Chu
fba9235d0f
Add HARDCODE schema flags
2005-03-21 00:22:54 +00:00
Howard Chu
1476ad80a6
Tweak log msg in prev commit
2005-03-20 20:55:49 +00:00
Howard Chu
e2a4978d82
Runtime detection of BDB read-only transaction patch
2005-03-20 20:54:44 +00:00
Kurt Zeilenga
9198281e9e
db mismatch (including patch mismatch) should be an error
2005-03-20 17:18:15 +00:00
Howard Chu
320c291455
Fix config_rootpw
2005-03-20 09:50:09 +00:00
Howard Chu
48ee1e7021
Fix prev commit
2005-03-20 09:24:35 +00:00
Howard Chu
fda662bd34
More for loading config from LDIF
2005-03-20 09:13:48 +00:00
Kurt Zeilenga
43ba1a98db
ITS#3579 fixes
2005-03-20 04:29:35 +00:00
Kurt Zeilenga
9507a11573
cleanup
2005-03-20 01:58:38 +00:00
Kurt Zeilenga
305f6c4f2c
Honor disclose in compare_entry()
2005-03-19 20:14:14 +00:00
Kurt Zeilenga
5d169e40ea
move honor disclose back behind LDAP_DEVEL
...
needs more work before really ready for release (2.4?)
2005-03-19 19:31:32 +00:00
Howard Chu
90172993a3
Add ordered-values schema flag
2005-03-18 23:24:28 +00:00
Howard Chu
c2a9642850
Support subtree rename, refuse subtree delete
2005-03-18 23:22:12 +00:00
Howard Chu
f06247fede
Added some implementation notes (reminders...)
2005-03-18 09:50:06 +00:00
Howard Chu
f77233d2ea
Fix slapd_crypt declaration
2005-03-18 06:12:54 +00:00
Howard Chu
afe12db0d1
Cleanup prev commit
2005-03-18 06:12:27 +00:00
Howard Chu
2da2336ac6
Reorganiza SLAPD_CRYPT and SLAPD_SPASSWD support for better reentrancy
2005-03-18 06:06:38 +00:00
Pierangelo Masarati
dec4c2197a
avoid potential deadlock related to ACLs checking
2005-03-18 00:10:10 +00:00
Kurt Zeilenga
c29c0c9bd8
Fix compile warning
2005-03-17 23:55:52 +00:00
Howard Chu
ac3ad635ef
Silently ignore if back-ldif is not present
2005-03-17 23:47:20 +00:00
Howard Chu
83c748fe5c
More for loading config from database. Fix non-reentrant strtok_quote.
2005-03-17 23:07:44 +00:00
Howard Chu
1e5f43ddd1
In aci_set_gather propagate op->o_private to subordinate search
2005-03-17 22:28:30 +00:00
Kurt Zeilenga
85bc7ccd2c
"disclose" implementation good enough for beta
2005-03-17 17:33:03 +00:00
Howard Chu
4a8d8eb78a
Read config tree from back-ldif
2005-03-17 06:34:11 +00:00
Howard Chu
dccfd8ae23
Fix enum_tree, return in lexical order
2005-03-17 06:31:50 +00:00
Howard Chu
3ead49d206
ITS#3542 - ignore timevals from deferred tasks
2005-03-17 05:03:28 +00:00
Howard Chu
9bfb4e7213
Revert prev commit, wrong fix
2005-03-17 04:50:19 +00:00
Howard Chu
d1050c5aa2
ITS#3542 if slapd processes too slowly, time diff can go negative
2005-03-17 04:44:21 +00:00
Howard Chu
f955f17076
ITS#3576 use actual backend (not glue instance) for restriction and
...
update/referral checks
2005-03-17 04:29:31 +00:00
Howard Chu
4e5407a096
Check for db_init failures
2005-03-16 21:44:05 +00:00
Howard Chu
cd23b2ddf4
Fix unterminated debug msgs
2005-03-16 21:29:32 +00:00
Howard Chu
5ffc2ce9f1
Fix ITS#3601
2005-03-16 21:03:51 +00:00
Howard Chu
585b4a02ef
Fix prev commit, overlay config was broken
2005-03-16 20:31:49 +00:00
Howard Chu
49bf49de06
More cleanup. Still needs work.
2005-03-16 07:45:17 +00:00
Kurt Zeilenga
6ea6a72d5d
remove non-ISO-C-isms
...
This code needs to be cleaned up!
2005-03-16 02:33:27 +00:00
Pierangelo Masarati
c90998e60d
cure ITS#3602
2005-03-15 23:01:06 +00:00
Howard Chu
bc4564cac4
More back-config / back-ldif integration, added config_generic_wrapper,
...
added -F option to specify config directory
2005-03-15 08:57:34 +00:00
Howard Chu
f682ee0918
entry_schema_check - NULL out *text when returning Success
2005-03-15 08:29:42 +00:00
Kurt Zeilenga
f06ca8eb1f
cleanup
2005-03-15 03:11:24 +00:00
Kurt Zeilenga
3b3c521083
slapi glue fix
2005-03-15 02:47:27 +00:00
Kurt Zeilenga
c19b745b64
cleanup
2005-03-14 23:21:35 +00:00
Howard Chu
a49215d4bf
Move cn=config from namingContexts to configContext
2005-03-14 23:21:00 +00:00
Howard Chu
902494b432
Cleanup prev commit
2005-03-14 19:46:14 +00:00
Howard Chu
38cf26c95a
Fix typo
2005-03-14 19:23:42 +00:00
Howard Chu
b120d92bd6
ITS#3596 - fix overlay cleanup processing
2005-03-14 01:23:38 +00:00
Howard Chu
b508cca217
ITS#3596 partial fix - fix sc_cleanup processing
2005-03-14 00:39:49 +00:00
Howard Chu
86ef29b5e7
ITS#3596 partial fix - allow abandoning a locked operation
2005-03-14 00:12:48 +00:00
Howard Chu
8a31f9a96f
Ignore matches from the entry being modified
2005-03-13 23:18:49 +00:00
Howard Chu
699fa73c2b
Added back-ldif
2005-03-10 06:19:18 +00:00
Howard Chu
8da7cce20d
Added translucent overlay (sponsored by HP)
2005-03-10 03:13:24 +00:00
Howard Chu
36358007d4
Added dummy config_back_modify, using ldap_pvt_thread_pool_pause/resume
2005-03-07 21:03:04 +00:00
Howard Chu
90f356a9f9
Moved ACLs to their own entry
2005-03-07 18:14:13 +00:00
Kurt Zeilenga
b914aee946
Replace OpenLDAPtime with testTime (in test.schema).
...
Don't muck with OpenLDAPperson or openldap.schema.
Replace OpenLDAPtime with testTime (in test.schema).
Define testPerson instead (in test.schema).
Update test004 to use new test schema.
2005-03-04 17:33:26 +00:00
Howard Chu
f7e158333e
ITS#2919 move OpenLDAPtime to OpenLDAPperson
2005-03-04 11:35:37 +00:00
Howard Chu
b9b087384c
Added config compatibility wrapper for overlays etc...
2005-03-04 10:32:51 +00:00
Howard Chu
50c3487e03
Fix backend config table fallthru
2005-03-04 10:01:31 +00:00
Howard Chu
0b9ffad770
Don't restrict cache sizes to non-zero
2005-03-04 09:45:08 +00:00
Howard Chu
8573640ff9
Fix schema init sequence
2005-03-04 09:26:50 +00:00
Howard Chu
5616daf9f8
ITS#2919 add a user modifiable generalizedTime attribute
...
(please assign an OID for this attribute)
2005-03-04 09:16:37 +00:00
Howard Chu
4e2dccf147
Fix prev commit, make sure to only send result once
2005-03-04 06:25:10 +00:00
Howard Chu
379a620217
Fix ITS#3537 (need to repeat this fix for the other operations too.)
2005-03-04 06:20:37 +00:00
Howard Chu
c160e0d349
ITS#3579 disable ldap_syslog earlier.
2005-03-04 04:32:43 +00:00
Howard Chu
a025ead532
ITS#3533 use LDAP_DEBUG_TRACE for version info
2005-03-04 00:10:01 +00:00
Howard Chu
74e38c0ad4
More verbmasks cleanup, added index unparsing
2005-03-02 16:35:59 +00:00
Howard Chu
530e93f96e
Cleanup verb/mask processing
2005-03-02 14:49:54 +00:00
Howard Chu
1bc59be16d
Fix initial config file info
2005-03-02 05:20:22 +00:00
Howard Chu
44521fd902
Reorganized config/bconfig. Migrated back-bdb config.
2005-03-02 04:46:50 +00:00
Howard Chu
a2a9ae725f
Drop "access " from acl_unparse
2005-03-01 23:17:54 +00:00
Howard Chu
b6a42fd1a2
Fix prev commit
2005-03-01 23:13:21 +00:00
Howard Chu
58865ccb38
Added general limits retrieval
2005-03-01 23:01:47 +00:00
Howard Chu
58939adc36
Added limits_unparse_one
2005-03-01 21:25:32 +00:00
Howard Chu
5a2333573c
Fix prev commit
2005-03-01 21:16:44 +00:00
Howard Chu
5acd0c574b
Added authz-regexp, slapi plugin retrieval
2005-03-01 20:08:36 +00:00
Howard Chu
e509e81ecd
Fix slapi plugin info
2005-03-01 20:05:20 +00:00
Pierangelo Masarati
70963520d4
fix ITS#3406 wrt/ dnattr; silence warning
2005-03-01 18:40:23 +00:00
Howard Chu
21aa0d0f9f
Added oidm retrieval
2005-03-01 18:05:23 +00:00
Howard Chu
89210b7100
Added ldap_pvt_sasl_secprops_unparse, slap_sasl_secprops_unparse
2005-03-01 11:42:31 +00:00
Howard Chu
05a4b7e234
Added moduleload/modulepath retrieval
2005-02-28 22:19:55 +00:00
Pierangelo Masarati
bb82f8ffd0
fix ITS#3570 (please review)
2005-02-27 20:02:13 +00:00
Pierangelo Masarati
f93aec341c
(partial) fix to ITS#3570: detect an error condition; the error is yet to be fixed
2005-02-27 18:05:22 +00:00
Pierangelo Masarati
d7a5355176
enable tls-related code only if available; import fix for asynchronous starttls from back-ldap
2005-02-27 17:20:04 +00:00
Kurt Zeilenga
f9b2a8a1d2
ITS#3557: {SSHA} not default due to missing include
2005-02-27 16:46:45 +00:00
Kurt Zeilenga
aefb272680
Fix compiler error and warnings.
2005-02-27 06:10:01 +00:00
Howard Chu
049a1dbca0
SASL/TLS fixes to prev commit
2005-02-24 09:07:40 +00:00
Kurt Zeilenga
2d98546d21
ITS#3583
2005-02-23 16:08:11 +00:00
Howard Chu
660c5de77b
Added syncrepl retrieval
2005-02-23 14:58:53 +00:00
Howard Chu
c54cd8b7f1
Added replica retrieval
2005-02-23 12:03:14 +00:00
Howard Chu
5d46454d87
Fix prev, add security factors
2005-02-23 07:09:24 +00:00
Howard Chu
0383195cc0
Fix up memory usage
2005-02-23 04:25:24 +00:00
Pierangelo Masarati
4e8256f6ab
improve previous commit; now attribute values are rewritten either if they were DN-valued before or after being remapped
2005-02-22 21:29:42 +00:00
Pierangelo Masarati
ba90bad9c8
honor remapped attrs in requested attrlist; fix erroneous cleanup of remapped requested attrlist (only at response)
2005-02-22 20:16:31 +00:00
Pierangelo Masarati
91961faab6
missing successful return was causing erroneous failure detection
2005-02-22 15:01:14 +00:00
Howard Chu
b1a575899d
Make replica directives visible/editable
2005-02-22 12:18:53 +00:00
Howard Chu
e0ca6e386e
Added acl_unparse, slap_sasl_getpolicy
2005-02-22 12:02:34 +00:00
Howard Chu
b000d76f22
Added overlay objects
2005-02-21 18:04:37 +00:00
Howard Chu
367e4915ab
Added includeFile objects
2005-02-21 17:38:27 +00:00
Howard Chu
39906c96e3
More schema fixes
2005-02-21 14:57:02 +00:00
Howard Chu
087b97c2c5
Use backend#0 for config, tools default to #1
2005-02-21 11:28:59 +00:00
Howard Chu
2b725a3dfe
ITS#3559 fix hdb dn2idl idl_cache usage
2005-02-21 11:11:00 +00:00
Howard Chu
4295f398af
Retrieve more values, bypass tool mode (for now)
2005-02-21 03:50:05 +00:00
Howard Chu
1895da7f52
Simple values retrievable
2005-02-21 02:21:29 +00:00
Howard Chu
c6f373bce1
Juggle ARG flags, needed some more bits
2005-02-21 01:10:23 +00:00
Pierangelo Masarati
49d2945e9a
fix previous commit (please check)
2005-02-20 23:06:55 +00:00
Howard Chu
efc8c43b73
Adding back-config pieces
2005-02-20 18:33:40 +00:00
Howard Chu
a26148af99
Preliminary config attribute schema
2005-02-20 11:24:24 +00:00
Howard Chu
dfb6f870f6
Rearrange, merge sasl config back into main config
2005-02-20 06:47:54 +00:00
Howard Chu
df3d8f3e30
Cleanup unused variables
2005-02-20 04:59:29 +00:00
Howard Chu
caeae75662
bdb_show_key is for hash keys, not IDs
2005-02-20 04:32:54 +00:00
Luke Howard
0cf2e8746e
ITS#3556 (SLAPI does not work on 64-bit platforms)
2005-02-20 02:13:14 +00:00
Pierangelo Masarati
edfbbeb653
clarify comment
2005-02-19 16:55:14 +00:00
Pierangelo Masarati
f8b463d0bc
use asynchronous StartTLS
2005-02-19 16:14:22 +00:00
Pierangelo Masarati
5d19659193
honor abandon/cancel (ITS#3551)
2005-02-19 12:25:55 +00:00
Howard Chu
5418a6bb0f
Temporary placeholder, do not use. Will be hardcoded into config.c.
2005-02-19 12:22:47 +00:00
Howard Chu
d74a9f066a
ITS#3551 return SLAPD_ABANDON on abandon...
2005-02-19 12:10:40 +00:00
Pierangelo Masarati
0f18e6ce24
fix ITS#3551
2005-02-19 11:07:02 +00:00
Howard Chu
94b3f430cf
Fix cancel cleanup
2005-02-18 07:12:57 +00:00
Howard Chu
6cbe778c81
ITS#3549 allow one op to progress when a socket with writewaiters
...
becomes ready to write.
2005-02-18 04:21:59 +00:00
Howard Chu
beaeb5ed5c
Fix if HAVE_TLS is missing
2005-02-18 04:20:56 +00:00
Howard Chu
2964bfc48b
ITS#3549 acknowledge CANCEL requests
2005-02-18 01:08:47 +00:00
Howard Chu
5d8ece605e
ITS#3549 cleanup abandon/cancel processing
2005-02-18 01:01:35 +00:00
Howard Chu
1b244bbacd
Another abandon check
2005-02-18 00:50:17 +00:00
Howard Chu
ee42df4cea
Always return SLAPD_ABANDON in response to op->o_abandon being set.
2005-02-18 00:37:40 +00:00
Howard Chu
554c667ec7
Revert use_thread option, it didn't gain anything.
2005-02-17 15:18:30 +00:00
Howard Chu
3b34a6f81c
ITS#3546 fix consumer crash on interrupt (provider crash still unresolved)
2005-02-17 15:07:27 +00:00
Sang Seok Lim
583242c9a3
initialize AttributeAssertion before using
2005-02-16 17:00:11 +00:00
Sang Seok Lim
996e87298f
Misc clean up
2005-02-15 16:55:00 +00:00
Sang Seok Lim
9d59266e25
Attribute Aliasing : equality matching support
2005-02-15 05:24:48 +00:00
Howard Chu
b06eea3d99
Delete unused syncrepl_pool
2005-02-11 10:20:16 +00:00
Pierangelo Masarati
b43fb2bdfc
allow stacking of a default chaining control when chasing further referrals; fix referral return memory allocation on direct search
2005-02-06 22:12:02 +00:00
Pierangelo Masarati
046b40cbe3
provisions for configuring a desired chaining policy via the chaining behavior control
2005-02-05 18:21:14 +00:00
Pierangelo Masarati
e50092878d
temporarily revert to synchronous start tls
2005-02-05 17:33:22 +00:00
Pierangelo Masarati
73ca57cfef
import selected improvements from back-ldap: use asynchronous Start TLS exop; allow propagating TLS if used in the original connection; minor cleanup
2005-02-05 15:55:27 +00:00
Pierangelo Masarati
43138aa500
use asynchronous Start TLS exop; allow propagating TLS if used in the original connection; minor cleanup
2005-02-05 15:55:02 +00:00
Pierangelo Masarati
e3a19bfa32
import referral chaing options from back-ldap
2005-02-05 11:33:32 +00:00
Kurt Zeilenga
e106fb2449
Folks who wan MSAD schema should get it from MSAD
2005-02-04 03:48:50 +00:00
Luke Howard
fd0b7e75b1
ITS#3439 (NetBSD support for getpeereid())
2005-02-03 09:36:25 +00:00
Howard Chu
1510265454
Init ors_limit to NULL
2005-02-01 15:11:33 +00:00
Howard Chu
0f185de2b0
Fix uninit'd search limits
2005-02-01 14:02:53 +00:00
Howard Chu
b6019af759
Fix off-by-one in octetStringSubstringsFilter
2005-02-01 13:40:17 +00:00
Howard Chu
ae6b117a2a
config args are ints, not longs. (64 bit compatibility)
2005-02-01 12:36:25 +00:00
Pierangelo Masarati
4123f29eaa
fix spelling
2005-02-01 10:31:57 +00:00
Howard Chu
f2d423e084
ITS#3527 fix race in bdb_idl_cache_get
2005-02-01 05:37:09 +00:00
Howard Chu
122cdf4549
In ldap_back_bind, don't send success result, frontend does it
2005-02-01 00:19:45 +00:00
Pierangelo Masarati
8637bc5b28
handle cannotChain result
2005-01-31 11:22:12 +00:00
Pierangelo Masarati
3b84f11d25
honor SLAP_GLUE_INSTANCE() flag; allow to advertize subordinate databases
2005-01-31 00:15:45 +00:00
Pierangelo Masarati
d503b5a5b7
make frontend-generated attrs available to backend's hook
2005-01-31 00:14:00 +00:00
Pierangelo Masarati
4c61b9a8f7
further improve of previous commit
2005-01-30 23:14:41 +00:00
Pierangelo Masarati
625263852d
fix previous commit; plug a long lasting leak
2005-01-30 23:12:27 +00:00
Pierangelo Masarati
cfc77f0a0a
make referrals chasing optional (default is to chase them)
2005-01-30 22:56:59 +00:00
Pierangelo Masarati
14fc23c23a
silence warning
2005-01-30 22:07:48 +00:00
Pierangelo Masarati
b3c00deb3d
counter cleanup
2005-01-30 22:07:32 +00:00
Pierangelo Masarati
58a06eae47
handle compare in frontend if backend couldn't handle it (and returned SLAP_CB_CONTINUE; e.g. if wrapped around an overlay...)
2005-01-30 22:06:38 +00:00
Pierangelo Masarati
8cc2aa9372
implement hook; cleanup
2005-01-30 22:05:46 +00:00
Pierangelo Masarati
6fcc25f993
cleanup empty DN handling
2005-01-30 22:05:11 +00:00
Pierangelo Masarati
fbb2b75ace
matched values is "global"
2005-01-30 22:04:02 +00:00
Pierangelo Masarati
7cd731ec56
"ultimate" fix of glued databases controls checking; other minor fixes
2005-01-30 22:02:37 +00:00
Pierangelo Masarati
e96e874a18
take care of DN-valued "operational" (generated) attrs
2005-01-30 22:00:09 +00:00
Pierangelo Masarati
4f9b916b61
now works
2005-01-29 22:04:34 +00:00
Pierangelo Masarati
ff89b2c14c
looks a little better (but test033 doesn't work any more; disabling)
2005-01-29 19:04:06 +00:00
Pierangelo Masarati
9d11324e96
make the glue database inherit the controls of the subordinates (doesn't fix test033 though)
2005-01-29 18:38:44 +00:00
Pierangelo Masarati
cd797f8089
avoid cycling twice in the control list
2005-01-29 18:16:38 +00:00
Pierangelo Masarati
0056109b82
cleanup previous commit
2005-01-29 18:00:36 +00:00
Pierangelo Masarati
d0b804c439
use direct access instead of string comparison to check supported controls
2005-01-29 17:58:48 +00:00
Pierangelo Masarati
1e351da986
need to catch the '' base in search as well; selected cleanup and improvements
2005-01-28 23:19:02 +00:00
Pierangelo Masarati
77da5c56a4
allow to glue local databases under dnssrv
2005-01-28 21:38:02 +00:00
Luke Howard
4b1d72ab2f
Add slapi_x_backend_get_flags() API
2005-01-28 08:33:29 +00:00
Pierangelo Masarati
4304dfc9a2
allow referrals in result (may happen); propagate chaining errors
2005-01-28 01:43:49 +00:00
Kurt Zeilenga
e2292d34e1
remove commented out kludge macro
2005-01-27 23:08:20 +00:00
Kurt Zeilenga
1ff692274a
Removed control old kludge code
2005-01-27 23:06:57 +00:00
Pierangelo Masarati
4d5068630c
cleanup
2005-01-27 08:55:13 +00:00
Kurt Zeilenga
e826914a88
Less kludgy willing-to-perform check for recognized and appropriate
...
global controls
2005-01-27 06:45:20 +00:00
Luke Howard
82d3c103e9
Support LDAP_MOD_INCREMENT in slapi_modify_internal()
2005-01-27 06:20:31 +00:00
Pierangelo Masarati
2c801d9c2a
move compare to frontend (disabled by default, only invoked if backend doesn't provide hook); honor ITS#3472 (disclose access check); fix ITS#3521 as well (check access to hasSubordinates); fix a problem in backend_attribute() with operational attrs; add backend_access() helper
2005-01-26 23:30:57 +00:00
Pierangelo Masarati
362766b316
move compare to frontend (disabled by default, only invoked if backend doesn't provide hook); honor ITS#3472 (disclose access check); fix ITS#3521 as well (check access to hasSubordinates); fix a problem in backend_attribute() with operational attrs; add backend_access() helper
2005-01-26 23:19:48 +00:00
Pierangelo Masarati
1b268479c3
fix ITS#3406 - normalize attributes according to MR syntax in MRA filters
2005-01-26 21:48:36 +00:00
Pierangelo Masarati
3dd2f4150b
allow proxyAuthz of users authenticated via SASL
2005-01-26 20:01:02 +00:00
Kurt Zeilenga
ab455a5ec7
Place control availability kludge behind
...
#ifdef SLAP_CONTROL_AVAILABILITY_KLUDGE
for now. Me think its still needed (at least for FRONTEND controls).
2005-01-26 19:46:12 +00:00
Pierangelo Masarati
5ec9684894
controls can be added in two passes (e.g. by backends that actually inherit their controls from someone else)
2005-01-26 10:28:37 +00:00
Pierangelo Masarati
e047657f06
remove overoptimistic assertion
2005-01-26 10:27:38 +00:00
Pierangelo Masarati
9e6d64a0ad
move supported controls listing at backend startup; allow supported controls to be set/mucked in between
2005-01-26 09:53:29 +00:00
Pierangelo Masarati
5427af1f62
don't play with controls at bind; rather use the ldap_*_ext API
2005-01-26 09:52:12 +00:00
Pierangelo Masarati
beb0f6983a
fix previous commit
2005-01-26 09:45:51 +00:00
Pierangelo Masarati
947f87441e
don't play with controls at bind
2005-01-26 09:45:23 +00:00
Pierangelo Masarati
74896472de
don't add the trailing '??base' to URIs
2005-01-26 09:29:22 +00:00
Pierangelo Masarati
c67ce5f2e3
inherit controls
2005-01-26 08:57:39 +00:00
Pierangelo Masarati
e2fe9e394a
fix controls run-time registered by global overlays (kludge non longer required?)
2005-01-26 08:04:19 +00:00
Howard Chu
51c4161ca9
Add -q quick option for slapindex too
2005-01-26 03:14:47 +00:00
Howard Chu
87ad189972
Cleanup obsolete bits
2005-01-25 20:29:08 +00:00
Howard Chu
86ab73ecd6
Remove "fasttool" option; obsoleted by "slapadd -q"
2005-01-25 20:21:36 +00:00
Pierangelo Masarati
5b193c218f
fix dynamically registered controls check; NOTE: controls registered by global overlays don't work yet; better leave Kurt's kludge in place right now
2005-01-25 19:39:56 +00:00
Kurt Zeilenga
0bd2dafd53
More proper criticality handling. Implementation is a kludge.
2005-01-25 18:30:55 +00:00
Kurt Zeilenga
d68041ce50
Revert part of last (two) commits. Need additional infrastructure first.
2005-01-25 18:09:59 +00:00
Kurt Zeilenga
82d5ca4d4e
Remove redundant note.
2005-01-25 17:40:39 +00:00
Pierangelo Masarati
6239b70081
cleanup previous commit
2005-01-25 17:14:19 +00:00
Kurt Zeilenga
dd75979100
Prelim unavailableCriticalExtension v. unwillingToPerform fix (ITS#3308)
2005-01-25 16:52:16 +00:00
Pierangelo Masarati
c6a1f24186
add support for Chaining Behavior control (<draft-sermersheim-ldap-chaining>, a work in progress)
2005-01-25 16:11:26 +00:00
Howard Chu
f6ed0b0127
Fix cookie init
2005-01-25 11:14:09 +00:00
Kurt Zeilenga
28b5df9a90
Hide "work in progress"
2005-01-25 05:35:54 +00:00
Howard Chu
fc337704c5
Fix redundant index lookups from component matching
2005-01-24 12:25:37 +00:00
Pierangelo Masarati
c6b6d2a5ec
StartTLS (ITS#3507) + chain overlay fixes and improvements
2005-01-24 09:38:11 +00:00
Howard Chu
ad2a19d8eb
More for SLAP_TOOL_QUICK, disable locks as well
2005-01-24 08:21:55 +00:00
Howard Chu
12510a2da7
Use str2entry2
2005-01-24 03:42:56 +00:00
Howard Chu
fcf787dc0f
Rewritten str2entry, added str2entry2
2005-01-24 03:41:51 +00:00
Howard Chu
b674e6dd3d
Omit transaction support when running with SLAP_TOOL_QUICK
2005-01-24 01:37:38 +00:00
Howard Chu
fe03b5a8bb
Add '-q' "quick" option and SLAP_TOOL_QUICK def for slapadd to run
...
with fewer integrity checks. (may also change slapindex later.)
2005-01-24 01:37:09 +00:00
Pierangelo Masarati
03dba8c111
cleanup
2005-01-23 21:44:42 +00:00
Pierangelo Masarati
b70abdcbce
global overlays need to set o_bd = frontendDB to return the error in case no database can be selected
2005-01-23 21:44:23 +00:00
Howard Chu
47e7948007
Schema caching for slaptools
2005-01-22 20:18:38 +00:00
Pierangelo Masarati
ae0f47b063
improve parsing of acl-authcDN/acl-passwd
2005-01-22 18:48:03 +00:00
Pierangelo Masarati
066829a870
fix previous commit
2005-01-22 12:27:45 +00:00
Pierangelo Masarati
17f525a8ad
cleanup attribution
2005-01-22 11:17:14 +00:00
Pierangelo Masarati
a84938c294
fix ITS#3506
2005-01-22 10:21:03 +00:00
Howard Chu
7b65f9bab4
Really fix synchronization
2005-01-22 00:13:00 +00:00
Howard Chu
e67e45f752
Minor cleanup
2005-01-21 22:46:06 +00:00
Howard Chu
123668e241
More fixes for prev commit
2005-01-21 22:27:24 +00:00
Howard Chu
7de2352868
Fix synchronization in prev commit
2005-01-21 22:14:08 +00:00
Howard Chu
f6ac16dff7
Add option to use a second thread for adds
2005-01-21 21:20:56 +00:00
Kurt Zeilenga
69fcf8cbd6
Cleanup notices
2005-01-21 19:38:13 +00:00
Pierangelo Masarati
96fa1eda64
(blind) improvement of column name aliasing
2005-01-21 17:27:27 +00:00
Pierangelo Masarati
f0943f79ec
fix previous commit
2005-01-21 15:05:15 +00:00
Howard Chu
b18bc61831
ITS#3471 don't yield unnecessarily
2005-01-21 00:04:05 +00:00
Pierangelo Masarati
b116bb3814
fix ITS#3499 (may need further testing)
2005-01-20 22:44:54 +00:00
Pierangelo Masarati
9201649c3b
the attribute mapping features of rwm seem to be very broken. Here few issues related to ITS#3499 are fixed, but there's some work to do yet
2005-01-20 20:30:46 +00:00
Pierangelo Masarati
332438c3aa
fix ITS#3499
2005-01-20 19:28:01 +00:00
Pierangelo Masarati
3a4a442a51
fix attribution in copyright
2005-01-20 18:52:00 +00:00
Pierangelo Masarati
0057b66f87
improve previous commit; implement missing objectClass mapping feature
2005-01-20 18:39:51 +00:00
Kurt Zeilenga
64668f7207
Hide subtree delete control
2005-01-20 17:54:04 +00:00
Pierangelo Masarati
521100db56
fix ITS#3498; some cleanup
2005-01-20 17:44:53 +00:00
Pierangelo Masarati
2975c6d46e
provision for ITS#3497
2005-01-20 16:35:49 +00:00
Pierangelo Masarati
5785175313
provision for ITS#3497
2005-01-20 16:06:41 +00:00
Pierangelo Masarati
1d919d35a5
remove #ifdef's for identity assertion
2005-01-20 09:04:37 +00:00
Kurt Zeilenga
5ef410c1f3
Cleanup
2005-01-20 07:18:28 +00:00
Kurt Zeilenga
112179fef7
cleanup
2005-01-20 06:55:35 +00:00
Pierangelo Masarati
0c601c5db2
fix compare; more manageDSAit cleanup
2005-01-20 00:17:52 +00:00
Pierangelo Masarati
4f23e2e470
cleanup
2005-01-19 23:52:51 +00:00
Pierangelo Masarati
90cc75f1a1
cleanup; add proxyAuthz capability
2005-01-19 22:59:25 +00:00
Pierangelo Masarati
7d306eaadb
try to collect operational attributes as well
2005-01-19 22:58:56 +00:00
Howard Chu
4c65aa9c44
Make sl_context just return NULL in tool mode, we have no threads here
2005-01-19 21:42:04 +00:00
Kurt Zeilenga
dbfc9d1a16
Schema cleanup (and testing)
2005-01-19 20:29:06 +00:00
Kurt Zeilenga
d8428387d4
Fix goof in last commit
2005-01-19 20:25:21 +00:00
Howard Chu
eb7deb9eba
ITS#3494 fix deadlock
2005-01-19 19:18:28 +00:00
Pierangelo Masarati
5f178fd3d1
use idassert for proxyAuthz with the chain overlay
2005-01-19 19:11:35 +00:00
Kurt Zeilenga
addfa80025
Clarify schema source, status, and provide appropriate caution
2005-01-19 19:06:33 +00:00
Kurt Zeilenga
cd6a7ac5a8
Cleanup
2005-01-19 18:34:54 +00:00
Kurt Zeilenga
f9d36c0dce
Make most LDAP_DEVEL macro uses indirect
2005-01-19 18:34:36 +00:00
Howard Chu
8db476e664
More tweaks to ldif_parse_line2 for str2entry
2005-01-19 12:07:06 +00:00
Howard Chu
f8dfe10875
Fix prev commit
2005-01-19 08:48:13 +00:00
Howard Chu
692a3625a2
Cleanup rs->sr_text after entry_schema_check succeeds
2005-01-19 07:22:03 +00:00
Howard Chu
ffcfb8b967
Fix typo in prev commit
2005-01-19 07:02:14 +00:00
Howard Chu
3f4243def9
Cleanup prev commit
2005-01-19 06:43:33 +00:00
Howard Chu
577beaf982
Debugging aid for prev commit
2005-01-19 06:30:08 +00:00
Howard Chu
f2a067d997
Don't use DB->del when converting to a range, use the cursor that's
...
already open.
2005-01-19 06:03:14 +00:00
Howard Chu
bd8a9989f4
Added ldif_parse_line2 to parse in-place
2005-01-19 05:05:53 +00:00
Pierangelo Masarati
0d475ca4f0
cleanup
2005-01-19 00:12:46 +00:00
Pierangelo Masarati
3638004798
remove all referral specific code; now referrals can be used by defining appropriate data/metadata
2005-01-19 00:09:07 +00:00
Pierangelo Masarati
d520cd607d
remove all referral specific code; now referrals can be used by defining appropriate data/metadata
2005-01-19 00:00:52 +00:00
Pierangelo Masarati
a3fbea971b
map referrals in regular metadata structure (need to remove some of the specific code)
2005-01-18 23:28:03 +00:00
Pierangelo Masarati
d252d9c535
map referrals in regular metadata structure (need to remove some of the specific code)
2005-01-18 23:21:48 +00:00
Pierangelo Masarati
08d4af049f
cleanup error logging
2005-01-18 22:15:34 +00:00
Pierangelo Masarati
42b7753803
should we touch timestamps when internally updating?
2005-01-18 09:48:53 +00:00
Pierangelo Masarati
e559e61b4f
consistently use BER_* macros
2005-01-18 09:35:09 +00:00
Pierangelo Masarati
71ea8bb244
always invalidate freed memory\!
2005-01-18 09:29:14 +00:00
Pierangelo Masarati
8b26737c27
fix different issues with referrals in searches; remove unused tests; cleanup referrals in tests so that they don't get chased; improve schema checking in modrdn and updates in general; minor cleanup
2005-01-18 01:10:01 +00:00
Pierangelo Masarati
fa498ee015
various issues related to working with schemacheck off; allow referrals to be created as separate objectClasses, so they work with schemacheck on (may rework them to be treated as normal data)
2005-01-17 21:10:55 +00:00
Pierangelo Masarati
143937320b
remove dangling text pointer in case of success
2005-01-17 21:06:49 +00:00
Pierangelo Masarati
eb0421c471
fix several schema checking issues; add rename specific statement for entry renaming without losing ID (helps e.g. in renaming referrals, otherwise referential integrity would prevent del/add because of referenced stuff in ldap_referrals and ldap_entry_objclasses); referrals need schemacheck off otherwise objectClass chain is invalid (they need to be attached to another objectClass by now; will address this later)
2005-01-17 19:32:28 +00:00
Pierangelo Masarati
b4e37e518f
fixes for ITS#3480,3485,3489; implementation of DISCLOSE access for all operations (ITS#3472); ITS#3432.4; added value validate/pretty when applicable (see comments and #defines in back-sql.h)
2005-01-16 23:12:36 +00:00
Howard Chu
56e45fc1ae
Fix ITS#3490, set proper overlay context
2005-01-16 18:23:13 +00:00
Pierangelo Masarati
c8c043bd39
address ITS#3472/3480/3488/3489
2005-01-15 18:43:34 +00:00
Howard Chu
1dbe92c27b
Delete dubious use of be_syncinfo - only the consumer can write the
...
database, and it will only perform writes it received from the provider,
so referring back to the provider is pointless. (And of course, the
consumer never chases referrals.)
2005-01-15 10:39:23 +00:00
Howard Chu
8d0f39bb83
Cleanup slapcat usage
2005-01-14 16:23:50 +00:00
Howard Chu
9e8d2c5bb1
More cleanup
2005-01-14 16:20:15 +00:00
Pierangelo Masarati
06478f2265
silence warnings
2005-01-14 12:01:51 +00:00
Pierangelo Masarati
0079b3ce45
condition compilation of DISCLOSE checking (there's more to do)
2005-01-14 12:01:03 +00:00
Pierangelo Masarati
4644584a75
condition compilation of DISCLOSE checking
2005-01-14 11:51:16 +00:00
Pierangelo Masarati
7f8634e8fc
silence (a couple of) warnings
2005-01-14 11:50:24 +00:00
Pierangelo Masarati
53b8653730
small improvements; declare org_dn/org_ndn
2005-01-14 11:01:48 +00:00
Howard Chu
c8f3bbf9e5
ITS#3486 fix link order for static overlays
2005-01-14 07:13:07 +00:00
Howard Chu
2b66ee44bd
More cleanup of unused stuff
2005-01-14 05:57:58 +00:00
Howard Chu
aa27cb2262
Delete obsolete syncprovider stuff
2005-01-14 05:49:45 +00:00
Howard Chu
9f30e1e650
Delete obsolete syncprovider stuff
2005-01-14 05:19:51 +00:00
Howard Chu
7f5589174a
Fix cascading deletes
2005-01-14 05:11:38 +00:00
Howard Chu
27f7aa5b54
Minor cleanup
2005-01-14 05:10:23 +00:00
Howard Chu
495c315672
More consolidation for single consumer-context syncrepl
2005-01-14 04:26:59 +00:00
Howard Chu
b6fbfe8540
ITS#3463 additional fix
2005-01-14 02:08:02 +00:00
Pierangelo Masarati
014ee81c34
plug memory leak: bsi_attrs member
...
use tmpmemctx for bsi_attrs (should be used more for temporaries)
fix ITS#3480: allow to fetch all attrs or provide hints
fixed access check to entry for rename
TODO: fetch entries for access checking in selected code portions (e.g. rename)
2005-01-14 00:39:24 +00:00
Kurt Zeilenga
1780c8bf54
Only remove backends.c on make veryclean
...
Add dependencies
2005-01-14 00:12:14 +00:00
Howard Chu
f845c573b0
Single consumer context per database
2005-01-13 21:15:50 +00:00
Howard Chu
4c21a2712f
Fix prev commit
2005-01-13 21:14:52 +00:00
Howard Chu
93c56951ed
Use a single sessionlog per context, delete sid
2005-01-13 19:51:01 +00:00
Howard Chu
aa913f1bef
Use be_shadow_update, not be_isupdate
2005-01-13 19:02:08 +00:00
Howard Chu
bf27ba977b
Deleted syncrepl updatedn
2005-01-13 18:51:29 +00:00
Pierangelo Masarati
69fbd2e66e
propagate opattrs if shadow update
2005-01-13 18:43:59 +00:00
Kurt Zeilenga
3118f1fd2e
Fix backends.c VPATH builds
2005-01-13 17:30:07 +00:00
Sang Seok Lim
0291e294c5
Handling multi-valued attributes in Component Matching
2005-01-13 09:48:52 +00:00
Sang Seok Lim
eaa58e131c
handling multi-valued attrivutes in Component Matching
2005-01-13 09:48:20 +00:00
Pierangelo Masarati
5a7108ee1b
add '+' string concatenation operator
2005-01-13 09:21:11 +00:00
Pierangelo Masarati
7348603a53
fix ITS#3484
2005-01-12 23:22:56 +00:00
Pierangelo Masarati
4e06af2247
cosmetic cleanup
2005-01-12 21:02:58 +00:00
Pierangelo Masarati
4e6fd44213
the fixes to ITS#3475 make the referrals callback no longer required
2005-01-12 21:02:23 +00:00
Pierangelo Masarati
9885b55e9d
fix referral return in back-ldbm as well (same as ITS#3475)
2005-01-12 21:01:42 +00:00
Pierangelo Masarati
3bbfa91177
fix ITS#3483 (continuation of ITS#3472)
2005-01-12 18:55:40 +00:00
Pierangelo Masarati
6bf8b945dd
fix use of uninitialized var
2005-01-12 15:11:17 +00:00
Pierangelo Masarati
42dadd5712
typo
2005-01-12 14:34:46 +00:00
Pierangelo Masarati
d5238b91eb
further refinement of ITS#3461
2005-01-12 14:31:03 +00:00
Pierangelo Masarati
b381e1bcc8
cosmetic changes
2005-01-12 14:25:08 +00:00
Howard Chu
16f3cdeb19
More cleanup for prev commit
2005-01-12 02:32:48 +00:00
Howard Chu
53fcde0927
ITS#3463 don't muck with frontend's operations, just our detached ones
2005-01-12 01:49:00 +00:00
Howard Chu
b0da3a0e32
Clear write events after they're processed
2005-01-12 00:57:53 +00:00
Pierangelo Masarati
b46518ff77
silence warning for global scoped global ACLs
2005-01-12 00:53:50 +00:00
Pierangelo Masarati
056c5ba7c1
fix couple of bugs in recent 'disclose' commits; prepare for sending matchedDN when appropriate; note ITS#3480 access control issues
2005-01-12 00:28:37 +00:00
Howard Chu
b803b49e5f
ITS#3421 flush and close logfile before releasing lock
2005-01-12 00:17:12 +00:00
Howard Chu
0bc4b77527
Clean up unused bt_compare references
2005-01-11 22:38:39 +00:00
Howard Chu
89da582d69
Byte-order independence for HDB: dn2id format changed again.
2005-01-11 22:25:52 +00:00
Howard Chu
bd498d2996
Fix undetected deadlock
2005-01-11 22:08:06 +00:00
Howard Chu
98212b7e08
Start removing custom sort functions from hdb
2005-01-11 19:47:05 +00:00
Pierangelo Masarati
0e04985332
honor 'disclose' ACL on searchBase/compare/referral/matched (ITS#3472 and comments on -devel)
2005-01-11 19:37:55 +00:00
Pierangelo Masarati
f369e34049
honor 'disclose' ACL on searchBase/compare/referral/matched (ITS#3472 and comments on -devel)
2005-01-11 15:59:13 +00:00
Howard Chu
05648b22fb
Fix findmax when multiple matches are found
2005-01-11 05:00:59 +00:00
Pierangelo Masarati
4f9db2e2d7
suggested change for ITS#3475
2005-01-11 00:38:04 +00:00
Pierangelo Masarati
83d1e22b8c
don't malloc if proxyAuthz is the only control
2005-01-11 00:37:22 +00:00
Howard Chu
d140433c9f
ITS#3470 don't propagate error if hasSubordinates fails, it's not that
...
important.
2005-01-11 00:05:22 +00:00
Pierangelo Masarati
41d7c03e8b
clear out the error
2005-01-09 23:30:19 +00:00
Pierangelo Masarati
154ae48d69
put back chain overlay into back-ldap
2005-01-09 21:26:32 +00:00
Pierangelo Masarati
28b18b1869
minor cleanup
2005-01-09 21:25:12 +00:00
Kurt Zeilenga
7dc0b02fc9
Replace backend.h with backends.c, generated by config.status.
2005-01-09 08:42:44 +00:00
Pierangelo Masarati
0ea4070eb1
clarify error message and allow -u (dryrun) option for slaptest, to circumvent database startup
2005-01-08 12:02:14 +00:00
Pierangelo Masarati
e5c58636de
enable if one suffix only is present
2005-01-08 11:33:51 +00:00
Pierangelo Masarati
cd2e651c26
ITS#3469: C99 compliance
2005-01-08 11:25:11 +00:00
Pierangelo Masarati
8d14165274
fix ITS#3464
2005-01-08 10:59:32 +00:00
Pierangelo Masarati
83fc428a44
make sure the attribute exists
2005-01-08 09:59:53 +00:00
Pierangelo Masarati
9d5d9cc2ec
fix mix memory issues and cleanup
2005-01-08 09:59:16 +00:00
Pierangelo Masarati
e5eaef6248
fix previous commit
2005-01-08 09:51:29 +00:00
Pierangelo Masarati
5422345e55
major namespace cleanup & minor fixes
2005-01-08 09:20:54 +00:00
Pierangelo Masarati
4d8267595f
retry on ldap_result() with a timeout
2005-01-08 09:19:51 +00:00
Pierangelo Masarati
4b4bdc6bf6
...but rather here: GLUE entries would remain such until the server was restarted
2005-01-08 09:13:16 +00:00
Pierangelo Masarati
8cfda61cb4
cosmetic changes (the problem was not there)
2005-01-08 09:12:35 +00:00
Pierangelo Masarati
a4a9d9df72
beware of URIs that are not parsed or rebuilt successfully
2005-01-08 09:11:53 +00:00
Kurt Zeilenga
1c5d78d8dd
Add "disclose" and "manage" ACL levels (but no meat).
...
Disclose permission intended to be used for "disclose on error"
(as in our present "none"), none being "don't disclose on error".
Manage permission is intended to be used to allow DSA IT management
(e.g., changing entryCSNs, structuralObjectClass, etc.).
2005-01-08 05:26:18 +00:00
Kurt Zeilenga
1ad97bf656
Cleanup
2005-01-08 05:25:58 +00:00
Kurt Zeilenga
5593d17582
s/RFC2459/RFC3280/
2005-01-07 18:14:49 +00:00
Kurt Zeilenga
c72452dce0
Add X.520(4th)'s pseudonym
2005-01-07 18:11:05 +00:00
Pierangelo Masarati
f40527ef49
fix ACL value checking for bind (ITS#3446)
2005-01-07 13:57:16 +00:00
Pierangelo Masarati
6f2ffa30ed
fix ACL value checking for bind (ITS#3446)
2005-01-07 13:50:38 +00:00
Pierangelo Masarati
60a1ae56e4
fix value match
2005-01-07 13:37:22 +00:00
Pierangelo Masarati
845cc3d6ee
revert unintended commit
2005-01-05 16:25:12 +00:00
Pierangelo Masarati
f5936eb7fc
minor naming cleanup; improvements to DN mapping layer; major docs update
2005-01-05 16:23:00 +00:00
Pierangelo Masarati
c1e4eeb23b
fix max arg number for limits
2005-01-03 18:20:37 +00:00
Pierangelo Masarati
2ed3625a13
fix group limits when objectClass/attribute are provided
2005-01-03 18:09:03 +00:00
Pierangelo Masarati
edc9b936d0
mostly copyright cleanup; removal of unnecessary headers
2005-01-03 10:51:59 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Kurt Zeilenga
4b0a9be3b5
More cr statements
2005-01-01 20:43:42 +00:00
Kurt Zeilenga
477e1309d1
Update notice.
2005-01-01 20:38:40 +00:00
Pierangelo Masarati
642f7aed50
apply patches 1,2,3,5,8 (with changes) from ITS#3432)
2005-01-01 16:21:55 +00:00
Pierangelo Masarati
8ec78171d3
trim comment
2005-01-01 16:14:40 +00:00
Pierangelo Masarati
a8547f5945
fix comment
2005-01-01 16:14:11 +00:00
Pierangelo Masarati
9fbc616ac9
cleanup
2005-01-01 16:13:25 +00:00
Pierangelo Masarati
83dc46d1bf
set LDAPURLDesc lud_scope to LDAP_SCOPE_DEFAULT if set to LDAP_SCOPE_BASE, so no trailing '??base' is added to referrals...
2005-01-01 16:12:09 +00:00
Pierangelo Masarati
250c096713
rework internal handling of strings to minimize temporary allocation; impacts rewrite() and rewrite_session() behavior in case of no rewriting; set LDAPURLDesc lud_scope to LDAP_SCOPE_DEFAULT if set to LDAP_SCOPE_BASE, so no trailing '??base' is added to referrals...
2005-01-01 16:11:38 +00:00
Pierangelo Masarati
52b878dcc0
rework internal handling of strings to minimize temporary allocation; impacts rewrite() and rewrite_session() behavior in case of no rewriting
2005-01-01 16:10:25 +00:00
Kurt Zeilenga
c9156d7995
cleanup
2004-12-31 12:02:35 +00:00
Kurt Zeilenga
3ea0f0cd0b
Move test.schema to tests/data
2004-12-31 04:32:49 +00:00
Kurt Zeilenga
951159447b
Cleanup
2004-12-30 19:15:52 +00:00
Pierangelo Masarati
f1427fd871
remap compare attribute; fix erroneous pointers; minor cleanup
2004-12-30 17:46:38 +00:00
Pierangelo Masarati
ba6ac023ad
works now
2004-12-30 17:45:07 +00:00
Pierangelo Masarati
7b6d707d92
TODO: rewrite/remap the newRDN and related stuff both in back-meta and in rwm overlay
2004-12-30 15:06:58 +00:00
Pierangelo Masarati
bf2653ef8b
use normalized new superior
2004-12-30 14:49:30 +00:00
Pierangelo Masarati
889b20e358
fix error return when there's no write access to naming attributes (ITS#3450)
2004-12-29 13:45:16 +00:00
Pierangelo Masarati
4b8e57e11f
rework operations in a table-driven manner; better exception handling
2004-12-29 12:31:06 +00:00
Pierangelo Masarati
564d1a6aff
fix previous commit (for compilers that require at least one statement after a label)
2004-12-28 22:48:43 +00:00
Kurt Zeilenga
4a618959bb
PROTOS fix
2004-12-28 19:05:52 +00:00
Pierangelo Masarati
7a1537c640
list permissive in supported controls (ITS#3453)
2004-12-28 10:54:49 +00:00
Pierangelo Masarati
7198e9e4b9
fix typos leading to memory issues
2004-12-23 10:43:58 +00:00
Sang Seok Lim
263b8e72d5
Bug fix
...
support for multi-values attribute in Component Matching
2004-12-23 05:44:52 +00:00
Sang Seok Lim
65026f4300
Adjusting an initial buffer size for x509Certificate
2004-12-22 01:24:12 +00:00
Sang Seok Lim
e3ab329d4e
Fixing bug in extensible filter indexing
2004-12-22 01:23:27 +00:00
Sang Seok Lim
79d9ef9c87
Buf size adjustment
2004-12-21 04:46:44 +00:00
Sang Seok Lim
94ed6b410d
Cleanup unused fields of ComponentDesc
2004-12-21 04:46:21 +00:00
Jong Hyuk Choi
706e7f819a
misc cleanup
2004-12-20 22:07:17 +00:00
Jong Hyuk Choi
35c19ef342
misc fix for the component indexing commit
2004-12-20 20:28:30 +00:00
Sang Seok Lim
ccd3acc98e
return value mising
2004-12-20 04:48:16 +00:00
Sang Seok Lim
28a967584d
Component Indexing support for BDB
...
- only for equality matching
- only components of ASN.1 types used in an X.509 certificate can be indexed
(composite types except for RDN and DN are not supported yet)
- how to use
index [attribute name].[component reference] eq
Ex)
index userCertificate eq
index userCertificate.toBeSigned.issuer.rdnSequence eq
index userCertificate.toBeSigned.serialNumber eq
index userCertificate.toBeSigned.version eq
2004-12-20 03:31:44 +00:00
Howard Chu
b3dfae907f
Remove obsolete comment
2004-12-17 10:24:54 +00:00
Howard Chu
a2a1ffb05d
Revert previous, unnecessary
2004-12-17 09:48:26 +00:00
Howard Chu
090270e965
Use of bzero is not portable
2004-12-16 19:52:38 +00:00
Jong Hyuk Choi
238f6333d2
ITS#3445
2004-12-16 15:59:35 +00:00
Howard Chu
3c0ee263b5
Move mkdir def. It should really go somewhere else...
2004-12-16 15:41:49 +00:00
Howard Chu
8d4281d843
ITS#3443 fix shutdown test
2004-12-16 13:48:36 +00:00
Jong Hyuk Choi
5162c4477b
adaptive caching code
2004-12-14 17:25:35 +00:00
Jong Hyuk Choi
273052b573
adaptive caching implementation
2004-12-14 17:22:22 +00:00
Jong Hyuk Choi
d6410c9207
zone invalidation/locking implementation
2004-12-14 03:51:09 +00:00
Sang Seok Lim
3492452a5b
1) <select> and <content> type component reference support
...
2) attribute aliasing support
- x509CertificateIssuer
- x509CertificateSerial
- x509CertificateIssuerAndIssuer
3) AuthorityKeyIdentifier support(one of certificate extension)
4) Misc. improvement
- integrate OID and its decoder mapping table
- normalize and validate the values of both component asserions and
extracted components
5) Misc. bug fix
2004-12-13 16:26:58 +00:00
Pierangelo Masarati
c90c9f3689
don't try to send results on abandon (ITS#3434)
2004-12-12 23:23:00 +00:00
Howard Chu
4ea68d5e8d
Fix playlog uninit'd fields
2004-12-12 07:00:58 +00:00
Howard Chu
edde8c99d8
Fix ITS#3425, use less restrictive search filter when getting info about
...
an old entry that must be deleted.
2004-12-12 06:09:02 +00:00
Pierangelo Masarati
5a920206dd
more cleanup
2004-12-11 18:36:31 +00:00
Pierangelo Masarati
6fdb803bde
cleanup
2004-12-11 18:04:38 +00:00
Pierangelo Masarati
2f5e17d056
improve usability of global ovrlays for write operations; may need to anticipate SLAPI accordingly. More work needed for add (overlays need to understand they're global and call slap_mods2entry() explicitly)
2004-12-11 17:48:15 +00:00
Pierangelo Masarati
57c4f45977
work out an issue with chk_referrals and back-relay/rwm; this looks like the best compromise; minor cleanup
2004-12-11 17:37:21 +00:00
Pierangelo Masarati
ed0949c7e7
work out an issue with chk_referrals and back-relay/rwm; this looks like the best compromise
2004-12-11 17:36:25 +00:00
Jong Hyuk Choi
7e310a62d8
data struct for zone allocator
2004-12-11 17:16:58 +00:00
Pierangelo Masarati
fa4918ec1e
(temporary?) fix to ITS#3434
2004-12-11 16:28:45 +00:00
Pierangelo Masarati
bd166fbcb8
rework fix for NULL be_pcl_mutexp
2004-12-11 15:44:30 +00:00
Pierangelo Masarati
b498a9222a
better fix to ITS#3433
2004-12-11 15:41:50 +00:00
Pierangelo Masarati
0fe40e4ebd
temporarily work around ITS#3433; need to understand why it happens and how to fix it correctly
2004-12-11 14:06:21 +00:00
Pierangelo Masarati
fe30850765
required by global overlay write funcs...
2004-12-11 12:53:47 +00:00
Howard Chu
73bab2b619
Moved cookie validation into slap_parse_sync_cookie so consumer uses it too
2004-12-10 03:18:33 +00:00
Howard Chu
ccdbb52266
Don't reject invalid cookies, just ignore them. partially revert prev.
2004-12-10 02:51:34 +00:00
Howard Chu
9a6e040373
Fix, don't record psearch until after it has been validated
2004-12-10 01:50:16 +00:00
Howard Chu
480394acef
Fix abandon, only drop our cloned ops, not real frontend ops
2004-12-10 01:35:34 +00:00
Pierangelo Masarati
d3210693d2
minor cleanup
2004-12-09 23:11:08 +00:00
Jong Hyuk Choi
10f8eae366
updated zone tree structure; added debug info
2004-12-09 22:32:19 +00:00
Howard Chu
19abba6cc2
Fix abandon processing
2004-12-09 22:21:26 +00:00
Howard Chu
948fa42499
Fix prev commit
2004-12-09 21:49:24 +00:00
Howard Chu
423c53d267
Add fe_op_abandon, call it in connection_abandon()
2004-12-09 21:17:29 +00:00
Howard Chu
dced3cca04
Fix typo in prev commit
2004-12-09 21:16:16 +00:00
Howard Chu
dc7ec5c6db
Fix delete/refresh switch
2004-12-09 20:30:48 +00:00
Howard Chu
41aaaf0b8d
Persist mode fixes
2004-12-09 19:52:30 +00:00
Jong Hyuk Choi
c88afd1e17
include zn_malloc.c
2004-12-09 17:35:05 +00:00
Jong Hyuk Choi
670e418064
minor cleanup
2004-12-09 16:43:36 +00:00
Jong Hyuk Choi
10115c2f18
zone-based memory allocator for adaptive caching
2004-12-09 16:38:25 +00:00
Howard Chu
cf137fc9ef
Fix 1.48 change
2004-12-09 09:20:11 +00:00
Howard Chu
c83a74f4f3
Add better validation of received cookie csn
2004-12-09 08:49:54 +00:00
Howard Chu
4b736945be
A better approach for detach_op
2004-12-09 08:28:12 +00:00
Howard Chu
bbe93b5141
ITS#3426, copy group ACL cache to saved Op
2004-12-09 08:14:57 +00:00
Howard Chu
72490da301
Fix ITS#3424
2004-12-08 20:55:35 +00:00
Pierangelo Masarati
989cba9de5
cleanup; add entryCSN
2004-12-08 19:40:46 +00:00
Pierangelo Masarati
10ce37aa31
fix schema (1.3.6.1.4.1.4203.666.3.13 for 'monitoredObject' was already assigned to 'lastmod')
2004-12-08 19:21:37 +00:00
Pierangelo Masarati
ccc54a2994
- consistently honor multiple referrals
...
- return those that failed as referrals
- fix handling of some operational attributes
- fix URI rebuilding (use default scope)
- make copies of o_req_dn/o_req_ndn in case other overlays muck with them
2004-12-08 19:14:57 +00:00
Pierangelo Masarati
fefa59059d
minor cleanup
2004-12-08 19:11:27 +00:00
Pierangelo Masarati
80c2bb5003
clarify why we don't accept scheme other than ldap:// in authz-regexps
2004-12-08 19:09:54 +00:00
Pierangelo Masarati
cad0d2b705
make sure global overlays don't use ora_e after the lock is released
2004-12-08 19:08:06 +00:00
Pierangelo Masarati
24a3f59e53
use pre-formatted log string in configure; note the failure reason for DN syntax checks
2004-12-08 19:07:24 +00:00
Pierangelo Masarati
af7079d32b
declare oc_bvfind_undef()
2004-12-08 19:06:10 +00:00
Jong Hyuk Choi
4984e157b1
misc cleanup
2004-12-08 08:12:15 +00:00
Howard Chu
97d7bdf0f4
ITS#3423 implement delete for ID sets
2004-12-08 04:47:29 +00:00
Howard Chu
0eab783e6a
ITS#3422, restore original select() behavior
2004-12-08 03:47:48 +00:00
Howard Chu
b8c6727dc9
Fix playlog search
2004-12-08 02:05:50 +00:00
Howard Chu
8bad70d957
Added sessionlog support. consumer needs work...
2004-12-08 00:47:24 +00:00
Howard Chu
99f2d0b49b
Let slap_get_commit_csn return the current CSN as well
2004-12-08 00:46:14 +00:00
Howard Chu
33bb06475b
Fix findpresent, include user's filter
2004-12-07 18:52:55 +00:00
Kurt Zeilenga
d616bd4ff8
cleanup
2004-12-07 18:40:47 +00:00
Howard Chu
d3d73a0b96
Delete unused slap_build_syncUUID_set()
2004-12-07 18:29:21 +00:00
Howard Chu
4ae3efbdd7
Rearrange shortcut check for context with no changes
2004-12-07 10:43:48 +00:00
Howard Chu
c14cf9c7c8
Preallocate syncuuid set instead of realloc/freeing
2004-12-07 10:05:24 +00:00
Pierangelo Masarati
f3a959970e
hardcode "uid" into slapd & improve previous commit
2004-12-07 10:01:48 +00:00
Howard Chu
b70d375964
Fix ITS#3420
2004-12-07 08:48:28 +00:00
Howard Chu
bc09291b81
restore code in search_cleanup to free ctrls
2004-12-07 02:58:33 +00:00
Howard Chu
c607449cd0
Write contextCSN during db_open if it's newer than was previously recorded
2004-12-07 02:20:15 +00:00
Howard Chu
fc9b1b7aca
Delete unused be_context_csn, cleanup pending csn entry
2004-12-06 23:17:58 +00:00
Howard Chu
e14322dcbf
Fix entry_release backend swapping
2004-12-06 22:13:19 +00:00
Howard Chu
e472ed00e2
Fix inequality cursor management
2004-12-06 21:25:16 +00:00
Howard Chu
4ffff34a65
Fix mod locking
2004-12-06 20:32:53 +00:00
Pierangelo Masarati
cc78fb525b
ITS#3419: values in built auth DNs may need DN escaping, so build them via ldap_dn2bv
2004-12-06 15:17:23 +00:00
Howard Chu
810abc1419
Better fix for prev commit
2004-12-06 07:38:09 +00:00
Howard Chu
89912db91e
Store entryIDs in big-endian order, no more custom sort function.
...
back-hdb still needs work.
2004-12-06 07:28:47 +00:00
Howard Chu
a518895b72
Fix previous commit
2004-12-06 07:27:09 +00:00
Howard Chu
3e5a2904e8
bdb_tool_dn2id_get should use bdb_dn2id, not duplicate the code
2004-12-06 07:25:33 +00:00
Howard Chu
70f375eae0
Fix GE inequality lookups, key was getting overwritten
2004-12-06 07:16:57 +00:00
Howard Chu
ee01d03766
Don't assert on short time strings, just ignore them.
2004-12-06 03:37:06 +00:00
Howard Chu
fb2d226a70
Add glue overlay
2004-12-05 21:15:48 +00:00
Howard Chu
7e2aea4994
Forced commit - add CVS ID tag
2004-12-05 20:57:34 +00:00
Howard Chu
ee9872f39f
Restored findcsn( MAX ), used at db_open time
2004-12-05 20:52:49 +00:00
Howard Chu
76ad79b7d7
More shutdown fixes
2004-12-05 08:19:28 +00:00
Howard Chu
de85fbc6e0
Fix prev commit
2004-12-05 07:30:12 +00:00
Howard Chu
25334fec4e
Make sure db_close only gets called once
2004-12-05 07:07:50 +00:00
Howard Chu
2c25924d28
Go back to original startup/shutdown behavior. Fix entry_release.
2004-12-05 06:44:54 +00:00
Howard Chu
8a4931c4d6
Fix typo
2004-12-05 03:06:01 +00:00
Howard Chu
8dd2d202e5
Fix defaultSearchBase
2004-12-05 02:10:50 +00:00
Howard Chu
30a6f4d24d
Better fix for ITS#3365, manage back-bdb's read locks so frontend/etc.
...
don't need to worry about them.
2004-12-05 02:00:19 +00:00
Howard Chu
dfb8c86dc3
Deleted subordinate keyword in favor of glue overlay
2004-12-04 20:08:56 +00:00
Howard Chu
8ac15e9069
Delete backglue.c in favor of glue overlay
2004-12-04 19:41:58 +00:00
Howard Chu
916e931065
Always exclude subordinates from top-level ops so glue overlay can
...
intercept. Now a single syncprov works over the entire glued context.
2004-12-04 19:26:22 +00:00
Howard Chu
36a3a1d62f
FIx ITS#3417,3418 bogus string arg handling
2004-12-03 17:53:07 +00:00
Howard Chu
b467dbb470
ITS#3404, fix uninit'd ctrl fields
2004-12-03 17:28:33 +00:00
Howard Chu
74da2306ff
Add a checkpoint task if time-based checkpointing is configured.
2004-12-03 17:11:39 +00:00
Howard Chu
5c8fd8bf11
Rename syncrepl_rq to slapd_rq, move to daemon.c
2004-12-03 16:49:23 +00:00
Pierangelo Masarati
2624711bc5
fix ITS#3413,3414; cleanup for readability; silence warnings
2004-12-03 10:11:43 +00:00
Pierangelo Masarati
564c34d131
fix ITS#3416
2004-12-03 08:41:06 +00:00
Howard Chu
5a5fc55a13
Fix ITS#3413, bad variable re-use
2004-12-03 03:39:27 +00:00
Howard Chu
a4f3a45b6d
Fix ITS#3412, bogus TLS option processing
2004-12-03 03:22:05 +00:00
Pierangelo Masarati
2d88c1b826
comment about helper requirements
2004-12-02 22:59:55 +00:00
Howard Chu
02a85a1c93
Hide CSN schema dependencies
2004-12-02 16:59:00 +00:00
Pierangelo Masarati
5769f419db
cleanup previous commit (still temporary, need to define dedicated attributeTypes)
2004-12-02 12:32:36 +00:00
Howard Chu
1e577505eb
Add CSN syntax, matching rules (to support inequality indexing)
2004-12-02 09:05:26 +00:00
Howard Chu
f83b55b2a2
Avoid segfault if backend_destroy is called before frontendDB is created
2004-12-02 08:59:02 +00:00
Pierangelo Masarati
0cc024a370
more on DN munging; now works for all operations
2004-12-02 00:33:36 +00:00
Pierangelo Masarati
396743f62f
fix DN munging; also fix potential error when logging incomplete deletes
2004-12-01 23:16:21 +00:00
Sang Seok Lim
98485f5247
1) existing matching rules support in component filter
...
2) remove double buffering for decoded component values
3) caching decoded component assertion values
2004-12-01 22:11:55 +00:00
Pierangelo Masarati
6e12819387
allow undefined schema items to be returned by back-ldap and remapped by the rwm overlay
2004-12-01 21:47:13 +00:00
Howard Chu
996354e2dd
Pass entire entry to password_quality check module, not just attrs
2004-12-01 16:01:04 +00:00
Pierangelo Masarati
8866a28fb3
don't yell at regex styling that wraps all the suffix in a submatch
2004-11-30 22:50:07 +00:00
Jong Hyuk Choi
8771bdfcbb
restructuring and cleanup
2004-11-30 16:32:37 +00:00
Howard Chu
4869523567
Add comments, fix search args in syncrepl_entry
2004-11-30 11:08:25 +00:00
Pierangelo Masarati
0c65f51ab2
fix user/operational mix of attribute request
2004-11-30 01:49:06 +00:00
Pierangelo Masarati
66a66db3da
retry if addition of an entry previously added as glue fails; entryUUID must be added to mods in pretty and normalized form
2004-11-30 01:48:08 +00:00
Howard Chu
86ef9285b7
Delete define of SLAPD_OVER_GLUE
2004-11-30 01:40:58 +00:00
Pierangelo Masarati
e77570799b
essential support for refreshOnly syncrepl
2004-11-29 22:04:53 +00:00
Howard Chu
ad9f3ebe34
Backglue hastily modified as an overlay
2004-11-29 20:55:50 +00:00
Sang Seok Lim
decfd7217f
1) <all> type component reference support
...
2) nibble type memory support when decoding
3) description type object identifier support
4) OPTIONAL, DEFAULT support in certificate decoder/extractor/matching
5) Misc bug fix
2004-11-29 20:21:38 +00:00
Howard Chu
7bdf2ab549
_operational should return SLAP_CB_CONTINUE
2004-11-29 19:33:35 +00:00
Pierangelo Masarati
9114b1b116
glue also in case of no such object, indicating that the suffix entry is missing yet (unordered results of initial content poll)
2004-11-29 19:03:55 +00:00
Howard Chu
7129b27810
Fix db_close
2004-11-29 14:17:16 +00:00
Pierangelo Masarati
6b1c641bc1
warn users of the need to use the rwm overlay
2004-11-29 12:40:36 +00:00
Howard Chu
ef2df3e398
Cleanup - enable config, delete unused code
2004-11-29 10:27:38 +00:00
Pierangelo Masarati
6c3715aff9
more on syncprov support
2004-11-29 09:36:22 +00:00
Howard Chu
4fec2f56df
Fix slap_known_controls initialization
2004-11-29 08:55:50 +00:00
Howard Chu
d47f98c2eb
Cleanup... never replicate syncConsumersubentries. Plug memleaks.
2004-11-29 06:51:44 +00:00
Howard Chu
a88c78d64e
Remove syncinfo si_UUID_dn, make consumer use modify/modrdn instead of
...
just deleting and adding modified entries.
2004-11-29 05:56:51 +00:00
Howard Chu
948aca3540
Partially revert previous commit. Fix startup csn generation.
...
Fix findbase initialization.
2004-11-29 05:54:55 +00:00
Howard Chu
0145d54325
In build_new_dn, rdn may be part of a larger string, use strncopy.
2004-11-29 04:03:56 +00:00
Pierangelo Masarati
2c89c53cda
fix typo
2004-11-29 00:53:43 +00:00
Pierangelo Masarati
873a5b73ff
first round at enabling back-sql as LDAPsync provider
2004-11-29 00:50:55 +00:00
Pierangelo Masarati
fc57a3e3f8
generate contextCSN if not available; don't fail if a referral is sent (or don't accept referrals?)
2004-11-29 00:48:26 +00:00
Pierangelo Masarati
870cc69c93
fix o_hdr use
2004-11-28 16:25:20 +00:00
Howard Chu
74b745454e
Use rdwr lock for si_mods to avoid deadlock
2004-11-27 20:34:12 +00:00
Howard Chu
8f64cb135f
Fix syncprov_db_close, only cleanup thrctx once
2004-11-27 16:05:49 +00:00
Pierangelo Masarati
6f182a7547
make unregistered known controls show up as undefined; move LDAPsync cid to frontend; some cleanup
2004-11-27 15:08:24 +00:00
Howard Chu
8d0cd119ab
Let the backend know there's a sync search
2004-11-27 14:54:49 +00:00
Howard Chu
865f0db180
Add checkpointing to save contextCSN periodically. Read contextCSN
...
on startup, save on shutdown.
2004-11-27 14:52:28 +00:00
Howard Chu
30333b989c
Let the overlay run before the backend in bi_db_close
2004-11-27 14:43:07 +00:00
Howard Chu
38b430be3c
Fix prev commit
2004-11-27 11:50:54 +00:00
Howard Chu
d3ced75fe7
Add SLAP_DBFLAG_OVERLAY
2004-11-27 11:45:54 +00:00
Howard Chu
b4eceddb52
Add slap_find_control_id
2004-11-27 11:45:07 +00:00
Howard Chu
ed9925f6d9
Cleanup controls
2004-11-27 10:49:47 +00:00
Pierangelo Masarati
27529430a6
wait until syncprov freezes
2004-11-27 10:16:15 +00:00
Howard Chu
1bb93ae084
Fix modify serialization
2004-11-27 08:55:04 +00:00
Howard Chu
584d5355b8
Fix overlay aux_operational, add contextCSN as operational attribute
...
of suffix entry
2004-11-27 08:30:44 +00:00
Howard Chu
8866cc9c92
Force a refresh if the search base has changed
2004-11-27 07:47:24 +00:00
Howard Chu
ee20d206cd
Cleanup
2004-11-27 07:29:10 +00:00
Howard Chu
08564beb6b
Serialize multiple modifies of the same entry (ala seqmod.c)
2004-11-27 07:05:24 +00:00
Howard Chu
287d5be13c
Fix op_cleanup
2004-11-27 07:04:52 +00:00
Howard Chu
8d9509d8d0
Fix abandon sequencing
2004-11-27 06:17:24 +00:00
Howard Chu
5dc1dd1441
Added abandon/cancel support
2004-11-27 01:26:12 +00:00
Howard Chu
5f99f7c991
More migration of syncrepl from frontend to syncprov overlay
...
define OPERATION_BUFFER_SIZE for dummy Operations
2004-11-27 00:57:37 +00:00
Howard Chu
a2400fc0f8
Self-contained detached operation
2004-11-26 23:10:48 +00:00
Howard Chu
2620b4084d
Added response queuing for updates occurring during a refresh
2004-11-26 21:24:40 +00:00
Howard Chu
d413097d8b
Fix prev commit
2004-11-26 17:32:36 +00:00
Howard Chu
e6dd9ec8a2
More Opheader fixes
2004-11-26 10:10:29 +00:00
Howard Chu
c2b339d456
More syncprov fixes. test019 now passes.
2004-11-26 09:40:22 +00:00
Howard Chu
3426a11983
More BDB_PSEARCH cleanup
2004-11-26 09:39:33 +00:00
Howard Chu
127a85b553
More Operation/Opheader fixes
2004-11-26 09:39:14 +00:00
Pierangelo Masarati
e891dbcdc4
fix dynacl compile
2004-11-26 00:34:48 +00:00
Howard Chu
90cc409325
Split Operation into Opheader and op
2004-11-25 22:59:00 +00:00
Howard Chu
3a5bde98ba
Disable back-bdb native syncrepl support, enable syncprov overlay,
...
remove syncrepl stuff from Operation struct
2004-11-25 21:16:54 +00:00
Howard Chu
618cc56265
Merge op->o_sync_mode into op->o_sync
2004-11-25 18:31:31 +00:00
Howard Chu
f0cae31b0e
Fix send_ldap* macros
2004-11-25 14:41:00 +00:00
Howard Chu
dca809ff8d
Revert previous commit, it breaks everything.
2004-11-25 07:03:43 +00:00
Howard Chu
bf97a1f865
Cleanup, add some more descriptive comments.
...
Still needs: error checking, queuing results when refresh is in progress
2004-11-24 20:34:28 +00:00
Jong Hyuk Choi
7fa860ef16
Add the omitted part from the original buddy allocator commit
2004-11-24 17:46:47 +00:00
Jong Hyuk Choi
83fd442ded
Omitted from the original buddy allocator commit
2004-11-24 17:27:25 +00:00
Howard Chu
a6d2bfe9a4
Persist passes test018
2004-11-24 17:07:14 +00:00
Howard Chu
fe4095ebc3
Use normalized UUID...
2004-11-24 16:13:20 +00:00
Howard Chu
4e530bf54d
First pass at persist, not working
2004-11-24 15:58:38 +00:00
Howard Chu
02e171e886
Use BackendInfo instead of direct references to back-ldap functions
2004-11-24 11:31:43 +00:00
Howard Chu
a057ff5bee
ITS#3401 avoid empty make target when SLAPD_DYNAMIC_BACKENDS is empty
2004-11-24 06:41:21 +00:00
Howard Chu
6170a2bbb4
Fix ITS#3400, move ebadf declaration
2004-11-24 05:27:59 +00:00
Pierangelo Masarati
dceaa05c0e
should fix compile when SLAPD_ACI_ENABLED is undefined
2004-11-23 21:20:13 +00:00
Jong Hyuk Choi
7891097a79
remove schema which was used for component match testing
2004-11-23 17:10:38 +00:00
Howard Chu
dbe5e00929
Use SLAP_CONTROL_* constants
2004-11-23 16:02:07 +00:00
Jong Hyuk Choi
994edd5500
buddy allocator for sl_malloc. Configurable at thread heap creation time. Need optimization for higher perf.
2004-11-23 15:37:06 +00:00
Howard Chu
50ed4465fb
slap_known_controls is now an array. (control.c r1.117)
2004-11-23 14:45:36 +00:00
Howard Chu
6bbca5e368
Now that we have a fixed number of slots for controls, don't bother
...
realloc'ing slap_known_controls.
2004-11-23 14:42:04 +00:00
Howard Chu
155387428a
Add comment for spare bits in ctrlflags
2004-11-23 14:12:13 +00:00
Howard Chu
47dd8d8732
Dynamic control management
2004-11-23 13:08:45 +00:00
Howard Chu
99ee94a3de
Tweak findcsn conditions for validating cookie csn
2004-11-22 03:56:27 +00:00
Howard Chu
09e2035c39
Passes test017
2004-11-22 03:24:59 +00:00
Howard Chu
c5006f4b87
Fix modtail initialization in loop
2004-11-22 02:11:15 +00:00
Howard Chu
e49c13b874
More refresh working...
2004-11-21 18:25:02 +00:00
Howard Chu
884ab2e0c7
Getting refresh working
2004-11-21 17:59:21 +00:00
Howard Chu
8632d8cd04
BDB 4.3 compatibility - errcall prototype
2004-11-21 16:50:24 +00:00
Howard Chu
70d3e8f102
Don't bother including <sys/epoll.h> if we're not using epoll.
2004-11-21 02:18:26 +00:00
Pierangelo Masarati
f93d4a31e8
allow a "users" type in ACI
2004-11-20 14:07:07 +00:00
Pierangelo Masarati
cc0353610f
more cleanup and ITS number
2004-11-20 12:12:57 +00:00
Pierangelo Masarati
c75386a279
cleanup fix to ITS#3303
2004-11-20 12:07:39 +00:00
Pierangelo Masarati
40762c524a
fix ITS#3303
2004-11-20 11:55:46 +00:00
Pierangelo Masarati
1e650374c2
add more semantics to the "type" field; fix a bug in anonymous operations; treat children aci_mask() as internal searches
2004-11-20 11:45:05 +00:00
Pierangelo Masarati
e79fbb88cf
move ACIs under a dynamic infrastructure that allows run-time loadable custom access control logic (needs work)
2004-11-20 01:27:03 +00:00
Howard Chu
2a50cbffd1
Use avl_find2, not avl_find
2004-11-20 00:55:58 +00:00
Howard Chu
87c74c2d52
Cleanup, delete test define
2004-11-19 23:45:31 +00:00
Howard Chu
d7c5ccabe9
Use exop_is_write() macro
2004-11-19 23:27:02 +00:00
Howard Chu
59b50101bd
Overlay for serializing modifications of a specific entry without
...
using backend-specific locks
2004-11-19 23:22:49 +00:00
Howard Chu
c8f49d0337
Add SLAP_EXOP_WRITES flag, expose flags in Operation,
...
add exop_is_write() macro for detecting exops that modify a target entry
2004-11-19 22:19:13 +00:00
Howard Chu
c7a8625da7
Fix waking test
2004-11-19 00:13:00 +00:00
Howard Chu
f0372748e8
Fix prev commit
2004-11-18 23:08:57 +00:00
Howard Chu
f825367acf
Check for sys/epoll.h
2004-11-18 22:07:37 +00:00
Howard Chu
fb7a5d7a55
shutdown on failure in epoll_ctl when adding a socket...
2004-11-18 19:29:24 +00:00
Howard Chu
bf0d729454
Fix prev commit, didn't mean to have HAVE_EPOLL hardcoded
2004-11-18 19:15:21 +00:00
Howard Chu
495ea2c13c
epoll support works
2004-11-18 19:06:14 +00:00
Howard Chu
b4e10e194d
Fix epoll compilation
2004-11-18 17:27:43 +00:00
Howard Chu
b7d4e1a5f1
First pass at macro-izing event handling method. Still only supports
...
select(). If you think this is too ugly, feel free to revert...
2004-11-18 16:41:04 +00:00
Howard Chu
0464155205
Allow a small number of waking events to be outstanding, not just 1
...
(chose 5 arbitrarily)
2004-11-18 15:40:49 +00:00
Howard Chu
69dc60e5ca
Count writers, don't pass w fd_set if there are none
...
Deleted broken/unused FD_MANUAL_COPY code
2004-11-18 00:19:52 +00:00
Pierangelo Masarati
f1187e4165
the caching database may need to inherit ACLs and limits from the proxy
2004-11-17 21:38:14 +00:00
Howard Chu
ecf5581f0d
Fix include path for backend.h when using separate object directory
2004-11-17 20:22:46 +00:00
Pierangelo Masarati
6ff5fce743
FIXME: needs work/cleanup
2004-11-17 19:42:19 +00:00
Pierangelo Masarati
6eec000889
improve diagnostics
2004-11-17 17:55:44 +00:00
Pierangelo Masarati
dd18c8b2a4
revert last commit
2004-11-17 15:56:25 +00:00
Howard Chu
f1ae2e63c1
Fix BDB 4.3 fasttool, flag must be set before opening environment
2004-11-17 15:12:31 +00:00
Pierangelo Masarati
262df940f1
cleanup previous commit
2004-11-17 15:05:59 +00:00
Pierangelo Masarati
bc478dee46
log the right function names
2004-11-17 14:53:03 +00:00
Pierangelo Masarati
437bd421bb
test "entry" as default attribute
2004-11-17 13:43:04 +00:00
Pierangelo Masarati
c7d2cf91fd
cleanup and line up with code
2004-11-16 22:14:21 +00:00
Howard Chu
2415f5085d
Avoid filling the wake_sds when massive numbers of connections close at once.
2004-11-16 20:26:50 +00:00
Pierangelo Masarati
184fc4878a
more on ITS#3396: note that the filter is mandatory, and that the protocol must be ldap://
2004-11-16 18:57:40 +00:00
Pierangelo Masarati
227961178e
fix ITS#3396 (filter in URI replacement must be present)
2004-11-16 18:43:48 +00:00
Pierangelo Masarati
947268c5ee
partially revert previous commit (the "creator" special DN pattern is redundant as "dnattr" is more expressive
2004-11-15 22:57:03 +00:00
Pierangelo Masarati
064eb88ef8
move special dn patterns to style enum; add creator special dn pattern
2004-11-15 22:15:28 +00:00
Pierangelo Masarati
78ddb88960
minor cleanup
2004-11-15 22:10:10 +00:00
Pierangelo Masarati
b29bf83e7e
remove back-*/external.h
2004-11-15 19:45:49 +00:00
Pierangelo Masarati
fcf89c9a3d
add directory in labeledURI for back-bdb/hdb; put overlays in database entry's children
2004-11-15 15:46:56 +00:00
Pierangelo Masarati
2d5ec082dd
cleanup
2004-11-15 14:17:08 +00:00
Pierangelo Masarati
5a91da6624
don't list multiple occurrences of the same overlay
2004-11-15 14:13:54 +00:00
Pierangelo Masarati
ee4c10d5d0
allow backends to automatically install overlays; issue warnings in case of duplicates (fixes ITS#3395 for cases (1.a), (1.b) and (2) simultaneously)
2004-11-15 10:28:33 +00:00
Howard Chu
04b078d6eb
Fix prev commit. I wonder if we should convert the fdset bitvector into
...
an array like winsock does. That would speed up response time for small
number of connections with large FD_SETSIZE, but probably equalize out
as the number of active connections goes up. ??
2004-11-15 04:05:32 +00:00
Howard Chu
a59243ceee
Slight tweak for select descriptor checking
2004-11-14 21:27:53 +00:00
Sang Seok Lim
a90e63fde0
ComponentFilterMatch support for userCertificate
2004-11-14 20:11:38 +00:00
Pierangelo Masarati
9c550e7235
first step towards removing back-*/external.h
2004-11-13 18:52:44 +00:00
Pierangelo Masarati
cd35386935
fix ITS#3391
2004-11-13 18:40:16 +00:00
Pierangelo Masarati
9cff3e39d8
inherit from back-ldap
2004-11-13 18:36:02 +00:00
Pierangelo Masarati
158067a46e
sanity check
2004-11-13 17:27:15 +00:00
Pierangelo Masarati
db4f223c66
improve overlay helpers
2004-11-13 17:20:24 +00:00
Pierangelo Masarati
7ff445d8ae
further cleanup
2004-11-13 15:10:47 +00:00
Pierangelo Masarati
f036fff9e5
further cleanup
2004-11-13 14:57:39 +00:00
Pierangelo Masarati
363fdcd951
no longer required (moved to rwm overlay)
2004-11-13 14:50:34 +00:00
Pierangelo Masarati
253266ef07
import stuff removed from back-ldap
2004-11-13 14:45:18 +00:00
Pierangelo Masarati
f176935a58
remove rewrite stuff -- now delegted to rwm overlay
2004-11-13 14:43:30 +00:00
Howard Chu
3cfbe2ec29
fasttool: BDB 4.3 uses DB_LOG_INMEMORY instead of DB_TXN_NOT_DURABLE
2004-11-13 13:23:33 +00:00
Howard Chu
ab25b43364
Update BDB 4.3 errcall prototype again to silence warnings
2004-11-13 13:22:48 +00:00
Pierangelo Masarati
d7bdb8cb24
disable referral rewrite in default suffix massage
2004-11-13 12:15:40 +00:00
Pierangelo Masarati
34478b3ca6
more on monitor customization
2004-11-12 12:54:42 +00:00
Pierangelo Masarati
5d99b9d747
cleanup
2004-11-12 12:53:19 +00:00
Pierangelo Masarati
f41f1aaac0
initialize var
2004-11-12 12:52:42 +00:00
Pierangelo Masarati
166f9afa34
check validity of naming context
2004-11-12 12:51:53 +00:00
Pierangelo Masarati
018526ff14
fix spurius noSuchObject when base=suffix
2004-11-12 12:51:16 +00:00
Pierangelo Masarati
5b67eecb45
don't hijack members of op for temporaries...
2004-11-12 12:49:43 +00:00
Pierangelo Masarati
7bee593572
cleanup
2004-11-12 12:46:30 +00:00
Pierangelo Masarati
ab94342cc6
silence warnings
2004-11-12 12:45:40 +00:00
Pierangelo Masarati
dd367a2b78
make sure we're comparing the same database
2004-11-11 13:12:34 +00:00
Pierangelo Masarati
91f2a8bc46
remove backed-out code from previous commit
2004-11-11 09:43:15 +00:00
Pierangelo Masarati
79f744f30b
rework static backend initialization
2004-11-11 00:39:19 +00:00
Pierangelo Masarati
be32dce97f
rework static backend initialization
2004-11-11 00:38:11 +00:00
Pierangelo Masarati
0e83717e80
fix return code; fix test (please review)
2004-11-11 00:32:47 +00:00
Jong Hyuk Choi
62febe5dff
fix slap_sl_free() calls in pre / post read controls
2004-11-10 21:38:41 +00:00
Howard Chu
616d7962ef
Fix bind_anon keyword
2004-11-10 18:20:49 +00:00
Pierangelo Masarati
f06f2a6aec
fix ITS#3350 (rewrite/remap will be replaced by the rwm overlay)
2004-11-10 09:56:55 +00:00
Pierangelo Masarati
b349604352
fix ITS#3387
2004-11-10 09:45:02 +00:00
Jong Hyuk Choi
71ac7140b6
fix suspicious capitalization to make subentries control work properly
2004-11-10 03:52:42 +00:00
Jong Hyuk Choi
b6f77e2936
ldapsync fix for recursive deletion (ITS#3385)
2004-11-10 03:52:12 +00:00
Howard Chu
73a666778e
Delete incorrect comments
2004-11-10 01:29:51 +00:00
Howard Chu
e0726c2b55
A bit more...
2004-11-09 03:12:03 +00:00
Pierangelo Masarati
70884b8860
allow to register entries and entry callbacks; radical namespace cleanup
2004-11-08 18:52:27 +00:00
Pierangelo Masarati
c8fd4a203b
allow creation of subsystems whatever order the databases appear
2004-11-08 11:33:53 +00:00
Pierangelo Masarati
3743579870
fix typo in rww; general cleanup
2004-11-08 10:55:33 +00:00
Pierangelo Masarati
b3ec75d032
rework subsystem initialization (can be added dynamically...)
2004-11-08 10:10:15 +00:00
Howard Chu
9dd58533ca
Better cache counting, partially revert 1.85
2004-11-08 07:18:33 +00:00
Howard Chu
504d7ea261
Assist in cache debugging
2004-11-08 04:23:37 +00:00
Ralf Haferkamp
c7a2f95493
Plugged memory leak
2004-11-05 15:29:59 +00:00
Howard Chu
e4c231fe0c
Only use libltdl #if SLAPD_MODULES is defined, otherwise ignore
...
external pwdCheckModules.
2004-11-05 08:57:05 +00:00
Howard Chu
4e56d4b75f
ITS#3376 fix subordinate keyword
2004-11-05 07:51:33 +00:00
Kurt Zeilenga
b29e311ae7
unifdef -DBDB_ALIASES
...
delete dead code
2004-11-05 07:48:15 +00:00
Howard Chu
1d35c8f8ec
ITS#3376 Fix prev commit, handling of replogfile
2004-11-05 07:10:44 +00:00
Howard Chu
db8debbfc8
ITS#3376 table-driven config engine
2004-11-05 06:22:04 +00:00
Howard Chu
9ebcc83796
Minor cleanup of prev commit
2004-11-04 03:10:03 +00:00
Howard Chu
3d23a4d2c5
Consolidate redundant code
2004-11-04 02:59:34 +00:00
Ralf Haferkamp
93cec8b694
- Added autoconf test for CRL capable OpenSSL Version
...
- #ifdef'd CRL checking code.
2004-11-03 12:02:38 +00:00
Howard Chu
aa7ed3d8c8
Incomplete skeleton
2004-11-02 04:51:06 +00:00
Sang Seok Lim
55b4021183
Misc cleanup
2004-11-01 19:10:54 +00:00
Sang Seok Lim
2ed313e7f2
Bug fix: return value check
2004-11-01 18:59:33 +00:00
Howard Chu
14b0d4fdad
Fix hdb cache kid counts
2004-10-31 22:07:15 +00:00
Howard Chu
7087ffa2ca
ITS#3356 - when purging cache, free entryInfo if node has no children
2004-10-31 13:04:27 +00:00
Howard Chu
501f749c05
Don't access entry after commit; it may be gone if the cache is full
2004-10-30 23:48:26 +00:00
Pierangelo Masarati
3b46fd7cde
silence warnings (some cleanup required)
2004-10-30 11:40:40 +00:00
Jong Hyuk Choi
42f8426b5b
patch for ITS#3379
2004-10-28 21:40:42 +00:00
Ralf Haferkamp
5704a2ef6e
CRL checking options for ldap.conf and slapd.conf
2004-10-28 18:50:38 +00:00
Jong Hyuk Choi
1d618e0964
move componentCertificate to test.schema for now
2004-10-27 22:01:19 +00:00
Kurt Zeilenga
33f8164c58
Remove 'componentCertificate', doesn't belong in 'core.schema'.
2004-10-27 21:37:40 +00:00
Sang Seok Lim
20965abe9c
remove a componentCertificate attribute from the organizationalPerson objectclass
2004-10-27 20:14:29 +00:00
Sang Seok Lim
2353678647
Header file for component.c
2004-10-27 19:53:26 +00:00
Sang Seok Lim
71e78dd7f9
Component Matching module
...
See "contrib/slapd-modules/comp_match/README" to understand
what's the purpose of this patch is and how to use it.
2004-10-27 19:37:02 +00:00
Howard Chu
02cf375603
ITS#3369 - be is seldom NULL, now test for be == frontendDB
2004-10-27 16:28:12 +00:00
Howard Chu
0c9c90a3e9
ITS#3365 - fix leaking bdb locks when evaluating dynamic groups
2004-10-27 14:52:18 +00:00
Howard Chu
e7ec96fc6d
ITS#3358 - make bdb_cache_lru_add skip entries that are being deleted
2004-10-27 14:01:12 +00:00
Pierangelo Masarati
fbe8243b86
warn when using "replogfile" or "replica" inside monitor database
2004-10-27 11:34:27 +00:00
Kurt Zeilenga
30fdb0e0ca
Fix LDAP Intermediate Response tag values.
...
with code to accept old values.
2004-10-20 21:47:40 +00:00
Kurt Zeilenga
a99731b001
Fix typo
2004-10-19 03:06:16 +00:00
Kurt Zeilenga
e983616d75
More NEW_LOGGING removal
2004-10-19 01:40:38 +00:00
Howard Chu
e6a12272cc
BDB 4.3 compatibility
2004-10-16 22:10:32 +00:00
Howard Chu
84ce549016
define DB_VERSION_FULL to simplify version checks
2004-10-16 21:59:58 +00:00
Howard Chu
1d0e99858a
Free old op->o_sync_csn before allocating new one. (Internal operations
...
using the same op structure, such as in refint overlay, cause a memleak
otherwise.) Probably should be using tmpmem for this.
2004-10-16 21:32:45 +00:00
Pierangelo Masarati
71035d3aa1
fix typo when string keys are used
2004-10-16 16:16:57 +00:00
Jong Hyuk Choi
6db389efd9
further cleanup of search data upon exit, abandon, cancel
2004-10-16 16:10:00 +00:00
Howard Chu
ca0bf91bba
BDB 4.3 compatibility, if the reader TXN is deadlocked we must abort
...
and recreate it.
2004-10-16 13:07:01 +00:00
Jong Hyuk Choi
0af878ac3f
syncrepl consistency patch: utilize BDB txn rollback
2004-10-12 17:53:50 +00:00
Kurt Zeilenga
38c7e86d67
ITS#3311: check sasl_auxprop_add_plugin return
...
cleanup
2004-10-11 20:52:31 +00:00
Jong Hyuk Choi
4efd705cc3
syncrepl consistency patch
2004-10-09 09:26:16 +00:00
Kurt Zeilenga
03712dcc3e
Conditionally add SIGTRAP signal handler
2004-10-09 04:55:41 +00:00
Kurt Zeilenga
2ad0485ea5
ITS#3362: Fix typo in dNSDomain def'n.
2004-10-08 17:41:02 +00:00
Pierangelo Masarati
9eabe1365b
improve memory allocation in sets
2004-10-08 15:07:22 +00:00
Pierangelo Masarati
56ee97ba1b
further cleanup of sets
2004-10-08 00:54:19 +00:00
Pierangelo Masarati
2f6f6f6a07
"optimize" sets: since the attr part must be an attribute, use the AttributeDescription
2004-10-08 00:28:16 +00:00
Pierangelo Masarati
559cf8bfb1
revert previous commit
2004-10-08 00:27:26 +00:00
Pierangelo Masarati
58edfcca31
improve previous commit
2004-10-07 23:38:17 +00:00
Pierangelo Masarati
aa2e9413f1
fix previous commit
2004-10-07 22:31:36 +00:00
Pierangelo Masarati
e5ade14256
improve previous commit; now attrs in URI, if any, are added to that in the [<dn>]/<attr> form
2004-10-07 20:44:01 +00:00
Pierangelo Masarati
6a9bf9765e
add URI search to sets; documentation to come...
2004-10-07 17:05:48 +00:00
Howard Chu
1df6d76269
Add ppolicy_hash_cleartext config keyword, hash Adds as well as Modifies.
...
Changed check_pw_quality callback to pass entry's Attributes in final arg.
2004-10-07 04:07:17 +00:00
Howard Chu
374cd32eb6
Add a retry for entry_get too. (oops)
2004-10-07 02:55:51 +00:00
Pierangelo Masarati
2b74930cb0
s/free/slap_sl_free/
2004-10-06 23:53:30 +00:00
Pierangelo Masarati
4afaf4042a
minor cleanup
2004-10-06 22:20:30 +00:00
Pierangelo Masarati
4204aee7b9
extend the availability of submatches to non-regex DN patterns
2004-10-06 22:03:33 +00:00
Howard Chu
95550f21a2
Fix prev commit
2004-10-06 07:26:35 +00:00
Howard Chu
7e87f54716
Revert ITS#3353 patch, it needs to be reworked.
2004-10-06 05:51:38 +00:00
Pierangelo Masarati
02828499f0
cleanup & silence warnings
2004-10-05 21:41:41 +00:00
Jong Hyuk Choi
db4bc08d8c
misc cleanup
2004-10-05 00:33:00 +00:00
Jong Hyuk Choi
4241325600
simplify attrs parsing and process objectClass differently
2004-10-05 00:30:15 +00:00
Pierangelo Masarati
2ccbe388b5
fix global configuration patch (ITS#3353)
2004-10-04 21:05:13 +00:00
Pierangelo Masarati
bf8e890ea7
fix global configuration patch (ITS#3353)
2004-10-04 20:57:14 +00:00
Pierangelo Masarati
0c1f1f959f
minor cleanup
2004-10-04 20:55:09 +00:00
Pierangelo Masarati
6ef9689b3f
fix string_expand error cases; cleanup
2004-10-04 20:52:58 +00:00
Pierangelo Masarati
e10186f1a5
add support for entryUUID and entryCSN operational attributes (entryUUID is honored in filters as well)
2004-10-04 01:19:53 +00:00
Pierangelo Masarati
87a63d3b5d
improve previous commit; consistently use dn/ndn; add support for LDAP_SCOPE_SUBORDINATE
2004-10-03 21:08:54 +00:00
Pierangelo Masarati
796dce8657
add (and honor) a (configurable) baseObject to workaround ldap_entries view for RDBMSes that do not support UNION in views
2004-10-02 17:33:32 +00:00
Pierangelo Masarati
fa8ee16d38
cleanup naming; minor fixes
2004-10-02 12:05:42 +00:00
Sang Seok Lim
258d0d3da2
Bug fix : msiing SLAPD_GLOBAL
2004-10-02 01:01:00 +00:00
Howard Chu
bbe986b94e
Add a retry for failed connections
2004-10-01 12:00:41 +00:00
Howard Chu
55f12a7eee
Add a retry for failed connections
2004-10-01 11:16:38 +00:00
Howard Chu
fda3d6260e
ITS#3353 consolidate slapd globals into a single struct
2004-10-01 07:33:16 +00:00
Pierangelo Masarati
60d4aaba54
fix, rework and optimize search base; allow orphaned entries addition
2004-09-28 23:27:39 +00:00
Howard Chu
62b6b32633
Add SLAP_MR_ORDERED_INDEX - support for inequality indexing. Currently
...
only implemented for generalizedTime syntax.
2004-09-28 13:11:11 +00:00
Howard Chu
e014144f98
Move time parsers from ppolicy.c to liblutil; preserve greater precision
2004-09-28 12:23:37 +00:00
Howard Chu
fc44ed4593
Tweak exact hashing in prev commit
2004-09-28 04:13:09 +00:00
Howard Chu
bf7c7a22d6
ITS#2661: configurable substring index lengths
...
ITS#2588: use subany to help long subinitial/subfinal matches
2004-09-28 02:51:00 +00:00
Pierangelo Masarati
39195e48a3
minor cleanup
2004-09-27 23:04:34 +00:00
Pierangelo Masarati
0fc89b6203
more cleanup
2004-09-27 22:16:21 +00:00
Pierangelo Masarati
b2cd66c0d8
fix ITS#3346
2004-09-27 22:04:20 +00:00
Jong Hyuk Choi
e8f30c8d0b
preserve attrs="*"
2004-09-27 16:16:53 +00:00
Pierangelo Masarati
c2c27c6839
fix csne destroy
2004-09-27 08:11:04 +00:00
Pierangelo Masarati
d2c08ed8d3
misc syncrepl cleanup/fixes
2004-09-26 23:00:35 +00:00
Pierangelo Masarati
d026e2c9f7
preformat "conn=%lu op=%lu"
2004-09-26 23:00:00 +00:00
Pierangelo Masarati
761f287943
multiple precision with BIGNUM/gmp/ulong
2004-09-26 22:58:47 +00:00
Pierangelo Masarati
2e9d64741c
put overlays in alphabetical order
2004-09-26 22:53:54 +00:00
Pierangelo Masarati
b09663d784
consistently check return value of BindParam*; rework macros to ease parameter binding; always add data length to string values (may need to specialize for integers)
2004-09-25 18:11:06 +00:00
Pierangelo Masarati
02cfafdded
add column size to SQLBindParameter when SQL_CHAR parameter type is used
2004-09-25 11:38:00 +00:00
Kurt Zeilenga
f0190506f1
ITS#3344: initialize threads early
2004-09-25 05:36:06 +00:00
Jong Hyuk Choi
292c568f36
a fix to prev commit
2004-09-25 03:21:30 +00:00
Kurt Zeilenga
31a6de16b0
ITS#3345: reorder includes to workaround Pth signal redefine problem
2004-09-25 01:47:02 +00:00
Jong Hyuk Choi
dda85fafe9
rework of slap_mods2entry dup
2004-09-24 08:19:50 +00:00
Jong Hyuk Choi
c7d4f2841e
back out prev commit
2004-09-24 07:26:44 +00:00
Jong Hyuk Choi
e4d199d7bb
A follow-on commit to the previous @oc support change to use anlist
2004-09-23 19:23:17 +00:00
Jong Hyuk Choi
5c0581b184
Modified @oc supprot code to the share anlist routines; Revised anlist routines
2004-09-23 02:48:14 +00:00
Pierangelo Masarati
0055675bfc
improve candidate selection when filtering by objectClass
2004-09-22 23:17:32 +00:00
Jong Hyuk Choi
a116c2fb5e
a memory fix for slap_mods2entry(): don't trim mods array - trim it outside
2004-09-21 03:08:07 +00:00
Howard Chu
89b03a1c7e
Make ppolicy_add consistent with ppolicy_modify - don't add pwdChangedTime
...
opattr on replicated entries.
2004-09-21 00:14:28 +00:00
Jong Hyuk Choi
34280359b5
misc bug fix for @oc support
2004-09-20 19:44:05 +00:00
Luke Howard
0ac9b6889e
Remove unused variable if not compiling with HAVE_TLS - NB slapd always
...
exposes register_certificate_map_function(), as better to return an error
if a plugin is compiled to use it and slapd is not built with HAVE_TLS
than failing with an unresolved symbol
2004-09-20 04:06:25 +00:00
Luke Howard
eb9720c802
Add register_certificate_map_function() native plugin API for registering
...
alternate X.509 peer normalization function
2004-09-20 03:52:39 +00:00
Kurt Zeilenga
2647a615ce
value_match cleanup
2004-09-18 06:04:57 +00:00
Kurt Zeilenga
7f773613f8
component cleanup
2004-09-18 02:32:06 +00:00
Jong Hyuk Choi
ffbb5d4ed2
*oc support in attr list
2004-09-18 02:07:41 +00:00
Kurt Zeilenga
d600afca9f
cleanup
2004-09-18 02:05:01 +00:00
Kurt Zeilenga
9c9d1917ce
ITS#3333 fix presence and substrings
2004-09-18 01:59:43 +00:00
Kurt Zeilenga
d4c7dfe847
cleanup
2004-09-18 01:19:07 +00:00
Kurt Zeilenga
ef1ebe0b2c
descriptors are case insenstive (ITS#3334)
2004-09-18 00:21:29 +00:00
Kurt Zeilenga
a997b94f1f
ITS#3333 fix for compare
...
filterentry cleanup
2004-09-17 22:07:29 +00:00
Kurt Zeilenga
9c5768cd8e
Initial ITS#3333 fix
...
(needs to be applied to other filter cases)
2004-09-17 21:43:28 +00:00
Sang Seok Lim
452fc403dd
Bug Fix : removing problematic counter increment
2004-09-17 16:49:38 +00:00
Jong Hyuk Choi
c60dca5c1e
free default_referral
2004-09-14 01:04:28 +00:00
Jong Hyuk Choi
86aa3728b9
referral mem leak fix
2004-09-14 01:03:08 +00:00
Jong Hyuk Choi
7dc0487341
support for syncrepl attr list in file (both attrs and exattrs)
2004-09-14 01:02:18 +00:00
Pierangelo Masarati
55e251e6e8
lots of cleanup; few improvements; fix RDN selection bug when creating connection dynamic entries; rework entries ordering - now it's more intuitive and regular; optimize counters update
2004-09-12 22:12:58 +00:00
Jong Hyuk Choi
1fe8f20516
release syncinfo mem upon syncrepl failure as well as shutdown
2004-09-11 22:37:21 +00:00
Kurt Zeilenga
444c49827c
Fix result codes
2004-09-11 20:01:03 +00:00
Pierangelo Masarati
9eca1bd75e
fix previous commit...
2004-09-11 17:46:00 +00:00
Pierangelo Masarati
c07979b968
fix previous commit when GMP is not defined
2004-09-11 17:29:05 +00:00
Pierangelo Masarati
c04bebe750
minor improvements
2004-09-11 16:16:41 +00:00
Pierangelo Masarati
a637926bf2
use GMP for multiple precision in counters
2004-09-11 16:15:53 +00:00
Pierangelo Masarati
7dc5a0bb83
fix negative counters; prepare for imrpved count of sent data
2004-09-11 11:05:41 +00:00
Pierangelo Masarati
48b7292fc6
blind update to new tests
2004-09-11 11:05:01 +00:00
Jong Hyuk Choi
98dc97bcb9
memory leak fixes
2004-09-11 02:02:09 +00:00
Kurt Zeilenga
3869e3b84d
Add localSSF slapd.conf(5) directive to set SSF associated
...
with ldapi:// sessions.
2004-09-10 22:35:24 +00:00
Kurt Zeilenga
0fa3715e04
ITS#3326: fix slaptest shutdown
2004-09-10 17:15:33 +00:00
Kurt Zeilenga
31cfbb90df
Use a statically allocated globals
...
Still failing on Freebsd 4.
2004-09-09 19:07:46 +00:00
Kurt Zeilenga
0b331b8159
changing a malloc to a calloc shouldn't change behavior, but
...
this change seems to causes test007 to fail on some systems
(e.g., FreeBSD 4).
2004-09-09 06:16:03 +00:00
Kurt Zeilenga
910076d26f
Add additional DN matching rules.
2004-09-09 03:56:58 +00:00
Kurt Zeilenga
741f9ea383
Add initial dnSubtreeMatch.
...
Should reuse other DN routines.
Need to add various other DN matching rule functions.
This commit, combined with entryDN and slapcat -a, should
fully address ITS#3112.
2004-09-09 02:07:27 +00:00
Kurt Zeilenga
f1f18f7b93
improve last commit
2004-09-08 21:53:46 +00:00
Kurt Zeilenga
c54a8de9c8
Fix entryDN matching
2004-09-08 21:51:12 +00:00
Kurt Zeilenga
cdd94c7aa1
Add "slapcat -a filter" support
2004-09-08 21:44:28 +00:00
Kurt Zeilenga
ee66a01b8c
Add entryDN MRA support. This is intended to be used:
...
(entryDN:isSubordinate:=dc=example,dc=net)
isSubordinate should be implemented in component matching terms
2004-09-07 21:10:28 +00:00
Kurt Zeilenga
f9c9219f98
Add presence and equality support for entryDN,
...
extensible matching (the main objective) coming soon.
(This stuff should really be table driven (for extensibility reasons).)
2004-09-07 20:58:46 +00:00
Kurt Zeilenga
f317696520
cleanup
2004-09-07 20:18:07 +00:00
Kurt Zeilenga
61d0fd3667
Fix OID assignment
2004-09-07 05:27:30 +00:00
Kurt Zeilenga
756a677482
entryDN is dynamic
2004-09-07 05:06:50 +00:00
Kurt Zeilenga
094bc99b83
Initial entryDN implementation.
...
Need to implement filter support (for entryDN and subschemaSubentry).
Fixed hasSubordinate assert() bug in entry filters
2004-09-07 05:00:33 +00:00
Kurt Zeilenga
7e2fe5babe
Use shtool(1) (to a limited degree, more use would simplify things)
...
Fix ITS#3285 (relative linking of slap tools).
2004-09-05 03:24:28 +00:00
Pierangelo Masarati
431acda61b
trying to make names consistent
2004-09-04 10:23:40 +00:00
Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +00:00
Kurt Zeilenga
e0a9ea2f50
Move MSVC port to the Attic
2004-09-04 04:37:41 +00:00
Kurt Zeilenga
64c5fa4a9d
ITS#3320: 'restrict' cleanup
2004-09-03 21:49:13 +00:00
Jong Hyuk Choi
76dfffafe4
fix for test019 glitch
2004-09-03 12:16:15 +00:00
Jong Hyuk Choi
899848181d
added avl_free() at the end of do_syncrep2()
2004-09-02 18:12:37 +00:00
Howard Chu
88e2771bca
ITS#3309 better fix, add op->ord_csn in frontend and use it in backend.
2004-09-02 11:05:13 +00:00
Jong Hyuk Choi
320ab38e45
use of NULL ctx in slap_modrdn2mods
2004-09-01 16:27:19 +00:00
Jong Hyuk Choi
70fda7725a
revert prev commit to normalizers
2004-09-01 16:01:36 +00:00
Howard Chu
559b746437
Avoid gratuitous reindexing of cn and objectclass in syncrepl_updateCookie
2004-09-01 04:18:56 +00:00
Howard Chu
5c1c0902b4
ITS#3309 fix syncrepl psearch propagation of Delete operations
2004-09-01 03:23:36 +00:00
Kurt Zeilenga
17d920063a
subsequent allows/disallows directives should be additive
2004-09-01 00:34:34 +00:00
Kurt Zeilenga
1ece02dc7d
cleanup
2004-09-01 00:23:34 +00:00
Jong Hyuk Choi
6baa9b1e2b
use ch_malloc for normailzed values
2004-08-31 14:22:56 +00:00
Jong Hyuk Choi
e6df94946d
patch for ITS#3296 - do not use sl_malloc on normalized attr values
2004-08-31 13:47:33 +00:00
Kurt Zeilenga
7f22fd5b45
Add note about test.schema
2004-08-30 22:43:38 +00:00
Kurt Zeilenga
c01e9a109d
On second thought, reverse that commit.
...
Rather not promote use of the old schema.
2004-08-30 22:33:18 +00:00
Kurt Zeilenga
efbef99de7
krbName may be useful without old k4bind
2004-08-30 22:28:21 +00:00
Kurt Zeilenga
4d1e5d90a5
Zap old krb5-kdc schema.
2004-08-30 22:23:50 +00:00
Pierangelo Masarati
a469dc6741
fix previous commit
2004-08-30 07:30:01 +00:00
Jong Hyuk Choi
6f9025423f
ITS#3289 - exattrs support
2004-08-29 22:28:28 +00:00
Jong Hyuk Choi
a6c08d747f
Use global alloc for now
2004-08-29 20:01:21 +00:00
Jong Hyuk Choi
71f45bd40b
Further fixes for ITS#3297
2004-08-29 19:19:22 +00:00
Kurt Zeilenga
c449fdd217
TLS SSF does not imply a transport_ssf.
2004-08-28 21:58:20 +00:00
Kurt Zeilenga
89772e9bdd
Replace compfilter.schema with test.schema, which now
...
holds a single attribute type 'componentTest'. Fix
up test031 to avoid modification of standard schema.
(Not sure why this attribute is needed, tests likely
should operate on userCertificate and other existing
attributes which complex syntaxes.)
2004-08-28 19:41:13 +00:00
Kurt Zeilenga
fea393c077
cleanup
2004-08-28 19:26:59 +00:00
Kurt Zeilenga
b2aa91b22d
cleanup
2004-08-28 17:55:05 +00:00
Kurt Zeilenga
429be3c137
Add FIXME comment regarding improper return of unavailableCriticalExtension
...
Misc Clean.
2004-08-28 13:45:53 +00:00
Sang Seok Lim
d997105915
.conf and .schema files for test31-component-filter
2004-08-28 03:53:41 +00:00
Kurt Zeilenga
e2f2186aa0
Note fixme
2004-08-28 01:26:34 +00:00
Kurt Zeilenga
49bd9befa4
Referrals should not (except in special cases) be
...
returned for Bind operations, instead invalidCreditials
should be returned.
2004-08-28 01:08:24 +00:00
Kurt Zeilenga
f39d6f80fb
ITS#3275: fix logging
2004-08-28 00:50:15 +00:00
Howard Chu
81265a7872
fix uninit'd be_context_csn for syncrepl
2004-08-28 00:26:35 +00:00
Luke Howard
6cdaa19b96
Remove bogus SLAPI code path which special-cased modlist == NULL
...
This had the effect of setting the result code to LDAP_SUCCESS for modlist == NULL
even on a replica when an update-ref might be set. This was causing a plugin (that
implements the commit phase in a post-op plugin) to write to "read-only" replica.
2004-08-27 19:34:14 +00:00
Kurt Zeilenga
2782b6f46f
cleanup
2004-08-27 19:00:15 +00:00
Kurt Zeilenga
6cde4bdeb3
Move LDAP_COMP_MATCH define from ldap.h to slap.h
2004-08-27 18:53:44 +00:00
Luke Howard
410ca3d1a9
Allow mods to be NULL in slapi_int_ldapmods2modifications()
2004-08-27 17:27:09 +00:00
Luke Howard
8c764e8d63
Fix a SLAPI bug where slapd could crash if a preop plugin changed the mods
...
list and a subsequent plugin aborted the operation -- regardless of the
preop result the frontend must refetch the array of LDAPMods
2004-08-27 17:12:01 +00:00
Sang Seok Lim
78d08a8271
Misc Bug Fix:
...
- Remove unused variables
- Remove the attribute for component filter test in core.schema
2004-08-26 16:43:28 +00:00
Luke Howard
8d1f26b7b6
Check for opinfo->boi_txn before using it - sometimes it is NULL even if
...
opinfo isn't
2004-08-26 10:17:53 +00:00
Luke Howard
400458c9c5
Don't use SLAPI_TARGET_DN for group plugins - it is required elsewhere
2004-08-26 10:04:08 +00:00
Luke Howard
739dcf2193
boi_bdb must be set
2004-08-26 05:27:59 +00:00
Luke Howard
563f73b81d
backend_compute_output_attr() should use actual computed attribute type
...
returned by the plugin, rather than that requested by backend_attribute(),
for ACL checking.
They should of course be the same but this is the "correct" approach from
both a security and readability perspective
2004-08-26 05:18:33 +00:00
Luke Howard
815efedff5
Fix "FIXME" in slapi_attr_add_value() - store normalized value as well as
...
real value
2004-08-26 05:02:21 +00:00
Luke Howard
102cd721ef
Extend backend_attribute() to support computed attributes (SLAPI)
2004-08-26 05:02:01 +00:00
Luke Howard
5f6996c8bf
Add SLAPI_X_GROUP_TARGET_ENTRY so that group plugin can use target entry
2004-08-26 04:24:29 +00:00
Sang Seok Lim
2af6457771
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".
2004-08-26 00:06:39 +00:00
Howard Chu
05e7632c30
ITS#3301 fix prev commit, don't fail op on DB_NOTFOUND
2004-08-25 20:53:39 +00:00
Luke Howard
d45b89823f
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
2004-08-25 15:20:19 +00:00
Pierangelo Masarati
ba7bb04ed3
check if "rootdn" is defined
2004-08-25 14:29:40 +00:00
Howard Chu
5cba217006
ITS#3301 check for dn2entry failure
2004-08-25 13:55:55 +00:00
Luke Howard
2316461b93
Remove unused variable
2004-08-25 12:31:43 +00:00
Pierangelo Masarati
81b5755364
try with "order by"...
2004-08-25 12:09:05 +00:00
Luke Howard
ea6f5bad65
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.
2004-08-25 11:52:55 +00:00
Pierangelo Masarati
e745d15f02
remove cruft
2004-08-25 11:32:47 +00:00
Pierangelo Masarati
53483e012d
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...
2004-08-25 10:41:13 +00:00
Pierangelo Masarati
752bffb16c
write test is almost working for ibmdb2 as well...
2004-08-24 17:08:30 +00:00
Pierangelo Masarati
d25ade71e9
need to perform a select after adds...
2004-08-24 15:37:10 +00:00
Pierangelo Masarati
aae3c074f1
cleanup
2004-08-24 15:16:06 +00:00
Pierangelo Masarati
aaf52b28ff
further fixes
2004-08-24 15:01:39 +00:00
Pierangelo Masarati
be3c14e4f4
ready for test...
2004-08-24 11:45:33 +00:00
Pierangelo Masarati
a8674f59d7
fix various issues; line up with new tests
2004-08-24 10:31:02 +00:00
Pierangelo Masarati
00f1c085cf
move call to frontend API
2004-08-24 09:29:11 +00:00
Pierangelo Masarati
23cbd59126
- 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
2004-08-24 09:24:55 +00:00
Pierangelo Masarati
809e623cd9
add paged results support to back-ldap
2004-08-24 09:19:33 +00:00
Luke Howard
4fdefa106f
ITS#3297 (double free)
2004-08-24 01:20:49 +00:00
Luke Howard
253f66041f
Harmonize bvptr2obj_copy() with values2obj_copy() - ie. don't fail if NULL
...
is passed in.
2004-08-23 03:59:07 +00:00
Pierangelo Masarati
19ea555ca3
blind update of IBM db2 example data
2004-08-21 09:48:49 +00:00
Pierangelo Masarati
b7c0b9ed7f
further improve tests; line-up with code
2004-08-21 09:45:14 +00:00
Pierangelo Masarati
6956e3d483
cleanup previous commit
2004-08-21 09:38:58 +00:00
Pierangelo Masarati
467524ef92
handle referrals correctly; allow to add suffix entry; fix multiple values add bug; cleanup
2004-08-21 09:38:08 +00:00
Jong Hyuk Choi
37db80eadb
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.
2004-08-20 16:26:58 +00:00
Pierangelo Masarati
0ed0cd66bf
more on back-sql test
2004-08-20 16:12:49 +00:00
Pierangelo Masarati
f59089b5b0
now PostgreSQL seems to work...
2004-08-20 15:24:39 +00:00
Pierangelo Masarati
930f415673
update of RDBMS data for test031
2004-08-20 14:27:32 +00:00
Pierangelo Masarati
d12fdece77
allow to search for "auxiliary" objectClasses (i.e. those in ldap_entry_objclasses); allow to return all objectClasses including "auxiliary"; various cleanup
2004-08-20 12:06:03 +00:00
Pierangelo Masarati
6b8fd66364
split entry_free in entry_clean ...
2004-08-20 12:01:15 +00:00
Howard Chu
af8cb90ed8
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.
2004-08-19 23:39:45 +00:00
Howard Chu
f2ee179c3f
ITS#3291 delay use of slap_known_controls until all configuration is done
2004-08-19 12:10:22 +00:00
Howard Chu
91033d6552
Reworked fix for ITS#3140 - add access parameter to backend_attribute
2004-08-18 17:14:22 +00:00
Howard Chu
d504ae047e
More for ITS#3288 be_pcl_mutex fixes
2004-08-18 16:43:19 +00:00
Howard Chu
c7313c09b4
More fixes for prev commit
2004-08-18 15:23:37 +00:00
Howard Chu
3081f2df88
Delete unused be_context_csn_mutex
2004-08-18 10:54:58 +00:00
Howard Chu
77ba70be13
Fix ITS#3288: use be_pcl_mutexp instead of be_pcl_mutex
2004-08-18 10:53:34 +00:00
Howard Chu
77df33a164
Fix crash on modify if userpassword didn't exist yet
2004-08-15 22:23:58 +00:00
Pierangelo Masarati
bde0761a04
should fix ITS#3265
2004-08-12 10:33:49 +00:00
Pierangelo Masarati
05b81e623d
cleanup attr flags; provide a helper
2004-08-06 17:29:59 +00:00
Pierangelo Masarati
7760b20f7f
fix permissive; cleanup
2004-08-06 16:40:48 +00:00
Pierangelo Masarati
bfb6465533
cleanup
2004-08-06 16:40:15 +00:00
Pierangelo Masarati
41569c5ed7
fix attr_merge() usage; cleanup
2004-08-06 16:39:45 +00:00
Pierangelo Masarati
4297cbaed2
fix attr_merge() usage
2004-08-06 16:38:41 +00:00
Pierangelo Masarati
9300a9415f
fix malformed test and var initialization
2004-08-06 16:14:05 +00:00
Pierangelo Masarati
559397c44a
allow to compare on hasSubordinates
2004-07-31 10:42:28 +00:00
Jong Hyuk Choi
9978007997
slapadd -i <rid list> fix
2004-07-31 00:03:58 +00:00
Pierangelo Masarati
9dcdeef319
don't recompute userattrs
2004-07-30 17:34:47 +00:00
Pierangelo Masarati
614e5a9de6
make sure sun_path is cleared out before accept()
2004-07-30 09:56:22 +00:00
Pierangelo Masarati
7b4a51cc28
further improve loglevel selection
2004-07-29 12:39:51 +00:00
Pierangelo Masarati
f33b51832a
allow to use names to set loglevel
2004-07-29 00:10:03 +00:00
Pierangelo Masarati
7507596ccc
minor cleanup
2004-07-28 23:48:08 +00:00
Jong Hyuk Choi
8b5b2e715b
should not assert(0) in UUIDValidate
2004-07-28 17:27:52 +00:00
Jong Hyuk Choi
95e56c6243
Patch for ITS#3259
2004-07-28 17:24:54 +00:00
Pierangelo Masarati
d723dbc34b
in case of early exit, frontendDB might be uninitialized
2004-07-27 21:15:33 +00:00
Pierangelo Masarati
cd9a9c628d
frontend stuff moved into a database structure, essentially to allow overlays to be processed before database selection; passes all tests (ITS#3080)
2004-07-26 21:26:34 +00:00
Pierangelo Masarati
cc60b5ce76
cleanup previous fix; maybe the advanced url parsing funcs should go in some ldap_pvt.h header?
2004-07-26 08:31:01 +00:00
Pierangelo Masarati
9f6f5491fe
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
2004-07-25 23:16:40 +00:00
Pierangelo Masarati
392366818e
fix ITS#3254
2004-07-25 22:57:52 +00:00
Howard Chu
d9927adf88
Fix ITS#3255, boi_bdb comparisons
2004-07-25 21:10:41 +00:00
Howard Chu
05fd32498d
Fix spurious warning for fasttool keyword when running in Server mode
2004-07-25 19:49:24 +00:00
Pierangelo Masarati
075a450b49
cleanup
2004-07-24 17:10:29 +00:00
Pierangelo Masarati
cd7540feee
cleanup URI parsing/checking (fixes ITS#3253)
2004-07-24 11:17:03 +00:00
Pierangelo Masarati
a7b55f4f44
assert administrative identity instead of the required one if doing auth check in non-caching mode
2004-07-23 00:11:05 +00:00
Pierangelo Masarati
32d9856fb1
hack to handle cases where o_req_dn = o_req_ndn
2004-07-22 23:48:04 +00:00
Pierangelo Masarati
07f010a01f
fix previous fix
2004-07-22 23:03:04 +00:00
Howard Chu
dd7003cf9f
Added linearindex option for slapindex. Improves performance when database
...
size exceeds dbcache size by minimizing cache thrashing.
2004-07-22 22:32:37 +00:00
Howard Chu
f9f22058e7
ITS#3178 add "fasttool" option to disable transaction logging in tool mode
2004-07-22 22:14:35 +00:00
Howard Chu
bff0b64cb3
One more Windows tweak
2004-07-20 21:42:00 +00:00
Howard Chu
39fbae025e
Windoes compatibility tweaks
2004-07-20 21:40:33 +00:00
Pierangelo Masarati
52a49e0840
improve manual and make naming contexts uniform; NOTE: backwards compatibility not preserved
2004-07-20 00:46:20 +00:00
Pierangelo Masarati
b29808f4ae
cleanup function name in log
2004-07-20 00:32:43 +00:00
Pierangelo Masarati
dbb4593d75
rework passwd_extop to comply with rwm requirements...
2004-07-20 00:22:05 +00:00
Pierangelo Masarati
4c16e67094
minor cleanup
2004-07-19 21:43:03 +00:00
Pierangelo Masarati
1bbdcba854
add {creators|modifiers}Name to all entries
2004-07-19 21:42:11 +00:00
Howard Chu
ebd1832d21
Required by backover.c -r1.22
2004-07-19 20:25:43 +00:00
Howard Chu
e918210fc2
Required by backover.c -r1.22
2004-07-19 20:01:26 +00:00
Pierangelo Masarati
b94d5e17e2
rework op/rs structures to deal with opeartional attributes
2004-07-18 21:44:29 +00:00
Pierangelo Masarati
448e2dcad4
fix empty uniqueMember dn portion (ITS#3247)
2004-07-18 21:40:16 +00:00
Pierangelo Masarati
47415023b4
startup and shutdown backends only if not in dryrun mode
2004-07-18 21:36:39 +00:00
Pierangelo Masarati
5992a9b7e6
dnMatch must be called with valid args
2004-07-18 21:34:01 +00:00
Pierangelo Masarati
256d845f08
helpers for special attribute lists
2004-07-18 21:33:15 +00:00
Howard Chu
a14bda1df4
strptime is unreliable, just parse time ourselves
2004-07-18 18:28:16 +00:00
Howard Chu
26b4758938
Make sure hdb gets signed chars for len comparison
2004-07-18 12:29:52 +00:00
Hallvard Furuseth
af5ab4f196
Add missing format argument for 'unhandled idassert-method' error message.
2004-07-18 07:16:34 +00:00
Hallvard Furuseth
9c9c92a6a4
Fix coredump in slap_sasl_check_authz() due to wrong LDAP_LOG() format string.
2004-07-18 07:14:07 +00:00
Hallvard Furuseth
b81b0216a9
Split string literal to keep it below ANSI C's allowed 509-char limit.
2004-07-18 00:47:35 +00:00
Pierangelo Masarati
6a02b9b4fd
don't ask for attributes
2004-07-17 17:06:03 +00:00
Pierangelo Masarati
512a70af47
more cleanup
2004-07-17 15:35:06 +00:00
Pierangelo Masarati
6aca8c16c6
cleanup
2004-07-17 15:15:59 +00:00
Pierangelo Masarati
854863f0b6
normalize authcDN (ITS#3246); don't touch databases when running slapadd in dryryn mode (ITS#3244); release lock when acquiring entry in tool mode (ITS#3245)
2004-07-17 14:45:07 +00:00
Pierangelo Masarati
5a32683d02
to be safe, always start backends and database
2004-07-16 16:42:57 +00:00
Pierangelo Masarati
dc5f95cd3e
uninitialized var
2004-07-14 08:18:26 +00:00
Pierangelo Masarati
02c5b51717
cleanup; fix loop
2004-07-14 01:34:46 +00:00
Pierangelo Masarati
56303ce55a
cleanup
2004-07-14 01:16:23 +00:00
Pierangelo Masarati
922a7e4488
cleanup; plug potential leak?
2004-07-14 01:10:35 +00:00
Pierangelo Masarati
d02a8cab65
revert previous change; anticipate backend_operational before overlays callbacks (thanks, Howard); rework overlays cycle to allow callbacks to free themselves (thanks Howard)
2004-07-14 00:42:23 +00:00
Pierangelo Masarati
8d03d74bfd
silence warning
2004-07-14 00:22:27 +00:00
Pierangelo Masarati
3b8111f1c4
use a separate field for a modified entry in SlapReply
2004-07-13 22:52:54 +00:00
Pierangelo Masarati
89b284eef5
more on AttributeDescription error messages
2004-07-13 22:49:50 +00:00
Pierangelo Masarati
d58055b7de
swap overlay and internal cleanup
2004-07-13 22:00:28 +00:00
Pierangelo Masarati
d6e3c93001
memory hanling cleanup
2004-07-13 01:00:48 +00:00
Pierangelo Masarati
7011c4f3e2
change flags only if entry massaging goes fine
2004-07-12 22:50:34 +00:00
Pierangelo Masarati
f4a428d060
cleanup
2004-07-12 22:33:44 +00:00
Howard Chu
2954a90483
Add backend_startup_one()
2004-07-12 20:27:33 +00:00
Howard Chu
856a8c1177
Don't bother logging lock failures for tryOnly mode
2004-07-12 20:02:24 +00:00
Howard Chu
3fd4d04168
Release cache locker on db close
2004-07-12 14:29:13 +00:00
Howard Chu
214d3b26c1
Fix for non-thread run
2004-07-12 04:05:26 +00:00
Pierangelo Masarati
22bd2667ce
mostly done...
2004-07-11 22:57:51 +00:00
Pierangelo Masarati
1b85d17afe
minor cleanup
2004-07-11 22:55:57 +00:00
Pierangelo Masarati
4424b9d57f
log what backend is starting (bdb/hdb)
2004-07-11 22:52:26 +00:00
Pierangelo Masarati
198b34db35
back-relay doesn't like this
2004-07-11 22:52:01 +00:00
Howard Chu
2d4f58bbf6
Make sure DB result codes are returned to caller; add missing retries to
...
callers of bdb_cache_find_id().
2004-07-10 19:06:20 +00:00
Howard Chu
3dedb0839c
Remove redundant code from previous patch
2004-07-10 18:26:05 +00:00
Pierangelo Masarati
7679f37b1d
fix previous commit (needs work)
2004-07-10 15:15:01 +00:00
Pierangelo Masarati
8a9c5bb0f8
make sure we only get here when everything is fine
2004-07-10 11:41:28 +00:00
Pierangelo Masarati
1c2759e689
cache backend was not started up
2004-07-10 11:37:48 +00:00
Howard Chu
22f895a4bb
Minor cleanup
2004-07-10 04:48:07 +00:00
Howard Chu
d6c68cdf48
Fix prev commit
2004-07-09 17:44:50 +00:00
Howard Chu
e5ffb0c466
Use previously unused Backend->be_context_csn
2004-07-09 17:27:23 +00:00
Howard Chu
ebc8bb0d83
Use long-lived per-thread TXNs for loading entries from DB.
...
Make sure only one thread tries to load a given entry at a time.
Bump up the DB environment's max TXNs to accomodate the new TXNs.
2004-07-09 17:00:07 +00:00
Ralf Haferkamp
b8113c5df9
ITS#3226: Clear attribute flags after schema_check failed
2004-07-09 11:18:42 +00:00
Jong Hyuk Choi
70314bd98b
SLAP_IDL_CACHE macro removed
2004-07-09 03:31:52 +00:00
Pierangelo Masarati
2afdce8334
cleanup AD stuff (ITS#3225)
2004-07-09 00:14:15 +00:00
Pierangelo Masarati
3c7a3f78dd
further improve error log clarity
2004-07-07 23:01:22 +00:00
Pierangelo Masarati
81d89ddd63
validate/pretty before normalizing... (ITS#3218)
2004-07-06 22:02:52 +00:00
Kurt Zeilenga
36e75e10af
reverse last commit
2004-07-05 21:45:01 +00:00
Kurt Zeilenga
35cbe6fe84
fix typos in last commit
2004-07-05 21:44:12 +00:00
Kurt Zeilenga
191941c2cf
better ssf related error messages
...
cleanup
2004-07-05 21:41:10 +00:00
Howard Chu
6b59008f26
Plug mem leaks
2004-07-05 21:00:09 +00:00
Howard Chu
5ab38cfa5f
Better fix for ITS#3213, plug mem leaks. Also fix postread response.
2004-07-05 20:08:20 +00:00
Pierangelo Masarati
277d921945
clear shared connections when ldap_result fails with -1 (typically, remote server is down); fixes ITS#3217
2004-07-04 23:35:18 +00:00
Howard Chu
c3984d9f59
Plug memleak from ITS#2895
2004-07-04 04:56:36 +00:00
Howard Chu
56103a575b
Fix misplaced unlock in prev commit
2004-07-03 21:06:34 +00:00
Howard Chu
473b8cb7db
Re-order EntryInfo/DB locks to fix deadlocks
2004-07-03 20:03:14 +00:00
Howard Chu
42e0814247
Fix prev commit
2004-07-03 16:17:54 +00:00
Howard Chu
f696f7ab55
Fix: LRU corruption, HDB rename detection, Ctxcsn assert failure
2004-07-03 15:47:44 +00:00
Pierangelo Masarati
a0c28f4d7f
fix matchedValue (ITS#3209); might need work
2004-07-03 11:17:11 +00:00
Pierangelo Masarati
b72657acf0
typo in comment
2004-07-03 11:16:22 +00:00
Pierangelo Masarati
74f224583b
quick fix for ITS#3215; needs work to re-enable ACI caching, if possible at all
2004-07-02 16:45:06 +00:00
Ralf Haferkamp
3286e13a2c
reset o_next pointer before freeing the operation (otherwise an assertion
...
failure in slap_op_free is possible)
2004-07-02 14:57:35 +00:00
Howard Chu
356d862974
unifdef old code
2004-07-02 12:06:03 +00:00
Howard Chu
b8273cba9b
Fix pointer conflict with backglue
2004-07-02 11:59:05 +00:00
Howard Chu
bec599a954
Qualify some structure fields
2004-07-02 11:34:16 +00:00
Jong Hyuk Choi
a46d84544f
cleanup
2004-07-01 22:40:03 +00:00
Pierangelo Masarati
6465801cfc
beautify comment
2004-06-30 16:26:06 +00:00
Pierangelo Masarati
d8d3bded72
cleanup
2004-06-30 16:25:14 +00:00
Pierangelo Masarati
e779235391
cleanup
2004-06-30 01:17:05 +00:00
Kurt Zeilenga
7a6b0857b6
cleanup
2004-06-29 23:52:18 +00:00
Sang Seok Lim
ad19032bf2
This patch provides support for rdnMatch matching rule and RDN syntax in
...
RFC 3687. For now, both the attribute and assertion values are considered
as RDNs. Refer to ITS#3207 to find related discussion.
2004-06-29 23:36:58 +00:00
Pierangelo Masarati
8f6cce3296
improve logging...
2004-06-29 18:04:30 +00:00
Pierangelo Masarati
e052d7297d
`err' might be used uninitialized
2004-06-29 17:32:43 +00:00
Pierangelo Masarati
5256cbda6c
fix uniqueMemberMatch according to previous fix (related to ITS#3210)
2004-06-29 17:23:54 +00:00
Pierangelo Masarati
c25c3ed9e5
fix nameUID* and uniqueMember* stuff in a consistent manner (related to ITS#3210)
2004-06-29 16:29:00 +00:00
Ralf Haferkamp
498530fc4c
TS#3213: free copy of e_attrs before retrying the transaction in bdb_modify()
2004-06-29 14:52:03 +00:00
Jong Hyuk Choi
2adcccb27d
logging psearch return code
2004-06-28 23:51:17 +00:00
Kurt Zeilenga
6830aca2d1
cleanup
2004-06-28 23:03:01 +00:00
Kurt Zeilenga
537aab8a14
A more strict oidValidate
2004-06-28 22:53:19 +00:00
Pierangelo Masarati
279d629c81
fix nameUID/uniqueMember stuff (ITS#3210)
2004-06-28 22:10:27 +00:00
Pierangelo Masarati
70af36dbf5
trim useless code
2004-06-28 22:01:30 +00:00
Pierangelo Masarati
c84b7502c5
fix oidValidate() when a OID contains a single '0' (ITS#3211)
2004-06-28 22:00:28 +00:00
Pierangelo Masarati
c34a30a149
fix memory usage
2004-06-28 21:51:08 +00:00
Pierangelo Masarati
9a2b8f9d40
honor signedness
2004-06-28 21:20:13 +00:00
Pierangelo Masarati
a7a90609a9
propagate search result (maybe this is not what bdb_psearch() is intended to do...)
2004-06-28 21:08:32 +00:00
Pierangelo Masarati
a4f50c268a
fix typo in comment
2004-06-28 20:59:04 +00:00
Kurt Zeilenga
372a941334
add baseObject as alias for base.
...
cleanup
2004-06-28 06:42:00 +00:00
Jong Hyuk Choi
08949463c5
- use ctxcsn_locker for the ctxcsn add transaction
...
- removal of LOCK_ID_FREE
- misc mem mgmt cleanup
2004-06-28 05:47:36 +00:00
Kurt Zeilenga
fbca1397a3
cleanup
2004-06-27 02:35:48 +00:00
Howard Chu
29f24962be
Fix uninit'd exopflags
2004-06-26 01:17:24 +00:00
Howard Chu
5fd7534f79
Fix previous commit, deleting under suffix...
2004-06-25 20:04:16 +00:00
Howard Chu
826b177877
More locking cleanup (ITS#3201, etc)
2004-06-25 05:29:33 +00:00
Jong Hyuk Choi
22df3f94e4
internal operation return value processing cleanup
2004-06-25 02:27:02 +00:00
Kurt Zeilenga
e8b2c7f3be
Fix wrong error when using operative attribute in
...
objectclass definition (ITS#3205)
2004-06-25 01:05:49 +00:00
Howard Chu
3c68fc1f14
ITS#3201 fix conflict with BDB internal locks
2004-06-24 23:50:10 +00:00
Howard Chu
f7f6861a26
ITS#3201 fix conflict with BDB internal locks
2004-06-24 23:35:18 +00:00
Howard Chu
c63817b9bd
ITS#3201 partial fix. still encountering deadlocks.
2004-06-24 17:56:43 +00:00
Kurt Zeilenga
8bca3b42f9
Rework pre/post read controls to handle retry conditions...
...
(and plug leaks)
2004-06-23 06:56:23 +00:00
Kurt Zeilenga
e23b0f677f
Move pre/post read calls into outer transaction.
...
Need to fix retry handling.
2004-06-23 06:02:49 +00:00
Jong Hyuk Choi
ec9d21e094
use ltid if it exists; use NULL otherwise.
2004-06-23 05:10:18 +00:00
Kurt Zeilenga
ee7dfb2ab9
cleanup
2004-06-23 03:09:13 +00:00
Jong Hyuk Choi
bc6b28a650
using write lock in accessing pslist
2004-06-23 02:07:12 +00:00
Jong Hyuk Choi
81c59404e9
use txn locker if it exists; get one otherwise.
2004-06-23 02:00:00 +00:00
Kurt Zeilenga
e5a37f2125
SLAPD_DISCONNECT v -1 cleanup
...
misc other cleanup
2004-06-23 01:04:52 +00:00
Kurt Zeilenga
83476f2d98
Add pre-read FIXME comment
2004-06-22 23:44:35 +00:00
Jong Hyuk Choi
28bd88d289
more timelimit cleanup
2004-06-22 23:23:37 +00:00
Jong Hyuk Choi
b459e59394
patch for ITS#3173
...
- passing transaction ptr to psearch
2004-06-22 23:22:16 +00:00
Kurt Zeilenga
4e6ed7072d
cleanup
2004-06-22 19:49:00 +00:00
Jong Hyuk Choi
3917d2b15d
limit checking in syncrepl
2004-06-22 18:15:29 +00:00
Pierangelo Masarati
d8eff4d1b5
use hard limit instead of returning adminLimitExceeded when requested limit exceeds hard; improve (and document) syntax; modify test025 accordingly
2004-06-22 09:43:41 +00:00
Pierangelo Masarati
445067260e
asserts contradict the comment above and are basically wrong
2004-06-22 08:40:53 +00:00
Pierangelo Masarati
528b6c7e25
clear pagedresults_state if reusing an inactive connection; prepare for more consistent behavior of pagedResults control
2004-06-21 21:31:55 +00:00
Pierangelo Masarati
eb6dcbe246
fix ITS#3196; more to do
2004-06-21 17:51:28 +00:00
Pierangelo Masarati
5ff789e379
fix pagedResults dangling pointer in parsing cookie (ITS#3089)
2004-06-21 17:49:03 +00:00
Pierangelo Masarati
120470e1d6
clarify usage for internal searches
2004-06-21 09:10:46 +00:00
Jong Hyuk Choi
a1308f8dfa
syncrepl retry code fix for correct timing
2004-06-21 07:03:49 +00:00
Pierangelo Masarati
1f70ad82f2
clean up unnecessary checks; don't use SASL native authz if authz ID is not static, because back-ldap pools connections...
2004-06-21 00:57:12 +00:00
Pierangelo Masarati
eca48b6f20
not sure that cyrus-sasl doesn't honor empty authz; need to check
2004-06-20 23:21:40 +00:00
Pierangelo Masarati
5bfb9fd590
make authz mode selection fully manual, plus more cleanup
2004-06-20 22:42:36 +00:00
Pierangelo Masarati
176e5542bb
fix erroneous logging
2004-06-20 22:42:04 +00:00
Pierangelo Masarati
7fe1acca92
add shortcut for 'users'; but, very important, cleanup rewrite replacement to authz-regexp
2004-06-20 22:41:24 +00:00
Luke Howard
4eaef6a37d
Do not crash if computed attribute has no values - necessary for range retrieval
...
support
2004-06-20 18:04:01 +00:00
Pierangelo Masarati
5d843b2b13
detect mechs that are known to perform native authz
2004-06-19 18:32:55 +00:00
Pierangelo Masarati
f34b11760a
allow a hidden parameter to instruct the proxy that the SASL mech can do native authz; will disappear as soon as I can detect it automnatically
2004-06-19 18:18:26 +00:00
Pierangelo Masarati
97f96aaaa6
cleanup limits for internal searches...
2004-06-19 17:07:36 +00:00
Pierangelo Masarati
96fe39e99f
minor cleanup
2004-06-19 15:17:41 +00:00
Pierangelo Masarati
e6065fb20d
li->be didn't work; since it seems to be unnecessary, it's been removed; please check
2004-06-19 15:16:51 +00:00
Pierangelo Masarati
344edca731
protocol only allows positive integers; remove checks
2004-06-19 10:40:24 +00:00
Pierangelo Masarati
c06208527c
protocol only allows positive integers; check, just in case...
2004-06-19 10:32:17 +00:00
Pierangelo Masarati
a689d81536
typo?
2004-06-19 10:02:53 +00:00
Pierangelo Masarati
7e833d90a7
implement server side of "max" limit
2004-06-19 10:02:27 +00:00