Pierangelo Masarati
955253966b
fix ordered indexing check
2005-08-05 00:08:22 +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
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
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
Pierangelo Masarati
614d936ef4
suffix must be present (ITS#3901)
2005-07-28 16:54:49 +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
Hallvard Furuseth
a9aa5050f8
Silence warning
2005-07-27 09:34:05 +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
Hallvard Furuseth
6d6a4b7dda
Cast unsigned char*slotbuf passed as char*
2005-07-25 21:05:52 +00:00
Pierangelo Masarati
739128a016
silence warning(s)
2005-07-25 20:50:33 +00:00
Howard Chu
ddf6c7b298
Plug more memleaks
2005-07-21 23:26:40 +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
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
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
Howard Chu
f8173c6e8a
ITS#3841 fix test in rev 1.220
2005-07-15 01:17:35 +00:00
Hallvard Furuseth
d6cc947561
Silence "unused <something>" warnings
2005-07-14 19:52:08 +00:00
Hallvard Furuseth
ae385b3af0
Silence "empty statement" warnings
2005-07-14 03:06:58 +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
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
Howard Chu
11a1349366
ITS#3843 from jtownsend@opendarwin.org: hide index_attrs / index_dummy
2005-07-07 03:51:43 +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
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
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
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
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
52165180f7
ITS#3796 fix IDL cache lock setup/teardown
2005-06-28 00:43:41 +00:00
Pierangelo Masarati
789717fee5
fix ITS#3784
2005-06-16 20:01:41 +00:00
Ralf Haferkamp
f9fb5e63f4
silence warning
2005-06-15 18:00:49 +00:00
Howard Chu
4667a44ae6
Fix typo in prev commit
2005-06-13 23:57:30 +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
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
3801ba6435
ITS#3731 catch another BDB error leaking out to the frontend
2005-05-18 04:41:24 +00:00
Kurt Zeilenga
31727f0f4d
Additional manageDIT changes.
...
Now require be_isroot() instead of "manage".
2005-05-13 21:09:26 +00:00
Kurt Zeilenga
feeeabcd68
manageDIT framework and obsolete objectclasses/DIT-content-rule override
2005-05-13 19:07:31 +00:00
Howard Chu
048a36a60f
Fix prev commit, trim unused cfOC vars
2005-05-09 05:02:23 +00:00