Commit Graph

7002 Commits

Author SHA1 Message Date
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