Commit Graph

111 Commits

Author SHA1 Message Date
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
Howard Chu
dc19332bb9 Don't init SASL library until we actually want a SASL session 2003-12-03 01:59:33 +00:00
Kurt Zeilenga
159de0f135 Updated notices and acknowledgements 2003-11-26 07:16:36 +00:00
Howard Chu
838c2d774e Fix GSSAPI connections to localhost 2003-11-10 20:58:29 +00:00
Howard Chu
11453007c2 ITS#2770 - delete bogus maxbuf checks on sasl_read 2003-10-16 18:56:02 +00:00
Hallvard Furuseth
bdac96f929 #include <ac/unistd.h>, to get geteuid() and getegid(). 2003-09-29 14:04:48 +00:00
Howard Chu
8f3d3cf3c9 Revert rev 1.90 ITS#2484 patch; Cyrus 1.5 is no longer supported. 2003-09-20 00:33:42 +00:00
Howard Chu
1881ae872f ITS#2729 fix typos 2003-09-19 00:49:33 +00:00
Howard Chu
6f632af413 ITS#2484, set sasl_maxbuf to SASL_MAX_BUFF_SIZE if it was negotiated
as zero.
2003-09-14 05:19:45 +00:00
Howard Chu
10811b6f51 Clarify/standardize library version mismatch error messages 2003-09-12 00:54:21 +00:00
Howard Chu
d449772875 ITS#2548 must dup sasl_errdetail msgs 2003-05-24 01:05:11 +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
Howard Chu
0e8b176d1f Fix prev commit 2003-05-01 09:50:40 +00:00
Howard Chu
46e2b97757 ITS#2424 use two SASL contexts per session to conform to RFC 2222 2003-05-01 04:11:57 +00:00
Howard Chu
4b73446ab5 ITS#2424 reset SASL on an existing connection 2003-04-30 15:38:32 +00:00
Howard Chu
1d2951bb5a For ITS#2424, move all SASL session management to ldap_int_sasl_bind. 2003-04-30 14:13:58 +00:00
Howard Chu
20c8128d27 ITS#2475 delete bogus SASL2 call 2003-04-30 08:08:08 +00:00
Howard Chu
2ee7488d0b ITS#2423 - make the lib that allocates SASL prompt results responsible
for freeing them.
2003-04-06 00:47:55 +00:00
Kurt Zeilenga
4daeff0ef4 Add a few comments to the ITS#2325 fix 2003-02-21 19:39:09 +00:00
Kurt Zeilenga
c3a43e2c4f Round 2 2003-02-21 19:27:54 +00:00
Kurt Zeilenga
eb161745a4 A little cleanup of last 2 commits 2003-02-21 18:42:15 +00:00
Kurt Zeilenga
ed91ab4cbe Forgot to remove one prompts free 2003-02-21 18:41:05 +00:00
Kurt Zeilenga
9e984beded ITS#2325 fix: properly freeing prompts->results 2003-02-21 18:39:26 +00:00
Kurt Zeilenga
bc0cc3272c Whoops. (I'm reconsidering whether or not to accept the ITS#2325.) 2003-02-21 17:48:03 +00:00
Kurt Zeilenga
3fb4ae2abd Revert last commit 2003-02-21 17:46:11 +00:00
Kurt Zeilenga
2c939f7196 Back out interact free() fixes. Will fix properly in next commit. 2003-02-21 17:11:46 +00:00
Pierangelo Masarati
1b13edfa54 I suggest the coder(s) of the cyrus stuff to check out the prompt stuff 2003-02-07 09:58:21 +00:00
Pierangelo Masarati
6c32533d02 according to sasl documentation, prompts is filled only if SASL_INTERACT is returned 2003-02-07 09:55:00 +00:00
Kurt Zeilenga
6939c53170 Happy new year 2003-01-03 20:20:47 +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
1702d408bf ITS#2184 maxbuf tweaks from Larry Greenfield @ CMU 2002-11-27 03:51:46 +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
d11b134709 Fix large SASL reads. Use EAGAIN instead of EWOULDBLOCK (was right the
first time after all. see read(2) and write(2)...)
2002-08-30 10:11:54 +00:00
Pierangelo Masarati
864f05497e allow different solutions to debug sasl shutdown 2002-08-29 17:45:12 +00:00
Pierangelo Masarati
c2efb8788b when shutting down a server with open connections (back-{ldap,meta}),
the backend attempts a ldap_unbind() that results in calling
ldap_pvt_sasl_mutex_lock() with a NULL argument, causing a SIGSEGV.
I added a few assert() to catch this (I wonder if this might
be related to ITS#1982 "kill -INT corrupts database").
2002-08-29 16:03:38 +00:00
Howard Chu
1dd1c375bb Fix previous commit - use EWOULDBLOCK instead of EAGAIN 2002-08-29 13:38:36 +00:00