Hallvard Furuseth
8690650121
ITS#4467: Fix ptr += snprintf buffer overflow tests (made out-of-range ptr).
...
Also avoid a buf[BUFSIZ] initialization.
2008-10-24 13:11:10 +00:00
Pierangelo Masarati
6bedf74c41
tag optional stuff
2008-10-22 23:38:09 +00:00
Pierangelo Masarati
91e14ca638
add support for (experimental) dereference control (ITS#5768); need to re-run autoconf (and autoheader?)
2008-10-22 22:19:49 +00:00
Pierangelo Masarati
2b95616768
missing $OpenLDAP$ header
2008-10-22 21:57:28 +00:00
Hallvard Furuseth
677a11ad26
ITS#5748: tavl_find3(NULL,,,) returned undefined data
2008-10-22 19:39:42 +00:00
Ralf Haferkamp
e8c1147b77
reset ld->ld_errno to avoid returning error codes of previously API calls (ITS#5762)
2008-10-21 16:17:41 +00:00
Hallvard Furuseth
08852acb80
Warning cleanup: signed meets unsigned, remove assert(unsigned >= 0).
2008-10-17 23:24:48 +00:00
Hallvard Furuseth
b464a790b8
Fix Debug(%d, scred->bv_len or -1) -> Debug(%ld, (long) scred->bv_len or -1L).
...
Cast sasl_encode() arg from unsigned char* to char*.
Warning cleanup: signed meets unsigned.
2008-10-17 20:46:44 +00:00
Hallvard Furuseth
1c85cf3c88
Warning cleanup: signed meets unsigned. ber_flatten2() returns -1 on
...
error, not LBER_ERROR.
2008-10-13 08:44:54 +00:00
Hallvard Furuseth
03a729673c
Warning cleanup: signed meets unsigned.
2008-10-13 08:13:27 +00:00
Howard Chu
9078381252
Cleanup unused defs
2008-10-09 11:33:49 +00:00
Howard Chu
4294664aad
ITS#5369 SASL/GSSAPi refactoring from Stefan Metzmacher <metze@samba.org>
...
and Rafal Szczeniak <mimir@samba.org>, with minor cleanups
2008-10-09 11:10:28 +00:00
Howard Chu
f7484f78e6
ITS#5369 SASL/GSSAPi refactoring from Stefan Metzmacher <metze@samba.org>
...
and Rafal Szczeniak <mimir@samba.org>, with minor cleanups
2008-10-09 10:51:28 +00:00
Howard Chu
b2432fdbf2
Add SASL_MECHLIST option to retrieve list of known SASL mechs
2008-10-09 09:28:39 +00:00
Howard Chu
c51252633b
Accept X-starttls for prev commit
2008-10-07 03:13:00 +00:00
Howard Chu
809548c88b
Handle StartTLS in URL extensions
2008-10-07 03:06:44 +00:00
Howard Chu
99186a90e0
Fix prev commit
2008-09-30 22:22:31 +00:00
Howard Chu
721264db13
ITS#5720 fix ldap_utf8_strchr arguments
2008-09-30 05:05:53 +00:00
Ralf Haferkamp
0f4f9c9c13
Avoid "label at end of compound statement" error of newer gcc
2008-09-19 12:58:00 +00:00
Pierangelo Masarati
43ae03fc10
silence warnings
2008-09-16 14:10:02 +00:00
Pierangelo Masarati
548a9f39ba
fix '<hex>'H conversion issue; did not look at decimal yet (ITS#5699)
2008-09-13 18:46:50 +00:00
Howard Chu
178141d7ec
ITS#5668 avoid overflows in Windows microsecond computation
2008-09-11 01:51:02 +00:00
Pierangelo Masarati
4aa9edf03e
cleanup round of memory handling (either check results or use ch_* calls; ITS#5691)
2008-09-09 19:58:47 +00:00
Howard Chu
cc94023c98
ITS#5677 s/TLS_CRL/TLS_CRLFILE/
2008-09-02 22:10:44 +00:00
Howard Chu
0dbeb1d87b
Pass LDAPURLDescs to connect functions instead of host/port
2008-08-15 22:53:47 +00:00
Howard Chu
46049f1d13
Fix prev commit
2008-08-15 10:53:11 +00:00
Howard Chu
baad2b249d
Connect callbacks need error recovery checks
2008-08-15 10:23:29 +00:00
Howard Chu
80d1dba901
Add LDAP_OPT_CONNECT_CB connection callbacks
2008-08-14 04:54:32 +00:00
Howard Chu
a225b02f17
Modular TLS support, proof of concept. tls2.c would replace tls.c,
...
but I'm leaving tls.c intact for now.
2008-08-13 16:18:51 +00:00
Hallvard Furuseth
4028c83c67
ber_decode_oid(): Fix typo in comment
2008-08-06 13:36:53 +00:00
Hallvard Furuseth
4f935126c4
ITS#5604: Normalize lutil_progname(): strip .exe from Windows executable names
2008-07-22 10:16:11 +00:00
Howard Chu
7d479302c0
ITS#5615 return success on Solaris 10
2008-07-15 20:07:36 +00:00
Howard Chu
27fc008761
Protect errno values from Debug
2008-07-02 16:43:51 +00:00
Howard Chu
aebcd93721
ITS#5580: Revert prev commit, failed on byte-at-a-time input. Different
...
approach used here.
2008-07-02 01:33:15 +00:00
Howard Chu
7e4ba700f1
ITS#5585 GnuTLS key strength is in bytes, we expected bits
2008-06-30 23:32:35 +00:00
Howard Chu
14f1138ab5
ITS#5580 fix length decoding, verified with PROTOS
2008-06-27 02:36:41 +00:00
Howard Chu
9ef6cc3cd4
ITS#5577 GnuTLS CRL result >0 is success
2008-06-24 20:14:30 +00:00
Pierangelo Masarati
7e3c9a07e9
add client API for assertion control (ITS#5560)
2008-06-14 17:49:47 +00:00
Howard Chu
99160d7c20
ITS#5542 fix loop iterator
2008-05-30 17:29:47 +00:00
Howard Chu
19d7e565f0
ITS#5318 drop invalid msgids, cleanup msgid logging
2008-05-28 01:19:43 +00:00
Howard Chu
96550c885d
ITS#5518,#5525 cleanup ld_defconn if it was freed
2008-05-23 09:53:42 +00:00
Howard Chu
ce27143ce7
ITS#5519 add missing stubs
2008-05-20 11:23:19 +00:00
Hallvard Furuseth
1fc3f1c130
ITS#5507: Set FD_CLOEXEC (close on exec) flag on LDAP file descriptors
2008-05-15 20:56:41 +00:00
Howard Chu
8810ef26b6
ITS#5458 fix error message for missing closing paren
2008-04-10 18:36:15 +00:00
Hallvard Furuseth
c55a06254f
ITS#5436: make htons() port number unsigned
2008-03-18 21:12:00 +00:00
Hallvard Furuseth
00be565264
ITS#5407 cleanup (make pool_pause & pool_pausecheck wrappers for handle_pause)
2008-03-10 13:21:24 +00:00
Howard Chu
a287573d2d
ITS#5407 more checks for pool pausing
2008-03-08 23:51:07 +00:00
Howard Chu
50cb332390
Use memctx more consistently
2008-03-04 07:24:05 +00:00
Hallvard Furuseth
7859063553
ITS#5364 cleanup
...
Fix rev 1.91 patch: Reset ltp_pending_count when flushing ltp_pending_list.
Remove flush_pending_list() again and the now-unnecessary 2nd call to it.
Help the compiler a little.
Move ltp_work_list in case it makes a difference for caching.
Move mutex unlock in pool_destroy() to make concurrency debuggers happier.
2008-02-11 15:49:52 +00:00
Hallvard Furuseth
650aaee3a5
ITS#5364, reduce work with ltp_mutex locked:
...
Negate ltp_open_count when paused, avoids an ltp_pause test in pool_submit().
2008-02-10 18:16:44 +00:00