Commit Graph

146 Commits

Author SHA1 Message Date
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
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
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Howard Chu
da53cd0c40 uid/gid are unsigned 2007-12-15 02:28:45 +00:00
Howard Chu
65db0bf8eb ITS#3864 use sasl_ssf_t where expected 2007-10-06 14:55:53 +00:00
Howard Chu
4803e9ba67 Revert prev commit, unnecessary 2007-04-23 14:27:07 +00:00
Howard Chu
7eb1f62f9d ITS#4935 SASL_MAX_BUFF_SIZE should be 2^24 - 1 2007-04-23 14:21:48 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Howard Chu
b42d93f24f ITS#3755 silence strict-aliasing warnings 2006-11-10 10:39:54 +00:00
Pierangelo Masarati
4f351fbd90 fix build with thread debugging 2006-11-05 09:22:53 +00:00
Howard Chu
57c329a3af ITS#4606 errno is not per-thread on WIN32, always use WSAGet/SetLastError
(with notable exceptions: ignore tests for EINTR which winsock never sets)
2006-09-14 06:35:34 +00:00
Howard Chu
ff40a705da ITS#4541 better fix 2006-05-12 06:33:27 +00:00
Howard Chu
51d5db03ff ITS#4422, rearrange options to allow passing NULL args to TLS/Cyrus 2006-04-07 00:48:41 +00:00
Howard Chu
e1664b1f42 plug leak 2006-04-02 21:06:28 +00:00
Hallvard Furuseth
581c1ff6c7 Cast ctype.h char arguments to unsigned char 2006-04-01 23:44:42 +00:00
Howard Chu
8c4711e9db plug leaks 2006-03-31 20:36:53 +00:00
Kurt Zeilenga
2d9e341ae9 Report layer installed only after installed, and fix up report text 2006-02-13 23:26:55 +00:00
Kurt Zeilenga
fe8e3b7efa Kludge for MSAD (ITS#4391 and others) 2006-02-07 01:20:55 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
d34fffcaf9 use lutil_ato*() whenever appropriate 2005-11-24 01:10:05 +00:00
Kurt Zeilenga
4f63434511 Improve SASL error handling 2005-11-06 22:43:23 +00:00
Kurt Zeilenga
551d94c6e8 Additional serverSaslCred trace messages.
Misc. cleanup
2005-10-20 03:49:22 +00:00
Howard Chu
5e416949e0 Fix ldapi DN ordering 2005-10-17 12:57:53 +00:00
Pierangelo Masarati
385aebc806 plug potential ld_error leak (ITS#4064) 2005-10-04 21:30:30 +00:00
Howard Chu
a0f6fdb730 ITS#4048 plug leak 2005-09-30 06:20:56 +00:00
Pierangelo Masarati
3dd05cdb2d fix SASL numeric secprops parsing (ITS#3955) 2005-08-20 14:22:42 +00:00
Hallvard Furuseth
d49a477702 Cleanup 2005-07-31 18:05:51 +00:00
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
Howard Chu
6754d025f2 ITS#3847 silence warnings 2005-07-11 10:39:32 +00:00
Howard Chu
6a86f5178f ITS#3278 use correct connection for sasl_install() 2005-05-13 05:22:08 +00:00
Kurt Zeilenga
3e800f20bd <limits.h> cleanup && ITS#3643 2005-04-10 19:32:14 +00:00
Howard Chu
eca819d866 ITS#3643 limits.h, INT_MAX 2005-04-09 06:41:39 +00:00
Howard Chu
89210b7100 Added ldap_pvt_sasl_secprops_unparse, slap_sasl_secprops_unparse 2005-03-01 11:42:31 +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
Luke Howard
842fe3091a ITS#3298 - ldap_sasl_int_bind() refers to incorrect Sockbuf when called
from within a rebind function.
2004-08-24 05:14:07 +00:00
Kurt Zeilenga
b6bd7296ac cleanup last commit, add commit 2004-06-30 22:36:47 +00:00
Kurt Zeilenga
03ec37823c Avoid high-level retry on low-level error as that implies a
re-sasl_encode() of the input.  sasl_encode() may be stateful.
2004-06-30 22:30:09 +00:00
Jong Hyuk Choi
3fb0648079 revert the ITS#3139 change for now 2004-06-30 17:51:06 +00:00
Kurt Zeilenga
1ded030427 fix last commit 2004-06-29 17:48:19 +00:00
Kurt Zeilenga
a593343aa5 ITS#3212: sasl_encode/decode type conflict fix 2004-06-29 17:46:30 +00:00
Howard Chu
cc4d5c10df ITS#3123 make sure ldap_int_sasl_mutex is init'd before it is used 2004-05-21 10:53:30 +00:00
Howard Chu
9da35acf44 Fix ITS#3139, empty output buffer when sb_sasl_write fails 2004-05-14 08:03:25 +00:00
Howard Chu
e5d1b3134c Fix for ITS#1181 from Mark Adamson @ CMU.edu 2004-05-06 23:58:13 +00:00
Kurt Zeilenga
1634811465 Use BER_BVNULL 2004-04-07 01:11:32 +00:00
Howard Chu
c558bd49bc ITS#2992 Windows fixes from Alexey Melnikov 2004-03-05 12:24:06 +00:00
Howard Chu
6cedc94c63 ITS#2944, #2956 - revert maxbuf patch from ITS#2184
Still need to think about interoperability with other versions, vendors...
2004-02-24 16:25:39 +00:00
Howard Chu
02a6301f22 ITS#2926 from igor@ipass.net, slightly modified 2004-01-24 03:33:44 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00