be5773cb4d6edae8a5d9f300c3c7375cdd33826e |
|
19-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on [io]_stream_destroy(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- i_stream_destroy(&E);
- }
+ i_stream_destroy(&E);
@@
expression E;
@@
- if (E != NULL) {
- o_stream_destroy(&E);
- }
+ o_stream_destroy(&E); |
a319c3201bff1ea7bae3e7ab1fae42e9c4759056 |
|
26-Apr-2017 |
Andriy Syrovenko <andriys@gmail.com> |
auth: Fixed dovecot/auth hanging when child ntlm_auth crashes while processing an authentication request |
0f3d4fbcf88e2ffd674893aed8cc1288fe17d290 |
|
18-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Use [io]_stream_get_error() insted of %m |
814bf67459ad405a157af0b8940602024d7fadfe |
|
23-Sep-2015 |
Teemu Huovila <teemu.huovila@dovecot.fi> |
Remove now-unnecessary direct stdlib.h #includes. |
1b81b28b2e7856748cffd7d01052a944b6c80b23 |
|
25-Sep-2014 |
Timo Sirainen <tss@iki.fi> |
auth: Mark memory pools as growing and use the same sizes for all mechanisms.
Mainly to have DEBUG log fewer warnings. |
bace943c67e6cd14ce6c994f533d82a3caad5bf1 |
|
13-Jun-2014 |
Timo Sirainen <tss@iki.fi> |
Use the new [io]_stream_create_fd_*autoclose() functions wherever possible. |
6135260095e1704ed6edff9d00bdfc043c11429c |
|
17-Apr-2014 |
Timo Sirainen <tss@iki.fi> |
auth: Use special AUTH_SUBSYS_DB/MECH parameters as auth_request_log*() subsystem.
This avoids hardcoded strings all over the place and also allows assigning
the correct passdb/userdb name for log messages generated by generic
passdb/userdb code, which doesn't know exactly where it was called from. |
49fc09f995183d44e004bbc3eb9b6c6c7b6cae7f |
|
02-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
auth: Fixed also DOVECOT-TOKEN (=URLAUTH) and NTLM/GSS-SPNEGO (via winbind) to work. |
a9c3b57f98d7c998271c0956977c99c4f23ee40d |
|
01-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
auth: winbind mechanism supports now spaces in filenames. |
4307c886579381dbb1897ea1388ae6978c96f560 |
|
27-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Changed i_close_fd() API to set the fd to -1 after closing. |
cb78bd2ad54e402c1f53930b41e2295683bda90b |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Replaced (void)close(fd) and close_keep_errno() with i_close_fd().
i_close_fd() preserves the errno and logs an error if the close() fails. |
e2a88d59c0d47d63ce1ad5b1fd95e487124a3fd4 |
|
24-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Added o_stream_nsend*() and related functions to make delayed error handling safer.
Once o_stream_nsend*() is called, o_stream_nfinish() must be called before
stream is destroyed to finish checking if there were any errors. If
something failed and the stream is just wanted to be closed,
o_stream_ignore_last_errors() can be called.
For streams where errors don't really make any difference (network sockets)
you can call o_stream_set_no_error_handling() immediately after creating the
stream. |
a10ed8c47534b4c6b6bf2711ccfe577e720a47b4 |
|
23-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Marked functions parameters that are allowed to be NULL. Some APIs were also changed.
The non-obvious APIs where NULL parameter was changed to "" are
master_service_init() and auth_master_user_list_init().
These checks can currently be enabled only on a patched clang:
http://llvm.org/bugs/show_bug.cgi?id=6786 |
5512d420d826a2f9d4e7cb4e4919e1864fe688b0 |
|
06-Jun-2011 |
Timo Sirainen <tss@iki.fi> |
Use SA_RESTART flag for signals wherever possible.
Only SIGTERM (and SIGINT for standalone programs) shouldn't use it. |
afe44ead24a740f5defef9a38c42b6a4c1d7b53b |
|
16-Jan-2011 |
Christian Wiese <chris@opensde.org> |
auth: Fixed mech_winbind_ntlm by using mech_winbind_auth_initial()
In changeset 9002 a new function named mech_winbind_auth_initial() was
introduced, but only the mech_winbind_spnego module part was changed to finally
use this function.
The mech_winbind_ntlm module part was not properly adapted which leads to a non
functioning NTLM authentication mechanism while using winbind, because it will
never call the `ntlm_auth` helper.
The simple fix is to replace mech_generic_auth_initial() with
mech_winbind_auth_initial() as auth_initial "hook" when setting up the
mech_winbind_ntlm module, like it is done in the mech_winbind_spnego module.
References:
- Changeset 9002: http://hg.dovecot.org/dovecot-2.0/diff/9d0037a997f4/src/auth/mech-winbind.c
---
src/auth/mech-winbind.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-) |
50782de8a9d5ebe11ee61496b4e695a1d3875230 |
|
08-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
auth: Removed unnecessary auth_request callback and context uses.
--HG--
branch : HEAD |
e376e08040b5f21ff79a15ae728d2532a34207f6 |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
Small code changes to make static analyzer happier.
--HG--
branch : HEAD |
bb308de9d25db75528605eb733a418c996d416ad |
|
27-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
Replaced execv*() with execv*_const() wherever possible.
--HG--
branch : HEAD |
9ed2951bd0bb1878a27437d7c00611b2baadd614 |
|
13-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
auth: Initial support for per-protocol auth settings.
Currently the list of services is hard-coded. This should be changed so that
config lookup returns the service names.
--HG--
branch : HEAD |
7bafda1813454621e03615e83d55bccfa7cc56bd |
|
04-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
Removed MEMBER() macro. Require C99 style struct initializer.
--HG--
branch : HEAD |
08d6658a4e2ec8104cd1307f6baa75fdb07a24f8 |
|
05-May-2009 |
Mark Washenberger <none@none> |
Renamed headers to prevent collision if they were flattened on an install.
--HG--
branch : HEAD |
1c7fa51b35231f375998f66d5756f214519218f8 |
|
01-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
lib-signals: Changed callback API to return siginfo_t.
--HG--
branch : HEAD |
a64adf62fa33f2463a86f990217b0c9078531a40 |
|
28-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for config rewrite.
--HG--
branch : HEAD |
ba8566b02903a4b00a39a611d19f421739a09456 |
|
09-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
auth: Code cleanup for specifying what passdb features auth mechanisms need.
--HG--
branch : HEAD |
51ead2f4c04ee85615d23c453924633b9ed8a4c2 |
|
21-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
Added support for userdb checkpassword. Patch by Sascha Wilde.
--HG--
branch : HEAD |
43d32cbe60fdaef2699d99f1ca259053e9350411 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed __attr_*__ to ATTR_*. Renamed __attrs_used__ to ATTRS_DEFINED.
--HG--
branch : HEAD |
9784f8117d2a9c0cc97bedb18ab6fecbc2ad5fc8 |
|
07-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
One more pid fix.
--HG--
branch : HEAD |
5e01988dd73d67437bebac62f78fd81e0bff327d |
|
07-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
waitpid() fix
--HG--
branch : HEAD |
9ca5c49a820e2712946dba788f8cb2c61d5da24c |
|
07-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Removed bad comment.
--HG--
branch : HEAD |
dd9ce3d88587ec77a7832377b2c58aa3d6677c59 |
|
07-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
And mark pid=-1 so restarting really works.
--HG--
branch : HEAD |
09cdeee873df48373ef834b9a08e326bb609c469 |
|
07-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
waitpid() ntlm_auth workers so they won't be left as zombies.
--HG--
branch : HEAD |
08a96e22ba98b71c925310e824b1e35707dd4daf |
|
07-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Assert-crashfix.
--HG--
branch : HEAD |
d521c15ebf104daf67d1f6299904dbc2fc9b77e7 |
|
06-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Removed unused include.
--HG--
branch : HEAD |
ffe1bb0585ffb6af6830932b147f5711733a9a9e |
|
06-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed auth_winbind_helper to auth_winbind_helper_path.
--HG--
branch : HEAD |
2c38504860da8a8de915f8e0f5f39d7e7bd00cf8 |
|
06-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Added support for Samba's ntlm_auth helper. It's used for GSS-SPNEGO
mechanism. If auth_ntlm_use_winbind=yes it's also used for NTLM mechanism.
Patch by Dmitry Butskoy.
--HG--
branch : HEAD |