Hallvard Furuseth
933121a7d9
'static' must come before 'const'.
2003-01-19 13:35:53 +00:00
Hallvard Furuseth
1fbbc11811
Fix LBER_ERROR vs. -1 confusion.
2003-01-19 13:10:17 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Kurt Zeilenga
3dea614e99
cleanup
2002-12-31 05:55:06 +00:00
Pierangelo Masarati
d758296595
silence warnings
2002-12-23 12:02:29 +00:00
Howard Chu
0c2439f5ef
Added subjectAltName:IPADDR tests to ldap_pvt_tls_check_hostname()
2002-12-18 21:43:17 +00:00
Howard Chu
c102809fab
Use ber_flatten2 to avoid excess mallocs
2002-12-18 19:16:31 +00:00
Howard Chu
464292b50c
Remove unneeded sasl_ssf param from ldap_int_sasl_open(),
...
it's set by ldap_int_sasl_external().
2002-12-18 03:09:52 +00:00
Howard Chu
95a512f849
Fix typo in UDP logmsg
2002-12-16 18:17:20 +00:00
Hallvard Furuseth
3b591dd4f6
Fix const errors.
2002-12-11 08:30:29 +00:00
Kurt Zeilenga
56ebd53e51
expand authid buffer
2002-12-08 07:56:49 +00:00
Kurt Zeilenga
840e7f2c5c
Include <ac/unistd.h> not <sys/types.h> and <unistd.h>
...
Use sizeof( string ) to determine buffer size
Put authzDN in same for as used on server
(We could, just as well, set authid to "fubar" as it matters
not what it is set to)
2002-12-07 18:32:40 +00:00
Pierangelo Masarati
58c18226e0
on my system need headers to define geteuid() and so
2002-12-07 17:32:33 +00:00
Howard Chu
cf6a9d9d0f
For LDAP_PROTO_IPC set the SASL EXTERNAL authid to allow the mech to be
...
used by the client side. Please review.
2002-12-07 13:06:20 +00:00
Howard Chu
d7c0a19aab
Added check for sendmsg(). Added hack to use BSD sendmsg()/recvmsg() to
...
propagate peer creds if no explicit PEERCRED facility exists. Works
on Solaris 8.
2002-12-04 16:03:02 +00:00
Kurt Zeilenga
c0f8e30d22
cleanup
2002-12-04 05:13:14 +00:00
Kurt Zeilenga
73b4170a6c
Rework libldap to not attempt to set LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
2002-12-04 04:51:55 +00:00
Kurt Zeilenga
da76c1951e
First-cut proxy authorization support.
2002-12-03 06:11:32 +00:00
Kurt Zeilenga
9ba95dd027
ITS#2221: getaddrinfo(3) not thread-safe on some platforms (namely
...
due to res_() routines). Change all res_() dependent routines to
share same mutex.
2002-12-03 01:15:03 +00:00
Howard Chu
4056a8c8a7
Fix ITS#2200, must send non-NULL cred even if it's zero-length.
2002-11-28 16:15:27 +00:00
Kurt Zeilenga
661541fdfc
Fix error handling
2002-11-28 04:36:22 +00:00
Kurt Zeilenga
5fe7d38e1c
Add whoami.c and passwd.c and other minor tweaks to control cleanups
2002-11-28 02:44:38 +00:00
Kurt Zeilenga
235973571a
proxy authz control (client only)
...
Misc control cleanups (client only)
2002-11-28 02:26:55 +00:00
Howard Chu
e721e6bec9
Fix ITS#2187, recursively free all requests
2002-11-27 03:57:36 +00:00
Howard Chu
1702d408bf
ITS#2184 maxbuf tweaks from Larry Greenfield @ CMU
2002-11-27 03:51:46 +00:00
Pierangelo Masarati
256f5bbe57
silence warnings
2002-11-10 19:57:16 +00:00
Howard Chu
6b53b4c507
Plug memleak in previous commit
2002-10-24 23:51:34 +00:00
Howard Chu
ddfb4b775b
Forced commit, undo previous accidental checkin.
2002-10-24 11:40:37 +00:00
Howard Chu
4396ad3316
ITS#2153, make sure sockbuf buffer is empty before returning (-2) from
...
try_read1msg. Blind fix, problem was not duplicated/tested.
2002-10-24 11:39:06 +00:00
Howard Chu
e2d245e698
Fix comment garbled in 2.1.6. (Very weird, how did this happen?)
2002-10-23 02:45:44 +00:00
Kurt Zeilenga
75e1620ee4
Add copy of OPL 2.0.1 and note in files which specifically refer
...
to 2.0.1 as to the location to the copy.
2002-10-15 23:22:20 +00:00
Kurt Zeilenga
63e7c9e796
first cut at ditStructureRule and nameForm routines
2002-10-13 01:36:58 +00:00
Howard Chu
a9fed89e3f
In sb_tls_bio_read/write, check for EAGAIN in addition to EWOULDBLOCK.
...
According to read(2)/write(2) EAGAIN is the only one we're interested in.
Fixes HP-UX 11.
http://www.openldap.org/lists/openldap-software/200105/msg00564.html
2002-10-11 06:22:24 +00:00
Luke Howard
a4ace0ba68
Fix crasher in ldap_domain2dn()
2002-10-10 08:59:19 +00:00
Kurt Zeilenga
cf318d2340
Add ditContentRule routines
2002-10-09 02:56:46 +00:00
Kurt Zeilenga
f833b02518
Fix realloc() bugs
2002-10-08 20:37:30 +00:00
Howard Chu
e37ccca9aa
Fix ldap_int_get_controls for optional values
2002-10-07 19:58:10 +00:00
Kurt Zeilenga
491e75548c
ITS #2121 submitted by Dave Steck <dsteck@novell.com> with minor changes.
...
Patch to allow referrals to be read on synchronous non-search operations.
Treat referrals the same way as MatchDN or ErrorString values.
Store them in the ld structure and provide an option for ldap_get_option
to retrieve them
2002-10-02 19:14:02 +00:00
Kurt Zeilenga
bbbf2f4ca7
Fix handling of non-critical controls for backends which
...
support no controls.
2002-09-24 18:20:59 +00:00
Howard Chu
4d8a2e2815
Remove dependencies on HAVE_VSNPRINTF, use replacement in liblutil/stdio.c
...
if needed. Same check for snprintf.
2002-09-06 20:54:22 +00:00
Howard Chu
ee30206bc2
Merged ldap_get_values_ber into ldap_get_attribute_ber.
2002-09-06 04:57:21 +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
af05dd5511
Set SSL session cache context ID
2002-09-04 07:17:31 +00:00
Howard Chu
f83d30a727
Fix previous commit - still need X509_free for peer cert.
...
Just not for local/my cert.
2002-09-04 02:28:42 +00:00
Kurt Zeilenga
a83cc88edd
Move ldap_control_dup() to ldap_pvt.h
2002-09-04 02:14:12 +00:00
Howard Chu
5d062ef54c
Don't call X509_free after SSL_get_certificate, it's not a duplicate.
2002-09-04 01:56:09 +00:00
Howard Chu
3099d89d9e
Don't use sasl_set_alloc on Cyrus 2, it manages all of its memory
...
internally and we don't want to get in the way.
2002-09-02 22:25:26 +00:00
Howard Chu
90b1e7bd45
Fix ldap_X509dn2bv, OpenSSL gives us DN attributeTypes in EBCDIC
2002-09-02 13:46:56 +00:00
Pierangelo Masarati
c76b36254c
cleanup comments
2002-08-31 10:41:49 +00:00
Howard Chu
17493164ea
Fix previous commit
2002-08-31 06:23:46 +00:00