Commit Graph

6398 Commits

Author SHA1 Message Date
Kurt Zeilenga
cea1746182 Return proper result codes for usage errors 2002-02-21 19:29:32 +00:00
Kurt Zeilenga
75d97a43eb Fix bug in unused function 2002-02-21 19:28:49 +00:00
Kurt Zeilenga
3d9cf98dad If port is zero, use default. 2002-02-21 15:39:35 +00:00
Stig Venaas
9e8f3053cb Added UTF8bvnormcmp(), should replace UTF8normcmp() 2002-02-20 15:51:10 +00:00
Pierangelo Masarati
2d1eb56725 #ifdef local time hack 2002-02-19 09:11:55 +00:00
Kurt Zeilenga
33516fa9eb #ifdef ACI/authpasswd schema 2002-02-18 20:06:50 +00:00
Kurt Zeilenga
348e489b35 #ifdef experimental controls 2002-02-18 19:48:27 +00:00
Kurt Zeilenga
3c70228fd2 Assigned 'published' OID for whoami? op 2002-02-18 18:22:07 +00:00
Kurt Zeilenga
1257469b76 Updates from SDF 2002-02-18 18:10:25 +00:00
Kurt Zeilenga
aae22fbc61 Updates from -devel 2002-02-18 18:09:26 +00:00
Kurt Zeilenga
8cbb01f638 More 2002-02-18 18:05:11 +00:00
Kurt Zeilenga
cf3ddbe263 Misc updates 2002-02-18 18:02:26 +00:00
Howard Chu
f9902a32b4 Changed supportedFeatures to array of struct bervals 2002-02-15 16:33:44 +00:00
Howard Chu
81c3c311a8 Changed reqoid to struct berval 2002-02-15 16:27:31 +00:00
Howard Chu
a0bfd8b058 Add basic objectClass filtering to filtered replicas 2002-02-15 15:21:13 +00:00
Howard Chu
ce4466655e Fix ad_inlist typo on oc->required 2002-02-15 14:48:01 +00:00
Pierangelo Masarati
2aec424646 use memchr in ber_bvchr 2002-02-14 21:10:13 +00:00
Pierangelo Masarati
215448ac83 substrings match works with NULs in UTF8 strings 2002-02-14 18:55:38 +00:00
Pierangelo Masarati
55993dc66a don't free dangling pointers :( 2002-02-14 18:15:56 +00:00
Pierangelo Masarati
c31596eb78 not-so-easy-to-spot bug in filter writing 2002-02-14 18:01:15 +00:00
Pierangelo Masarati
ef607e65d7 first round at replacing UTF8normalize with UTF8bvnormalize 2002-02-14 16:01:48 +00:00
Stig Venaas
217103b138 Added UTF8bvnormalize which is like UTF8normalize but returns berval. It
can be passed a pointer to the berval to be used for the return value. If
this is NULL, it will allocate a new one.
2002-02-14 14:03:27 +00:00
Howard Chu
933f6a5fdd For ITS#1601, add ber_init2() using given buffer in-place instead of
allocating a copy.
2002-02-14 13:32:40 +00:00
Pierangelo Masarati
32e48d9e4d disallow unescaped NULs in UTF-8 string values 2002-02-13 22:49:03 +00:00
Kurt Zeilenga
63bdcda971 Fix for Linux on zSeries. 2002-02-13 21:26:24 +00:00
Pierangelo Masarati
39891e4e5b make UTF8STringNormalize handle NUL 2002-02-13 21:25:57 +00:00
Pierangelo Masarati
6e88ea7108 fix dnValidate (leak and return SUCCESS) 2002-02-13 19:25:58 +00:00
Pierangelo Masarati
3cc674589d DNs may include NULs 2002-02-13 19:18:31 +00:00
Kurt Zeilenga
6ebe49f1b6 Limit the length of [R]DNs on input to 8192. A lower limit,
especially for anonymous clients, might be even more reasonable.
2002-02-13 18:11:52 +00:00
Kurt Zeilenga
427478a753 Use memchr, not strlen, to look for embedded NULs. 2002-02-13 17:48:39 +00:00
Kurt Zeilenga
dd12660a14 Add embedded NUL check. This is one case where we don't want to
be liberal in what we accept.
2002-02-13 17:23:33 +00:00
Kurt Zeilenga
ee6d1a4d40 Check for NULs in DNs. 2002-02-13 16:41:41 +00:00
Pierangelo Masarati
6913aadcdf minor cleanup 2002-02-13 14:44:08 +00:00
Pierangelo Masarati
33d5f0f8f8 honor the ber_len field to allow to exploit ldap_bv2[r]dn to handle DNs embedded in longer strings ... 2002-02-13 12:09:36 +00:00
Pierangelo Masarati
a117c5eee7 use ldap_bv2[r]dn and turn ldap_str2[r]dn into wrappers 2002-02-13 11:46:33 +00:00
Howard Chu
b1c39eff65 Fix previous commit, need to detect very short packets. 2002-02-13 11:29:05 +00:00
Pierangelo Masarati
959edd88c0 prepare for ldap_bv2dn() 2002-02-13 10:05:22 +00:00
Howard Chu
ab099caed5 ber_get_next: return error if decoded ber_len is smaller than actual count 2002-02-13 09:59:10 +00:00
Kurt Zeilenga
2a2d6cc93e Add embedded NUL checks, fix last commit 2002-02-13 09:26:25 +00:00
Kurt Zeilenga
7c962f3dd4 dnValidate needs to check for embedded NULs. 2002-02-13 09:20:07 +00:00
Kurt Zeilenga
f1cc2b7ab2 #if 0 RDN debugging 2002-02-13 08:00:31 +00:00
Kurt Zeilenga
275f3be363 Misc. DN fixes and cleanups, namely don't muck with AVA_BINARY values
Also, pass empty_bv when bv_val is NULL.
2002-02-13 06:35:27 +00:00
Kurt Zeilenga
b2d948f0e5 Quick (and expensive) fix to detect DNs with embedded NULs 2002-02-13 04:20:11 +00:00
Kurt Zeilenga
fcf835558e improve log message 2002-02-12 22:55:36 +00:00
Kurt Zeilenga
9b18295f4f Don't print unprintable keys 2002-02-12 19:29:27 +00:00
Kurt Zeilenga
d88f1757ef Fix pointer initialization bug 2002-02-12 19:18:39 +00:00
Kurt Zeilenga
2f6e801ab1 Fix overly complex control management 2002-02-12 18:47:48 +00:00
Kurt Zeilenga
35d04ef121 Minor cleanup. 2002-02-12 04:51:23 +00:00
Kurt Zeilenga
20e46b27fc no need to check escaping of normalized dn 2002-02-12 04:50:40 +00:00
Kurt Zeilenga
0006ec0a46 Revert most of last change 2002-02-12 01:30:35 +00:00