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