Commit Graph

146 Commits

Author SHA1 Message Date
Quanah Gibson-Mount
1705fa7e55 Happy New Year 2015-02-11 15:36:57 -06: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
Howard Chu
463c1fa25d ITS#7143 fix attr_dup2 when no values are present (attrsOnly = TRUE) 2012-02-14 17:29:14 -08:00
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Howard Chu
d89b0d7604 ITS#6845 set a_flags in attr_alloc() 2011-03-01 00:28:37 +00:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Hallvard Furuseth
92986c3434 ITS#6715 cleanup: Handle attr_valfind(0 values) when SLAP_ATTR_SORTED_VALS 2010-11-22 12:16:08 +00:00
Hallvard Furuseth
2a9cbcc5b5 No-op change for ITS#6715: help compiler a bit in attr_valfind() 2010-11-22 12:09:43 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +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
Howard Chu
bfdb93f80b ITS#5578 signed/unsigned comparison 2008-08-31 00:38:07 +00:00
Howard Chu
9b25fa4c38 ITS#5578 fix binary search 2008-07-05 23:26:41 +00:00
Howard Chu
41379411a3 Revert prev commit, impacts too much to take advantage 2008-03-04 10:09:12 +00:00
Howard Chu
92e23b13bd Add attr_free_x() - use memctx 2008-03-04 09:43:51 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Pierangelo Masarati
7aeac21440 silence warnings 2007-11-23 12:47:53 +00:00
Howard Chu
d2179d885f Use attr_valfind instead of value_find_ex to optimize lookups 2007-09-24 05:02:31 +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
9029c0902f don't trick coverity... 2007-08-16 11:32:10 +00:00
Hallvard Furuseth
8ce3f67c99 Delete unused label. 2007-01-11 12:04:49 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Howard Chu
68a0e0d922 Revert to ordering behavior of original attrs_free() 2007-01-01 13:42:36 +00:00
Howard Chu
598ef9e685 Fix prev commit 2006-12-30 12:47:17 +00:00
Howard Chu
6222b79bc8 streamline attrs_free 2006-12-29 01:00:24 +00:00
Howard Chu
43f0177a08 Fix prev commit, attrs_dup left a_desc uninit'd 2006-12-01 15:00:10 +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
829685e218 improve previous commit 2006-09-06 12:05:38 +00:00
Pierangelo Masarati
70624690c3 add attr_normalize*() helper (please holler if I missed any obvious alternative) 2006-09-06 09:06:50 +00:00
Pierangelo Masarati
cb3248f173 cleanup 2006-09-01 10:01:36 +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
Pierangelo Masarati
f5c308bdb6 more thread monitoring reworking; connection_pool_max may change via back-config 2006-08-18 10:26:03 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
c33124e698 make sure a_nvals are as many as a_vals (helps tracking other issues...) 2005-08-23 23:56: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
Howard Chu
cd15432de6 More accesslog updates 2005-06-10 11:41:57 +00:00
Pierangelo Masarati
546cba035c add comment on slap_dummy_bv 2005-05-21 14:51:37 +00:00
Pierangelo Masarati
cf31d48665 don't free officially dummy values 2005-05-13 08:50:10 +00:00
Pierangelo Masarati
22aed7ddf9 add a consistency check 2005-04-21 23:35:00 +00:00
Howard Chu
47e7948007 Schema caching for slaptools 2005-01-22 20:18:38 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Kurt Zeilenga
951159447b Cleanup 2004-12-30 19:15:52 +00:00
Sang Seok Lim
28a967584d Component Indexing support for BDB
- only for equality matching
- only components of ASN.1 types used in an X.509 certificate can be indexed
(composite types except for RDN and DN are not supported yet)
- how to use
index [attribute name].[component reference] eq
Ex)
index userCertificate eq
index userCertificate.toBeSigned.issuer.rdnSequence eq
index userCertificate.toBeSigned.serialNumber eq
index userCertificate.toBeSigned.version eq
2004-12-20 03:31:44 +00:00
Sang Seok Lim
3492452a5b 1) <select> and <content> type component reference support
2) attribute aliasing support
- x509CertificateIssuer
- x509CertificateSerial
- x509CertificateIssuerAndIssuer
3) AuthorityKeyIdentifier support(one of certificate extension)
4) Misc. improvement
- integrate OID and its decoder mapping table
- normalize and validate the values of both component asserions and
  extracted components
5) Misc. bug fix
2004-12-13 16:26:58 +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
Pierangelo Masarati
761f287943 multiple precision with BIGNUM/gmp/ulong 2004-09-26 22:58:47 +00:00
Pierangelo Masarati
41569c5ed7 fix attr_merge() usage; cleanup 2004-08-06 16:39:45 +00:00