Kurt Zeilenga
|
1634811465
|
Use BER_BVNULL
|
2004-04-07 01:11:32 +00:00 |
|
Pierangelo Masarati
|
14f2ebe1d3
|
'=' must be escaped (and escapable by '\') according to RFC2253 and draft-ietf-ldapbis-dn-XX (ITS#3009; must have slipped thru some changes long time ago...)
|
2004-03-09 20:43:27 +00:00 |
|
Pierangelo Masarati
|
8aedfad3bb
|
improve previous commit
|
2004-03-05 10:53:35 +00:00 |
|
Pierangelo Masarati
|
df312502ac
|
append trailing slash to AD canonical if DN is exactly a domain (ITS#3000)
|
2004-03-05 10:33:43 +00:00 |
|
Kurt Zeilenga
|
3c598e89fb
|
Happy new year
|
2004-01-01 19:15:16 +00:00 |
|
Kurt Zeilenga
|
159de0f135
|
Updated notices and acknowledgements
|
2003-11-26 07:16:36 +00:00 |
|
Hallvard Furuseth
|
5ee9264465
|
Fix assignment of <char/int>* to unsigned <char/int>* and vice versa.
|
2003-05-02 13:29:28 +00:00 |
|
Luke Howard
|
375224128e
|
More careful checking of AVA flags
|
2003-04-24 11:10:31 +00:00 |
|
Luke Howard
|
ad40330a86
|
Fix Active Directory canonical name breakage
|
2003-04-24 11:09:22 +00:00 |
|
Howard Chu
|
1874658ae3
|
More memory context tweaks
|
2003-04-11 01:02:08 +00:00 |
|
Kurt Zeilenga
|
6939c53170
|
Happy new year
|
2003-01-03 20:20:47 +00:00 |
|
Howard Chu
|
6a903bc1e5
|
Added new ldap_get_{dn,attribute,values}_ber functions for linearly
processing a search entry. Avoids O(n^2) ldap_get_values() behavior.
|
2002-09-05 11:33:32 +00:00 |
|
Howard Chu
|
90b1e7bd45
|
Fix ldap_X509dn2bv, OpenSSL gives us DN attributeTypes in EBCDIC
|
2002-09-02 13:46:56 +00:00 |
|
Julius Enarusai
|
6107ba67d2
|
Coverted LDAP_LOG macro to use subsystem ID int values instead of string values
|
2002-07-11 20:33:24 +00:00 |
|
Kurt Zeilenga
|
2de291ed6e
|
Cut back on the logging...
|
2002-06-21 19:49:25 +00:00 |
|
Kurt Zeilenga
|
40ef77a8f8
|
Add error handling cleanup
|
2002-06-05 15:51:42 +00:00 |
|
Kurt Zeilenga
|
99f5983fb6
|
Consistently don't check for NULL session handle and other pointers.
Application is responsible for providing valid session pointers.
|
2002-06-05 15:46:26 +00:00 |
|
Howard Chu
|
e8e7847175
|
ITS#1797 silence uninit'd var warnings
|
2002-05-04 10:52:05 +00:00 |
|
Howard Chu
|
c9699c1072
|
Fix previous commit - must fully init newAVA
|
2002-04-30 14:43:05 +00:00 |
|
Howard Chu
|
b005540094
|
Added ldap_ucs_to_utf8s to convert ASN.1 T61STRING, BMPSTRING, and
UNIVERSALSTRING to UTF-8 format.
Rewrote ldap_X509dn2bv to check ASN.1 types and use above function.
|
2002-04-30 13:57:01 +00:00 |
|
Howard Chu
|
17ae956518
|
Added ldap_X509dn2bv()
deleted ldap_pvt_tls_get_peer()
changed ldap_pvt_tls_get_peer_dn() to use ldap_X509dn2bv()
added ldap_pvt_tls_get_my_dn()
|
2002-04-18 12:29:30 +00:00 |
|
Pierangelo Masarati
|
4a8ab5dbf2
|
Mostly based on patches provided by Hallvard B. Furuseth
ITS#1677 - cast away const warnings
ITS#1678 - unsigned char args to ctype funcs
ITS#1682 - don't redefine ldap_debug
ITS#1683 - uninitialized vars
ITS#1703 - ldo_debug initialization
ITS#1705 - unsigned testing
ITS#1706 - socklen_t args
ITS#1719 - back-tcl update (other cleanups/fixes/improvements; yet untested)
ITS#1724 - integerNormalize/integerFilter/integerIndexer bugs
ITS#1725 - libdes not required
Implement back-null (/dev/null style backend)
Cleanup some misc warnings ("%lu" format, unused/uninitialized vars,
ambiguous operator precedence)
Kurt, please regenerate configure
|
2002-04-08 09:43:22 +00:00 |
|
Julius Enarusai
|
3921e1b0c2
|
Added LDAP_LOG messages
|
2002-03-27 21:38:32 +00:00 |
|
Kurt Zeilenga
|
d50eb2e959
|
C translator portability changes (ITS#1609)
|
2002-02-23 23:47:37 +00:00 |
|
Pierangelo Masarati
|
32e48d9e4d
|
disallow unescaped NULs in UTF-8 string values
|
2002-02-13 22:49:03 +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 |
|
Pierangelo Masarati
|
959edd88c0
|
prepare for ldap_bv2dn()
|
2002-02-13 10:05:22 +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 |
|
Pierangelo Masarati
|
5c1d9b4fce
|
fix assertion
|
2002-01-16 10:58:04 +00:00 |
|
Pierangelo Masarati
|
6c5be3006d
|
don't auto-detect DCE form; assert the UTF-8 charlen is legal
|
2002-01-16 09:57:20 +00:00 |
|
Howard Chu
|
2d51ad52b3
|
Added LDAP_UTF8_CHARLEN2() to validate shortest possible encoding
of UTF8 string. (Returns charlen if valid, 0 if not.)
|
2002-01-15 08:07:46 +00:00 |
|
Pierangelo Masarati
|
36f6a1169a
|
make temporary RDN and AVA arrays rescalable if needed
|
2002-01-14 19:44:04 +00:00 |
|
Pierangelo Masarati
|
2ee2e7a145
|
quick fix that in pretty mode escapes with hexpair the specials ',', '+' and '\'
|
2002-01-14 19:33:13 +00:00 |
|
Pierangelo Masarati
|
7887ef7e92
|
revert previous commit: do accept '\00'
|
2002-01-14 11:09:14 +00:00 |
|
Pierangelo Masarati
|
3a6676a082
|
accept '\<special>' anywhere in the string
|
2002-01-14 10:50:02 +00:00 |
|
Pierangelo Masarati
|
c4164193ad
|
fix behavior on improperly escaped illegal hexpair; do not accept '\00'
|
2002-01-14 09:56:54 +00:00 |
|
Kurt Zeilenga
|
f80b4ad53e
|
Minor const'ification cleanup
|
2002-01-08 20:24:56 +00:00 |
|
Pierangelo Masarati
|
e5f503c24a
|
Passes last test (empty value); also passes many of the invalid DN tests if liberal parsing is allowed
|
2002-01-07 15:23:23 +00:00 |
|
Pierangelo Masarati
|
e15aa7b682
|
fix non-printable flag detection; improve dn test (passes all but last in http://www.openldap.org/ietf/ldapbis/dn.txt)
|
2002-01-07 15:10:50 +00:00 |
|
Pierangelo Masarati
|
23cd7e837a
|
fix domain generation for UFN
|
2002-01-07 13:16:53 +00:00 |
|
Kurt Zeilenga
|
0e2af54a3f
|
Update copyright statements
|
2002-01-04 21:17:25 +00:00 |
|
Howard Chu
|
da00e5dac1
|
Use LDAP_FREE instead of free
|
2002-01-03 23:30:45 +00:00 |
|
Kurt Zeilenga
|
1d4e2342d2
|
Add LBER DN format flag (no code yet).
Return API result codes, not protocol result codes.
|
2002-01-03 20:06:29 +00:00 |
|
Kurt Zeilenga
|
fdb62b5650
|
Even larger TMP_SLOTS
|
2002-01-03 19:45:34 +00:00 |
|