Kurt Zeilenga
493b415255
Rework indexing code, removing "autolang" and making
...
"subtypes" and "lang" default behavior.
2001-12-05 00:06:03 +00:00
Pierangelo Masarati
6df4889f43
minor cleanup
2001-11-17 14:39:10 +00:00
Howard Chu
0bfaa8b4ae
Changed AttributeType.sat_cname from char * to struct berval.
...
(will fix up back-bdb next.)
2001-11-16 07:45:37 +00:00
Julio Sánchez Fernández
aee598dba7
Remove bogus refusal to index ;binary attributes. Notice that I left
...
in a check. This way you have to say:
index userCertificate eq
If we remove it, we could say:
index userCertificate;binary eq
I have not tried the latter.
2001-10-23 13:42:37 +00:00
Howard Chu
c981026a6c
Missed a test in AttributeDescription commit
2001-10-22 14:55:42 +00:00
Howard Chu
0e16f6acf9
Moved AttributeDescription caching into main code:
...
Changed AttributeDescription.{ad_cname,ad_lang} to struct berval everywhere
Deleted ad_free() everywhere
Added ad_mutex to init.c
The AttributeDescriptions are in a linked list hanging off of the
corresponding AttributeType.
2001-10-22 13:23:05 +00:00
Gary Williams
3281138bcf
fix format for new logging
2001-01-17 17:01:19 +00:00
Kurt Zeilenga
8a8ed19a44
fix typo in comment
2000-09-30 05:34:02 +00:00
Ben Collins
d216e32d63
declare return value of index_mask() to be slap_mask_t, also get rid of extraneous code in for() loop
2000-09-13 21:51:14 +00:00
Kurt Zeilenga
02f888c563
First cut of LDBM substrings indexing. Needs testing.
2000-08-22 21:26:25 +00:00
Kurt Zeilenga
b0a01cfbc2
ITS#636, keys == NULL bug
...
plus plug leak when keys != NULL
2000-07-25 01:24:47 +00:00
Kurt Zeilenga
693fb9424a
unifdef -DSLAPD_SCHEMA_NOT_COMPAT -USLAPD_SCHEMA_COMPAT
2000-06-06 19:43:18 +00:00
Kurt Zeilenga
ea069cb7c2
New indexer/filter codes (test suite works) with cheats
...
Updated NT Project files (with Cyrus SASL library depend)
2000-06-04 22:59:38 +00:00
Kurt Zeilenga
8dbd32687e
SLAPD_SCHEMA_NOT_COMPAT: disable indexing
2000-05-27 06:23:25 +00:00
Kurt Zeilenga
074be5fb5a
SLAPD_SCHEMA_NOT_COMPAT: numerous changes to syntax flags, mostly minor
...
added new value_normalize() code
need LDAPsyntaxes X- field support
2000-05-18 17:21:42 +00:00
Kurt Zeilenga
ae7d89fa1e
SLAPD_SCHEMA_NOT_COMPAT addl. filter changes (a work in progress).
2000-05-15 00:41:29 +00:00
Kurt Zeilenga
4bc786f34b
Y2k copyright update
2000-05-13 02:47:56 +00:00
Kurt Zeilenga
ebfb0b8261
Move presence index change outside of values for loop.
2000-03-20 23:38:38 +00:00
Kurt Zeilenga
d1803fce0a
Fix multivalued indices. Need to add indices of remaining
...
values after delete of any value.
2000-03-17 18:22:16 +00:00
Kurt Zeilenga
ceb6412e62
More -DSLAPD_SCHEMA_NOT_COMPAT changes
...
Not hidden: "<anonymous>" modifiersname
2000-02-15 18:57:07 +00:00
Kurt Zeilenga
36b0423311
Add Modification/Modifications structures for -DSLAPD_SCHEMA_NOT_COMPAT
2000-02-07 20:37:10 +00:00
Kurt Zeilenga
bc51bd5180
Yet another round of SLAPD_SCHEMA_NOT_COMPAT changes...
...
Changes outside of #ifdef include three value filter processing.
2000-02-06 21:09:44 +00:00
Kurt Zeilenga
f9195f9b6f
Another round of SLAPD_SCHEMA_NOT_COMPAT changes including
...
basic structures for handing language tags and binary option
(but less actual code to actually support them). Provided
for reference only. Will not even compile.
2000-02-05 05:01:41 +00:00
Kurt Zeilenga
3a6e906194
Replace -DSLAPD_SCHEMA_COMPAT with -USLAPD_SCHEMA_NOT_COMPAT
2000-01-31 22:14:16 +00:00
Kurt Zeilenga
ce56fbcba8
Remove ai_syntaxinfo (syntax) from AttrInfo. Call attr_syntax() directly.
2000-01-28 21:10:34 +00:00
Kurt Zeilenga
cca2bdcb40
Move INDEX_ macros from back-ldbm.h to slap.h and prefix with SLAP_
...
Move AttrInfo from back-ldbm.h to attr.c
2000-01-28 20:38:00 +00:00
Kurt Zeilenga
c5da0c76ce
Additional changes to migrate to new schema codes
...
Still not usable.
2000-01-28 20:01:00 +00:00
Kurt Zeilenga
51190984ee
place old schema codes behind -DSLAPD_SCHEMA_COMPAT
2000-01-28 01:17:58 +00:00
Kurt Zeilenga
bbeec83869
ITS#357 (cont): Don't crash on at_cn == NULL.
1999-11-17 22:53:54 +00:00
Kurt Zeilenga
8032f5885d
ITS#357: at_cn == NULL causes crash
1999-11-17 22:43:07 +00:00
Kurt Zeilenga
403f4479bc
Add OpenLDAP RCSid to *.[ch] in clients, libraries, and servers.
...
Replace old Id as needed (back-tcl).
Leave updating of contribWare to contributors (for now).
1999-09-08 19:06:24 +00:00
Kurt Zeilenga
e4f6d54877
New dn2id format with base/one/subtree indices (ldbm/bdb2)
...
New id2entry (id-less) format (ldbm/bdb2)
Removed id2children (ldbm/bdb2)
Added nextid database (ldbm)
Broke ldbmtest
Removed ldif2* tools (ldbm/bdb2)
Added slap tools (slapadd, slapcat, slapindex)
1999-08-17 19:00:59 +00:00
Kurt Zeilenga
1ffe5122b7
Implement DN_PARENT_PREFIX and framework for DN_SUBTREE_PREFIX.
1999-08-11 20:59:28 +00:00
Kurt Zeilenga
9c3ed0310b
Add copyright notices.
1999-08-06 23:07:46 +00:00
Kurt Zeilenga
de8a1d518a
Slightly better ITS#238 fix than last commit... has Debug
...
message, doesn't bother to open/close index files...
1999-07-28 23:19:16 +00:00
Kurt Zeilenga
0e4e5c7a13
Fix index_change_vals NULL vals bug (ITS#238)
1999-07-28 22:57:52 +00:00
Kurt Zeilenga
170836751a
Namespace changes
...
added slap_ and ldbm_ to many structures
added typedefs to many structures
used typedefs
New main.c argument parsing with ldap url support (replacing -a address).
New sockaddr_in handling and support for multiple listeners.
1999-07-19 19:40:33 +00:00
Juan Gomez
4a683c204d
Replaced add/delete_value() by change_value() and index_add/delete_value()
...
by index_change_values(). The functions were exactly the same but for
one call.
1999-06-15 23:56:28 +00:00
Juan Gomez
5b0e434d93
Enabled deletion of stale index entries. (EXPERIMENTAL)
1999-06-15 20:06:16 +00:00
Juan Gomez
e1819eaff9
Added function delete_value() to remove entries from the index files
...
when necessary.
1999-06-15 19:50:20 +00:00
Juan Gomez
499b8fdc04
Added index_delete_values() in preparation for changes that will keep
...
index files clean.
1999-06-14 18:16:05 +00:00
Juan Gomez
bf49544833
s/official/canonical/ & s/at_on/at_cn/
1999-06-14 16:36:00 +00:00
Juan Gomez
7d8330fd40
Added code for uniform naming of index files.
1999-06-11 20:42:48 +00:00
Kurt Zeilenga
e44c8504f3
value_normalize can change the length of value. Fixed
...
use in index_add_value(), but should modify value_normalize
to use a struct berval * instead of a char* pointer...
1999-06-02 20:29:35 +00:00
Kurt Zeilenga
0ce6ddb80c
Make a copy of "dn" to avoid modification of string literal.
1999-05-27 23:04:28 +00:00
Juan Gomez
5a16e3b9e9
Fixed index file naming bug and added support for LDAP_MOD_SOFTADD.
1999-05-26 11:41:14 +00:00
Kurt Spanier
1c7ebc514f
Some minor clean-up; checking bdb2 for sync with ldbm.
1999-04-01 09:58:36 +00:00
Hallvard Furuseth
3277a27b10
Remove unused variables
1999-03-06 16:29:05 +00:00
Kurt Zeilenga
2a20131eaa
Consistently use %ld for printing IDs. %lu was used in many cases.
...
I rather have NOID printed as "-1". It it could argued that ID
should be signed.
1999-02-11 18:19:52 +00:00
Kurt Spanier
42f6e78dd4
Integration of the BDB2 backend into the new init/startup/shutdown schema.
...
Integration into ./configure ( --enable-bdb2 ).
Adaptation of the test-suite ( 'make' -> ldbm; 'make bdb2-local' -> bdb2 ).
Minor fixes in slapd/libldbm.
1999-02-08 11:42:14 +00:00