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 |
|
Hallvard Furuseth
|
f43a823c73
|
Add missing "static" for functions declared static but defined non-static
|
2005-07-18 05:14:41 +00:00 |
|
Pierangelo Masarati
|
9c40a1869b
|
fix ITS#3474
|
2005-01-09 20:15:40 +00:00 |
|
Kurt Zeilenga
|
dc0eacd40b
|
Happy New Year!
|
2005-01-01 20:49:32 +00:00 |
|
Kurt Zeilenga
|
d611a4b49a
|
unifdef -UNEW_LOGGING
|
2004-09-04 04:54:28 +00:00 |
|
Kurt Zeilenga
|
67e9b48b7d
|
Cleanup
|
2004-09-03 00:24:07 +00:00 |
|
Pierangelo Masarati
|
8e5d04d2a8
|
allow unescaped equals, according to draft-ietf-ldapbis-dn (ITS#3229)
|
2004-07-10 10:48:41 +00:00 |
|
Pierangelo Masarati
|
dd5a27c1f6
|
log error string
|
2004-06-30 16:25:40 +00:00 |
|
Pierangelo Masarati
|
f195b20a1f
|
always hexpair escape special chars (databases must be rebuilt)
|
2004-05-07 22:29:10 +00:00 |
|
Pierangelo Masarati
|
7969841074
|
allow LDAPv2 DN to be enclosed in <>
|
2004-05-07 22:28:52 +00:00 |
|
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 |
|