Commit Graph

206 Commits

Author SHA1 Message Date
Hallvard Furuseth
fac36dcba7 ITS#6932: Clean up strange asserts & nearby code.
Mostly found by Klocwork: Issues #213,298-300,331,342-343,374,390,410.
2011-05-05 15:55:29 +02:00
Howard Chu
0109f871bf Fix dnIsSuffix to use berval len 2011-02-25 03:25:20 +00:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Howard Chu
004540b360 ITS#6570 part #1 (again), reject RDNs with binary BER values 2010-06-07 00:02:32 +00:00
Howard Chu
007cd13010 ITS#6570 part #2, reject RDNs with empty values 2010-06-06 23:22:07 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Hallvard Furuseth
68b914d72b ITS#6338: Fix \0-termination of dnParent(x, x) for one-level DN x. 2009-10-19 23:51:08 +00:00
Pierangelo Masarati
5c2b116798 add in-scope helper 2009-05-04 10:57:50 +00:00
Hallvard Furuseth
fb8a419e58 More ITS#5968: Edit AVA_Sort() comment to describe new behavior. 2009-03-20 17:11:28 +00:00
Pierangelo Masarati
34b34f6b63 do not allow naming attribute repetitions in RDNs (ITS#5968) 2009-02-23 00:04:48 +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
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Howard Chu
c06ed65f2a Protect Debug messages from NULL pointers 2007-09-01 13:35:34 +00:00
Howard Chu
b236aba403 More for #5057 - reject duplicate AVAs 2007-07-23 05:49:49 +00:00
Howard Chu
c6b1e35598 ITS#5057 replace AVA_Sort with insertion sort 2007-07-23 05:23:31 +00:00
Howard Chu
69be5fd675 ITS#5057 fix AVA_Sort 2007-07-23 04:22:39 +00:00
Hallvard Furuseth
101b6b9363 Fix --without-tls (ITS#4975). Enable certificate matching. 2007-05-20 22:48:21 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Pierangelo Masarati
b898d35647 reduce code duplication 2006-08-26 17:55:56 +00:00
Pierangelo Masarati
9da24acb53 disable X-ORDERED 'VALUES' naming attributes by now 2006-08-26 17:28:07 +00:00
Pierangelo Masarati
ea3ffdd135 don't core if out value is NULL (log error instead; in partial fulfilment of ITS#4644) 2006-08-17 17:37:46 +00:00
Howard Chu
b1534d0ea9 Kludge to allow reading undefined attrs in DNs at startup 2006-04-29 02:15:53 +00:00
Kurt Zeilenga
cc2ad31bba remove more LDBM cruft 2006-04-11 18:56:11 +00:00
Howard Chu
90c8a53db4 plug leaks 2006-03-31 11:15:26 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Kurt Zeilenga
439af9ec10 (Quick)fix UUID naming attributes 2005-12-20 22:36:51 +00:00
Pierangelo Masarati
474dfbc8fd don't trust strchr/strrchr with bervals 2005-11-13 22:26:53 +00:00
Pierangelo Masarati
9129a2f7ee silence warnings 2005-09-10 18:59:35 +00:00
Pierangelo Masarati
07fd8431c2 allow "proxied" attributeDescriptions in DN as well (more about ITS#3959) 2005-09-06 17:21:24 +00:00
Howard Chu
b15a72caec ITS#3931 fix dnRelativeMatch return values 2005-08-14 23:08:20 +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
Pierangelo Masarati
a736b1041e clarify the usage of dnParent( dn, dn ) 2005-04-01 23:58:38 +00:00
Pierangelo Masarati
61bb4bb630 allow dnParent to work in place 2005-03-30 20:18:11 +00:00
Kurt Zeilenga
7677c00d80 cleanup 2005-03-23 01:50:49 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Howard Chu
0145d54325 In build_new_dn, rdn may be part of a larger string, use strncopy. 2004-11-29 04:03:56 +00:00
Pierangelo Masarati
761f287943 multiple precision with BIGNUM/gmp/ulong 2004-09-26 22:58:47 +00:00
Luke Howard
0ac9b6889e Remove unused variable if not compiling with HAVE_TLS - NB slapd always
exposes register_certificate_map_function(), as better to return an error
if a plugin is compiled to use it and slapd is not built with HAVE_TLS
than failing with an unresolved symbol
2004-09-20 04:06:25 +00:00
Luke Howard
eb9720c802 Add register_certificate_map_function() native plugin API for registering
alternate X.509 peer normalization function
2004-09-20 03:52:39 +00:00
Pierangelo Masarati
7dc5a0bb83 fix negative counters; prepare for imrpved count of sent data 2004-09-11 11:05:41 +00:00
Kurt Zeilenga
910076d26f Add additional DN matching rules. 2004-09-09 03:56:58 +00:00
Kurt Zeilenga
741f9ea383 Add initial dnSubtreeMatch.
Should reuse other DN routines.
Need to add various other DN matching rule functions.
This commit, combined with entryDN and slapcat -a, should
fully address ITS#3112.
2004-09-09 02:07:27 +00:00
Kurt Zeilenga
d611a4b49a unifdef -UNEW_LOGGING 2004-09-04 04:54:28 +00:00
Pierangelo Masarati
00f1c085cf move call to frontend API 2004-08-24 09:29:11 +00:00
Pierangelo Masarati
5992a9b7e6 dnMatch must be called with valid args 2004-07-18 21:34:01 +00:00
Pierangelo Masarati
e779235391 cleanup 2004-06-30 01:17:05 +00:00
Sang Seok Lim
ad19032bf2 This patch provides support for rdnMatch matching rule and RDN syntax in
RFC 3687. For now, both the attribute and assertion values are considered
as RDNs. Refer to ITS#3207 to find related discussion.
2004-06-29 23:36:58 +00:00
Kurt Zeilenga
e5a37f2125 SLAPD_DISCONNECT v -1 cleanup
misc other cleanup
2004-06-23 01:04:52 +00:00
Pierangelo Masarati
d40e5a365a fix DN_SEPARATOR() and clarify its use 2004-05-07 09:03:05 +00:00