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 |
|