Commit Graph

12666 Commits

Author SHA1 Message Date
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
c172a20c49 document new timeout feature; improve existing stuff 2005-07-19 00:42:32 +00:00
Pierangelo Masarati
1100973301 trim unused (wrong) code 2005-07-19 00:30:34 +00:00
Pierangelo Masarati
141ac1031c reword the description of listener permissions 2005-07-19 00:29:52 +00:00
Pierangelo Masarati
51346cfa68 fix ITS#3862 2005-07-18 21:32:31 +00:00
Pierangelo Masarati
9ba68f902d provide a useful example 2005-07-18 17:24:07 +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
cd80d6d5ec Add userPassword protection to example. 2005-07-18 14:07:57 +00:00
Hallvard Furuseth
5a84fb8b0f Add OVERLAYS section 2005-07-18 14:03:35 +00:00
Hallvard Furuseth
eda3a937e6 Note that the overlay is experimental (copied from slapd-relay.5). 2005-07-18 11:44:16 +00:00
Hallvard Furuseth
a04ee03a98 Note that relay backend is experimental (copied from slapd-relay.5). 2005-07-18 11:40:54 +00:00
Hallvard Furuseth
ca0e431cff Add slapd-hdb 2005-07-18 11:14:39 +00:00
Luke Howard
b3953aaa43 Add prototypes and pblock paramaters for more compat APIs 2005-07-18 09:23:06 +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
Hallvard Furuseth
ab1ef34c51 size_t peercredlen -> socklen_t peercredlen in #if defined(SO_PEERCRED) 2005-07-18 04:42:28 +00:00
Pierangelo Masarati
e8e5e38b52 refresh list of known overlays 2005-07-17 22:44:39 +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
Pierangelo Masarati
9ea3fa375c add an "OBSOLETED DIRECTIVES" section and list "subordinate" 2005-07-17 22:17:16 +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
Hallvard Furuseth
bf1d1a84bd Remove unused type: struct token 2005-07-17 11:53:35 +00:00
Hallvard Furuseth
2bdc980a4b Remove spurious cvalue=NULL printf argument. 2005-07-17 11:49:27 +00:00
Hallvard Furuseth
a043d4d356 Fix typo: Scope "base" was only matched properly on 32-bit hosts. 2005-07-17 11:47:00 +00:00
Hallvard Furuseth
28256b4711 Add an example. Note that glued databases should usually have the same indexes. 2005-07-17 02:24:46 +00:00