Howard Chu
|
356a98a363
|
Fix bdb_idl_fetch/insert_key. Still fails test011.
|
2002-01-16 15:22:08 +00:00 |
|
Kurt Zeilenga
|
d2f5d75885
|
Remove unused deprecated DN routines.
Only dn_validate, dn_normalize, and dn_parent remain (for now).
|
2002-01-16 00:16:51 +00:00 |
|
Kurt Zeilenga
|
13af7fb073
|
Misc. cleanup, remove lint, remove unused deprecated functions, etc.
|
2002-01-15 07:29:15 +00:00 |
|
Howard Chu
|
6981960be0
|
Deleted autosubtypes support.
|
2002-01-15 01:50:09 +00:00 |
|
Howard Chu
|
fde56a188c
|
More fixes for autosubtype index generation
|
2002-01-14 20:49:06 +00:00 |
|
Howard Chu
|
f4cfb13f2c
|
Fix previous commit
|
2002-01-14 20:26:51 +00:00 |
|
Howard Chu
|
2e8a98e3a1
|
Fix subtype indexing. Really really made it the default.
|
2002-01-14 10:37:08 +00:00 |
|
Howard Chu
|
ac1332cdb8
|
Renamed BVarray to BerVarray. Moved slapd:bvarray_{add,free} to
liblber:ber_bvarray_{add,free}.
|
2002-01-14 01:43:17 +00:00 |
|
Howard Chu
|
92481f7057
|
Modify performance patch from Gertjan van Wingerde <gwingerde@home.nl>
|
2002-01-13 23:23:23 +00:00 |
|
Howard Chu
|
8b969479f4
|
Turn on BDB_IDL_MULTI by default
|
2002-01-13 22:26:29 +00:00 |
|
Pierangelo Masarati
|
fafce1601e
|
consistently use dn_match macro throughout slapd
|
2002-01-12 18:17:13 +00:00 |
|
Pierangelo Masarati
|
f8fb4aca76
|
error message from be_entry_put tool backend function
|
2002-01-12 16:00:51 +00:00 |
|
Kurt Zeilenga
|
f57057ee01
|
Add system schema flags to backends supporting system schema.
|
2002-01-11 18:26:17 +00:00 |
|
Kurt Zeilenga
|
c816ebc225
|
Add Backend argument to entry_schema_check() to support system schema
checks (in addition to user application schema checks).
|
2002-01-10 19:37:03 +00:00 |
|
Kurt Zeilenga
|
f662a39d41
|
Add start of subentry support... still need to sort out
administrativeRole restricts.
|
2002-01-10 18:18:37 +00:00 |
|
Kurt Zeilenga
|
74421a28ec
|
Round 2 of subentry changes
|
2002-01-09 19:43:15 +00:00 |
|
Kurt Zeilenga
|
9b0585f393
|
Add very basic subentry search support.
|
2002-01-09 19:21:07 +00:00 |
|
Kurt Zeilenga
|
39c02506de
|
Fix problems caused by lint removal
|
2002-01-09 18:18:36 +00:00 |
|
Kurt Zeilenga
|
22f993f89b
|
Remove some lint caused by the changes in const'ification
|
2002-01-09 06:30:23 +00:00 |
|
Howard Chu
|
26e327f32e
|
Fix some debug statements
|
2002-01-06 07:21:06 +00:00 |
|
Howard Chu
|
ec46a2f33a
|
Use 'm' ber_scanf format where convenient
|
2002-01-06 06:11:01 +00:00 |
|
Kurt Zeilenga
|
c83b406fdc
|
Fix compile errors
|
2002-01-05 19:36:41 +00:00 |
|
Pierangelo Masarati
|
d0261ee534
|
leftover ber_bvdup eliminated; rewritten ber_bvdup in terms of ber_dupbv; eliminated wrapper macro; other ber_* improvements
|
2002-01-05 17:49:59 +00:00 |
|
Kurt Zeilenga
|
0e2af54a3f
|
Update copyright statements
|
2002-01-04 21:17:25 +00:00 |
|
Howard Chu
|
9ad0c5a2e5
|
Fix from Jonghyuk Choi jongchoi@us.ibm.com; return 0 IDs when bdb_key_read
returns DB_NOTFOUND.
|
2002-01-03 05:53:27 +00:00 |
|
Howard Chu
|
f52cc9bab5
|
Change struct berval ** to BVarray
|
2002-01-02 11:00:36 +00:00 |
|
Howard Chu
|
b2809cb330
|
Fix dnParent to return "" for root
|
2002-01-01 13:32:10 +00:00 |
|
Howard Chu
|
de97928160
|
Remove abandon cruft
|
2002-01-01 11:38:30 +00:00 |
|
Howard Chu
|
1a7d129585
|
Use ldap_str2rdn instead of rdn_attr
|
2002-01-01 09:18:34 +00:00 |
|
Howard Chu
|
743c402265
|
Changed search attrs from struct berval ** to AttributeName *
|
2001-12-31 11:35:52 +00:00 |
|
Howard Chu
|
07b4ad7fa2
|
Use dnIsSuffix
|
2001-12-30 10:47:28 +00:00 |
|
Howard Chu
|
185ff129b5
|
Change struct berval * to struct berval in various structures
|
2001-12-29 15:01:10 +00:00 |
|
Howard Chu
|
dd59babf43
|
More cleanup
|
2001-12-29 10:25:19 +00:00 |
|
Howard Chu
|
68daf5bee9
|
Misc cleanup
|
2001-12-29 05:44:37 +00:00 |
|
Howard Chu
|
975a5e9a24
|
Added dnPretty2/dnNormalize2 using preallocated destination berval
|
2001-12-29 04:48:00 +00:00 |
|
Howard Chu
|
c4b432cb3f
|
Fix newSuperior handling. Back out previous commit.
|
2001-12-29 02:56:08 +00:00 |
|
Howard Chu
|
514f605ef5
|
Fix modrdn newSuperior checks
|
2001-12-28 09:48:52 +00:00 |
|
Howard Chu
|
d6a37432bd
|
Changed dn_rdn/dn_rdnlen to struct berval
|
2001-12-28 08:38:24 +00:00 |
|
Kurt Zeilenga
|
cddf7e0e00
|
More struct berval DN changes
decrease dependency on dn_validate/dn_normalize
|
2001-12-27 07:13:13 +00:00 |
|
Howard Chu
|
ef31250591
|
More struct berval fixes
|
2001-12-27 01:38:15 +00:00 |
|
Howard Chu
|
3e826ae1c7
|
More struct berval fixes for modrdn
|
2001-12-27 00:58:14 +00:00 |
|
Kurt Zeilenga
|
b503ca65ee
|
Misc cleanup
|
2001-12-27 00:31:55 +00:00 |
|
Kurt Zeilenga
|
b144879650
|
Quick struct berval DN support for defer alias API.
Underlying code needs work.
|
2001-12-27 00:26:59 +00:00 |
|
Kurt Zeilenga
|
3a8f99a24d
|
add group.c
|
2001-12-27 00:18:09 +00:00 |
|
Kurt Zeilenga
|
f2eadedd5f
|
Quick patch to support struct berval dn2entry changes
|
2001-12-27 00:10:44 +00:00 |
|
Kurt Zeilenga
|
467213affd
|
Update groups to use struct berval DNs.
|
2001-12-26 23:49:19 +00:00 |
|
Kurt Zeilenga
|
a553a03586
|
More struct berval DNs changes
|
2001-12-26 23:43:28 +00:00 |
|
Howard Chu
|
e8fa25a215
|
Changed Filter.f_dn to struct berval*
|
2001-12-26 23:37:59 +00:00 |
|
Howard Chu
|
66dc664930
|
Some more (incomplete) struct berval conversion
|
2001-12-26 23:26:17 +00:00 |
|
Kurt Zeilenga
|
21cecb3831
|
Update referral handling to use struct berval DNs.
|
2001-12-26 20:59:24 +00:00 |
|
Kurt Zeilenga
|
bd0135ccb4
|
Move search, modify, and modrdn APIs to struct berval DNs.
Much clean up is needed.
|
2001-12-26 19:50:40 +00:00 |
|
Kurt Zeilenga
|
24a4d888dc
|
move compare and delete to struct berval DNs
|
2001-12-26 19:05:26 +00:00 |
|
Kurt Zeilenga
|
d64ec6ee0d
|
modify be_referral to use struct berval DNs.
|
2001-12-26 17:40:34 +00:00 |
|
Howard Chu
|
2a3dc7ab8f
|
Moved bdb_strcopy to slap_strcopy
|
2001-12-26 15:52:46 +00:00 |
|
Howard Chu
|
d0add35348
|
Changed get_limits to struct berval*
|
2001-12-26 15:28:01 +00:00 |
|
Howard Chu
|
d474789d0d
|
First pass at converting bind to struct bervals
|
2001-12-26 11:41:38 +00:00 |
|
Howard Chu
|
68b1bbb89d
|
Changed search attrs to struct berval **.
Use typedefs for all backend functions, to minimize work in future API
updates. (back-*/external.h will never need updating in the future.)
|
2001-12-26 08:17:44 +00:00 |
|
Howard Chu
|
34214776d1
|
Minor cleanup
|
2001-12-26 06:21:06 +00:00 |
|
Kurt Zeilenga
|
2dd27b0786
|
More struct berval DNs
|
2001-12-25 19:48:26 +00:00 |
|
Kurt Zeilenga
|
7431cb9eee
|
FIx up replog calls, add replog call to bdb passwd
|
2001-12-25 18:20:35 +00:00 |
|
Kurt Zeilenga
|
ae0a17fa4e
|
Adjust e_name.bv_len on modrdn
|
2001-12-25 03:03:03 +00:00 |
|
Kurt Zeilenga
|
5ee89d6167
|
Use struct berval DNs for root DN and update DN
|
2001-12-25 00:05:26 +00:00 |
|
Howard Chu
|
a61b777cdc
|
Fix uninitialized struct berval* to avoid assert in dnNormalize
|
2001-12-24 20:12:30 +00:00 |
|
Kurt Zeilenga
|
f6085d3f82
|
Every quick mod to use a struct berval for e_dn/e_ndn. No bv_len yet.
|
2001-12-24 16:53:47 +00:00 |
|
Howard Chu
|
2f3399265c
|
Changed sai_dn, sai_ndn to struct berval. (Affects op->o_dn,o_ndn,
conn->c_dn,c_ndn, Access->a_dn_pat)
|
2001-12-24 15:11:01 +00:00 |
|
Kurt Zeilenga
|
883196d348
|
Clean up some symbol scoping
|
2001-12-24 06:36:44 +00:00 |
|
Howard Chu
|
56bc0b64df
|
Fix - don't free constant database names
|
2001-12-20 08:47:32 +00:00 |
|
Howard Chu
|
773b3aff16
|
more cleanup from jon@symas.com
|
2001-12-18 04:52:55 +00:00 |
|
Howard Chu
|
7c8c5213b1
|
BDB_MULTI still needs the dupsort function.
|
2001-12-18 04:41:40 +00:00 |
|
Howard Chu
|
4ddb7c5730
|
Use a 4-byte constant for the presence index key. Set the index db hash
function to simply pass thru the key value, which is already a hash value.
|
2001-12-16 14:21:47 +00:00 |
|
Howard Chu
|
bf61a1ca9d
|
Use DB_HASH instead of DB_BTREE for index databases. Since index keys are
mainly 4-byte hashes already, there is no locality-of-reference to exploit
as a Btree. About a 7% performance gain.
|
2001-12-15 23:21:37 +00:00 |
|
Howard Chu
|
4ed4b3f0c0
|
Revert previous checkin, DB_NODUPDATA is not valid on db->set_flags().
It must be specified on individual put() operations (and already is).
|
2001-12-15 23:00:46 +00:00 |
|
Howard Chu
|
335294e190
|
More cleanup for bdb_db_close
|
2001-12-15 08:11:59 +00:00 |
|
Howard Chu
|
ce81cef289
|
Do a regular entry_free on entries from do_add
|
2001-12-15 06:25:47 +00:00 |
|
Howard Chu
|
67a64c2935
|
Fixed suffix DN_SUBTREE again. Index was still being written even though
it was not being read.
|
2001-12-10 18:09:07 +00:00 |
|
Howard Chu
|
75064ce91d
|
Fix check for DN_SUBTREE on be suffix
|
2001-12-10 16:59:37 +00:00 |
|
Howard Chu
|
efe8ac1bf9
|
Revert previous commit. Checked in by mistake.
|
2001-12-10 12:25:24 +00:00 |
|
Howard Chu
|
ef0b308bea
|
Changed backglue configuration. Added noSubordinates arg to select_backend
to deal with glued subordinates.
|
2001-12-10 12:09:40 +00:00 |
|
Kurt Zeilenga
|
30831a4012
|
misc cleanup
|
2001-12-09 18:57:46 +00:00 |
|
Kurt Zeilenga
|
abd9be4def
|
Remove lint and misc MSVC updates
|
2001-12-09 02:34:45 +00:00 |
|
Howard Chu
|
109307547e
|
Clean up bdb_entry_release / bdb_entry_return
|
2001-12-09 01:14:32 +00:00 |
|
Howard Chu
|
21c5674d34
|
Fix previous commit...
|
2001-12-08 13:07:01 +00:00 |
|
Howard Chu
|
fd93e0721b
|
Cleanup previous commit
|
2001-12-08 11:15:55 +00:00 |
|
Howard Chu
|
ad9d17d537
|
Added dn_rdnlen. Fixed rdn leak in limits.c.
|
2001-12-08 11:08:26 +00:00 |
|
Howard Chu
|
e2c2de11c3
|
Converted all use of dn_parent to the in-place version. (Fixed a pdn leak
in back-sql along the way.)
|
2001-12-08 10:37:42 +00:00 |
|
Howard Chu
|
a06bc9007c
|
Switched to dn_parent1, cleaned up dn2id_add/delete
|
2001-12-08 10:10:04 +00:00 |
|
Howard Chu
|
2721df21d4
|
Changed be_nsuffix from char ** to struct berval **, removed nsufflen
|
2001-12-08 05:17:31 +00:00 |
|
Howard Chu
|
55a217d9ae
|
Changed be_nsuffix from char ** to struct berval ** to eliminate strlen's
|
2001-12-08 05:15:58 +00:00 |
|
Kurt Zeilenga
|
e2173e3c20
|
Disallow duplicate duplicate data
|
2001-12-08 04:30:23 +00:00 |
|
Howard Chu
|
840a8c95ed
|
Fix typos in previous commit
|
2001-12-08 01:16:10 +00:00 |
|
Kurt Zeilenga
|
d46252fb21
|
Port reference scope fix from back-ldbm
|
2001-12-07 22:41:43 +00:00 |
|
Howard Chu
|
505a8693e6
|
Some fixes for BDB_IDL_MULTI. Experimental back-hdb code.
|
2001-12-07 12:38:25 +00:00 |
|
Howard Chu
|
1d9818a8da
|
Re-introduce BDB_ID2ENTRY_PAGESIZE. Even if the index databases can get
by on 4K pages, the id2entry database still needs more (16K).
|
2001-12-07 07:07:55 +00:00 |
|
Howard Chu
|
d0c0dfcce6
|
Minor fixes for BDB_IDL_MULTI
|
2001-12-07 06:48:38 +00:00 |
|
Howard Chu
|
efa14463ec
|
Missed a spot where root DN_SUBTREE index was still getting written.
|
2001-12-07 06:48:12 +00:00 |
|
Howard Chu
|
66266f9c25
|
Bare minimum changes to support BDB 4.0
|
2001-12-07 05:05:00 +00:00 |
|
Howard Chu
|
0552b1c53f
|
NT updates from jon@symas.com.
|
2001-12-07 04:03:25 +00:00 |
|
Howard Chu
|
a19a5d8c15
|
When using BDB_IDL_MULTI, there are no longer any issues with storing
large IDLs. Concurrency is improved by using as small a page size as
possible. So, set the pagesize back to the default 4096 in this case.
|
2001-12-07 01:40:08 +00:00 |
|
Howard Chu
|
11b3c142e4
|
Fix for BDB_IDL_MULTI to work.
|
2001-12-06 14:15:47 +00:00 |
|
Howard Chu
|
859e283834
|
Experimental index management. Uncomment BDB_IDL_MULTI in back-bdb.h
to activate. Needs to check limits in bdb_idl_insert_key, will get to
that later.
|
2001-12-06 13:20:18 +00:00 |
|