Hallvard Furuseth
7b3bdf2185
Warning cleanup: signed meets unsigned. ber_flatten2() returns -1 on
...
error, not LBER_ERROR.
2008-10-13 10:18:15 +00:00
Pierangelo Masarati
ae665d0d3d
fix str2entry2() when there is no attrs (ITS#5308)
2008-01-11 19:32:01 +00:00
Kurt Zeilenga
c890c96d13
Happy New Year (belated)
2008-01-08 00:19:56 +00:00
Howard Chu
9dd2fbcba6
Log the attribute that failed normalization
2007-09-24 06:25:34 +00:00
Howard Chu
e8c2414831
Preliminary sorted value support
2007-09-24 01:31:23 +00:00
Howard Chu
c4dbe1a274
Attribute/Modification value counters
2007-09-21 08:43:56 +00:00
Pierangelo Masarati
a73826b834
don't allow NULL values (because of parsing errors; ITS#5090)
2007-08-13 19:33:01 +00:00
Pierangelo Masarati
d334ec71a0
cleanup
2007-08-03 19:21:07 +00:00
Pierangelo Masarati
32a9d5c7ed
require ';binary' when appropriate (ITS#5071)
2007-08-03 19:19:36 +00:00
Pierangelo Masarati
2271fb4636
detect braindead entries (e.g. from back-perl, ITS#4845,ITS#4852)
2007-02-26 09:50:19 +00:00
Howard Chu
f58ea89c20
Must use case-insensitive comparisons on attr types
2007-01-26 02:18:44 +00:00
Howard Chu
d5a7e252b3
#if out unnecessary code in prev commit
2007-01-03 02:10:30 +00:00
Howard Chu
2c1f91dd0f
Tweak entry alignment, play with STRIPE/STRIDE definitions to test.
2007-01-03 02:06:06 +00:00
Kurt Zeilenga
da6d9eb046
happy new year
2007-01-02 20:00:42 +00:00
Howard Chu
b79d63516d
Rewrite attrs_dup with attrs_alloc.
...
Add new entry_dup_bv that dups an entry in a single malloc. Leave it
unused for now; faster but consumes more heap.
2006-11-30 06:03:56 +00:00
Pierangelo Masarati
b6525c14d9
missing decl
2006-10-15 18:03:25 +00:00
Howard Chu
f63f46f0b1
Use a single malloc for entry_decode instead of two - partially decode
...
the entry to get nvals first, so the size can be computed.
2006-09-20 02:43:47 +00:00
Pierangelo Masarati
3a83c813df
use preallocated entries? (otherwise bdb_add and others leak...)
2006-09-03 10:58:13 +00:00
Howard Chu
78172aa0cf
Entry/Attribute struct caching, to minimize malloc fragmentation
...
Note: this breaks LDAP_COMP_MATCH and SLAP_ZONE_MALLOC. But they
were probably broken already anyway.
2006-08-29 01:43:23 +00:00
Kurt Zeilenga
eb9a3c1876
unifdef -DSLAP_ACL_HONOR_DISCLOSE
...
unifdef -DSLAP_ACL_HONOR_MANAGE
unifdef -DSLAP_OVERLAY_ACCESS
unifdef -DSLAP_ORDERED_PRETTYNORM
unifdef -DSLAP_AUTHZ_SYNTAX
Move LDAP_COLLECTIVE_ATTRIBUTES, LDAP_COMP_MATCH, and LDAP_SYNC_TIMESTAMP
back behind LDAP_DEVEL (as these either too experimental or not yet
implemented).
2006-04-12 05:53:26 +00:00
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Howard Chu
bb1984eb3e
Fix mod delete by ordered index
2005-12-05 11:46:56 +00:00
Pierangelo Masarati
6cb8b14435
allow undefined attrs to be "proxied" (ITS#3959)
2005-08-25 21:14:26 +00:00
Pierangelo Masarati
2b93e9b376
wrap validate/pretty/normalize for ordered values (only #ifdef LDAP_DEVEL)
2005-08-11 23:35:15 +00:00
Hallvard Furuseth
014393dfa2
Initialize a_flags of new Attribute in str2entry2().
2005-07-30 23:54:00 +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
Howard Chu
5d2ba11ad9
ITS#3847 silence warnings
2005-07-11 12:11:15 +00:00
Howard Chu
923bea9e14
Fix attribute sorting
2005-05-12 03:24:49 +00:00
Howard Chu
a1570f9185
NUL at end of entry not needed any more
2005-05-08 01:12:01 +00:00
Howard Chu
086ab17a8b
Delete unused entry_lenlen code
2005-05-08 00:52:24 +00:00
Howard Chu
a740c83208
Macro fix, again
2005-05-08 00:47:14 +00:00
Howard Chu
b5ed840a17
Fix bad macro interaction in prev commit
2005-05-08 00:45:58 +00:00
Howard Chu
f82e2cbf39
Make entry_encode/decode independent of slapd structure sizes
2005-05-06 21:24:49 +00:00
Howard Chu
fcf787dc0f
Rewritten str2entry, added str2entry2
2005-01-24 03:41:51 +00:00
Howard Chu
8db476e664
More tweaks to ldif_parse_line2 for str2entry
2005-01-19 12:07:06 +00:00
Howard Chu
bd8a9989f4
Added ldif_parse_line2 to parse in-place
2005-01-19 05:05:53 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Jong Hyuk Choi
5162c4477b
adaptive caching code
2004-12-14 17:25:35 +00:00
Kurt Zeilenga
d616bd4ff8
cleanup
2004-12-07 18:40:47 +00:00
Sang Seok Lim
decfd7217f
1) <all> type component reference support
...
2) nibble type memory support when decoding
3) description type object identifier support
4) OPTIONAL, DEFAULT support in certificate decoder/extractor/matching
5) Misc bug fix
2004-11-29 20:21:38 +00:00
Sang Seok Lim
a90e63fde0
ComponentFilterMatch support for userCertificate
2004-11-14 20:11:38 +00:00
Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +00:00
Pierangelo Masarati
6956e3d483
cleanup previous commit
2004-08-21 09:38:58 +00:00
Pierangelo Masarati
6b8fd66364
split entry_free in entry_clean ...
2004-08-20 12:01:15 +00:00
Pierangelo Masarati
3c7a3f78dd
further improve error log clarity
2004-07-07 23:01:22 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Howard Chu
cc743d2c1f
ITS#2865 don't try to calloc 0 bytes, log an error and return instead.
...
Don't crash in slapcat when NULL entry is returned.
2003-12-09 20:10:44 +00:00
Kurt Zeilenga
4e15a84452
Updated notices
2003-11-27 01:17:14 +00:00
Kurt Zeilenga
4eb36216db
ITS#2801: fix str2entry trace
2003-10-30 22:45:18 +00:00
Luke Howard
a7619c4ce9
Return duplicated entry from entry_dup() - interesting that
...
this was actually working when compiling without optimization
2003-10-18 15:07:51 +00:00