Commit Graph

182 Commits

Author SHA1 Message Date
Quanah Gibson-Mount
1705fa7e55 Happy New Year 2015-02-11 15:36:57 -06:00
Howard Chu
f7a2438112 ITS#7895 drop toolmode checks in str2entry
They were obsoleted by ITS#6737 and have been redundant ever since.
(commit 15f1e7bdb7)
2014-08-02 11:17:12 -07:00
Howard Chu
f0475bab5a ITS#7902 fix str2entry / sorted vals 2014-07-22 20:21:35 -07:00
Kurt Zeilenga
5c878c1bf2 Happy new year (belated) 2014-01-25 05:21:25 -08:00
Kurt Zeilenga
0fd1bf30b8 Happy New Year 2013-01-02 10:22:57 -08:00
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Howard Chu
4f35d789ac Relax entry_header, zero-length entries are valid. 2011-08-27 14:48:04 -07:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Pierangelo Masarati
dc156d7f6e allow to set LDIF max line width (ITS#6645) 2010-12-07 10:14:51 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Pierangelo Masarati
dc12e58d38 allow to look-ahead entry DN without decoding the whole entry 2009-08-14 15:33:09 +00:00
Pierangelo Masarati
8ecfb077bf harmonize API: source to dest right to left 2009-08-14 14:18:04 +00:00
Pierangelo Masarati
e153f41e90 add entry_dup_to(); use it to address ITS#6172 (thanks to Michael Karcher) 2009-08-03 13:18:05 +00:00
Pierangelo Masarati
477e602afd make logs symmetric 2009-04-29 11:36:49 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
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