677b75f90d81eafe742896d6570a2f63ce501d05 |
|
19-Jan-2018 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: don't cast NULL to void *
NULL is guaranteed to be a void * thanks to
dd6043c05e32a8e8db1233ed711a2c74d1477a89. |
bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
0f5dc4da3982053036be65190e44bf28a67b1ca2 |
|
02-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: API change - var_expand*() now returns error string.
This allows callers to fail properly if the format string is invalid. |
ca5b3ec5331545b46ec1f1c4ecfa1302ddb10653 |
|
29-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
auth: userdb passwd iteration now skips users not in first/last_valid_gid range
Patch by Michal Hlavinka / Red Hat |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
74674a53a72dab535c61f455b2246ef2797844ea |
|
11-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
auth: Moved cache_key from passdb_module to auth_passdb.
This is in preparation for the next changeset, which moves
default/override_fields also to auth_passdb. |
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3 |
|
12-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: freshen copyright
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/' |
7cb128dc4cae2a03a742f63ba7afee23c78e3af0 |
|
05-Jan-2015 |
Phil Carmody <phil@dovecot.fi> |
global: freshen copyright
Robomatically:
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/'
Happy 2015 everyone!
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
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. |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
cd75c360f244c96b9ee10e01ee3a66fad13183c8 |
|
08-Dec-2013 |
Timo Sirainen <tss@iki.fi> |
auth: Added userdb result_success/failure/tempfail and skip settings, similar to passdb's. |
ed3c4faf5ddf559818e4a3f7efc0f53f97396227 |
|
22-Sep-2013 |
Timo Sirainen <tss@iki.fi> |
auth: Use a common auth_request_log_unknown_user() for logging "unknown user" entries. |
82f71aaa55eba909aa180716483b4f2f9d5f7619 |
|
22-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
auth: userdb passwd iteration no longer skips shells.
Some systems are using passwd for mail users with shell set to nologin.
Maybe first_valid_uid check is good enough alone? |
5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294 |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Oops :) Update copyrights to 2013 without breaking all .c files. |
cca4ba2a504d70a9fe9fee37f8433997359de52c |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2013. |
fd7a5919cfd68a347d6eb1b3e6e8627e1b656c75 |
|
27-Nov-2012 |
Timo Sirainen <tss@iki.fi> |
auth: userdb passwd lookups should have been done via worker processes by default. |
f0cd1d0022590d0a0d84f57e362774c2e96e2ea8 |
|
16-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Fixed compiling with OSes where NULL isn't defined as void pointer (e.g. Solaris). |
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 |
34ae25c8b623a0cf28d052c02c8bbd96309fbc85 |
|
04-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
auth: userdb passwd iteration skips now also users with /usr/sbin/nologin shell |
0caa211038e56abfdf1b8b4937a50708f997f850 |
|
04-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
auth: userdb passwd iteration now skips users with shell set to /bin/false or /sbin/nologin |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
b71b9e5cd06b1dc13aad122a0729d6eeda5393e7 |
|
27-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
auth: Monitor how fast userdb passwd lookups are. If they're too slow, suggest blocking=yes |
e9371f899a3d4207a0ffd3923ea5ec7250cf5e75 |
|
23-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
auth: Support passing regular %variables to sql/ldap iterate queries. |
04052d7cacaa866a3f00afb4e104fa46c04c1dd7 |
|
30-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
auth: Added default_fields and override_fields settings to all passdbs and userdbs. |
70afae43cc78ea6ecca83f6c587072c442a15ec1 |
|
17-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Replaced all getpw/gr*() to use i_getpw/gr*() with improved error handling. |
2e37d45867d081db150ab78dad303b9077aea24f |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
183bea41fa640dc8117f3eb45ff935cd81377a84 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
e5974bef94e235504e262654cef98f7fda6df327 |
|
03-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fixes. |
a7f5035eebbd138a5436a2eb2ce1fa5fd3d269fb |
|
21-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
auth: userdb passwd iteration now lists only users within first_valid_uid..last_valid_uid range. |
849969f639a00eab26791db3cb1b66430420c0cd |
|
13-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
auth: passdb/userdb backends no longer know about struct auth_passdb/auth_userdb.
--HG--
branch : HEAD |
1d22eaac93de41319918a1fc6de42bb302e25c1a |
|
13-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
auth: auth_userdb and auth_passdb no longer has pointer to struct auth.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
7bafda1813454621e03615e83d55bccfa7cc56bd |
|
04-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
Removed MEMBER() macro. Require C99 style struct initializer.
--HG--
branch : HEAD |
43d3ea2780b5f8557ede7b4c039e8f56cb8d357d |
|
13-May-2009 |
Timo Sirainen <tss@iki.fi> |
Implemented support for listing all users in userdb.
--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 |
312d3129573fc63ba0d39105b68daccfab9f0c8f |
|
22-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
Authentication: system_user userdb extra field renamed to system_groups_user.
--HG--
branch : HEAD |
06390800923922d4a5549e985b597af33b2753ac |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
userdb passwd: Removed the check for catching broken NSS implementations.
The nss_ldap problem is already fixed in both Dovecot and nss_ldap itself.
This also now allows NSS to change username on purpose.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
d5abbb932a0a598f002da39a8b3326643b1b5efc |
|
24-Sep-2008 |
Timo Sirainen <tss@iki.fi> |
Separate "unknown passdb/userdb X" and "support for X not compiled in" error messages.
--HG--
branch : HEAD |
76b43e4417bab52e913da39b5f5bc2a130d3f149 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2008.
--HG--
branch : HEAD |
89a126810703c666309310d0f3189e9834d70b5b |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced my Copyright notices. The year range always ends with 2007 now.
My name was replaced with "Dovecot authors". In many cases I didn't really
even own the copyright, so this is more correct.
--HG--
branch : HEAD |
40eb305d9b12cf48400fe3806a8a15ad6d372952 |
|
09-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
userdb passwd supports now adding key=value fields to args. They can
override settings found from passwd file. Typically you'd use this to
override a home directory, but it's also possible to override uid/gid.
--HG--
branch : HEAD |
6fabfb7bbfd88d0c1de66981e52850f26067623b |
|
03-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Changed userdb callback API. Don't require uid/gid to be returned by userdb.
--HG--
branch : HEAD |
00bde9ae9eab9e720462bf6ec9a4dd85e88c3bbf |
|
10-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Added more debug logging.
--HG--
branch : HEAD |
75b26c57ca4e63508bd64789a8203e2b73196980 |
|
12-Feb-2007 |
Timo Sirainen <tss@iki.fi> |
Added blocking=yes setting to userdb passwd.
--HG--
branch : HEAD |
c5383a0ed56a188a7d5efaaa4c6f8243af432d65 |
|
21-Dec-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Authentication cache caches now also userdb data. Code by Tommi Saviranta.
--HG--
branch : HEAD |
0f39a57760d93cddbce3ca43096d78e0fe2f42fd |
|
09-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
We treated internal userdb lookup errors as "user unknown" errors. In such
situations this caused deliver to think the user didn't exist and the mail
get bounced.
--HG--
branch : HEAD |
b42f37ae6f65ed986315b6885568d32115e589b1 |
|
16-Oct-2005 |
Timo Sirainen <tss@iki.fi> |
Separated userdb_module's interface and the actual data struct.
Now it's possible to have multiple userdbs of same type but with different
settings.
--HG--
branch : HEAD |
137ea7ca34005345aa2304a940149b7f3774d727 |
|
07-Aug-2005 |
Timo Sirainen <tss@iki.fi> |
s/occured/occurred/
--HG--
branch : HEAD |
2fbc2a7c65d30e46803195ebb4547176b85c22c7 |
|
12-Jul-2005 |
Timo Sirainen <tss@iki.fi> |
Removed direct config.h including. I'm not sure why it was done before,
probably to reduce compile times a few milliseconds. Ugly anyway..
--HG--
branch : HEAD |
52c715e45149e36efcc8fccbb990d94255052d55 |
|
16-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Try to detect buggy NSS implementations.
--HG--
branch : HEAD |
66d2db642fe24d555d113ba463e446b038d476ef |
|
28-Feb-2005 |
Timo Sirainen <tss@iki.fi> |
Restructuring of auth code. Balancer auth processes were a bad idea. Usually
the balancer itself took as much CPU as the actual workers because it acted
as a proxy.
Now auth worker means different thing: they're used to execute blocking
passdb and userdb queries. Currently just MySQL (PAM and checkpassword in
TODO).
--HG--
branch : HEAD |
9f431ccfb6932746db56245c8a3d3415717ef545 |
|
12-Feb-2005 |
Timo Sirainen <tss@iki.fi> |
userdb can now return extra parameters to master. Removed special handling
of home/mail wherever possible, they're just regular extra parameters now.
LDAP passdb and static userdb can return extra parameters now.
--HG--
branch : HEAD |
49e513d090753ccbf95560b2f3a21f081a5b6c51 |
|
08-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
Added auth_request_log_*().
--HG--
branch : HEAD |
1f1e81aab38d833d1c9cdc244c91fd762e0080d4 |
|
06-Dec-2004 |
Timo Sirainen <tss@iki.fi> |
Added name variable for userdb_module and passdb_module and changed their
initialization a bit.
--HG--
branch : HEAD |
08aea01ef9a9d20703e0fcf8618e6195c0037a44 |
|
20-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
Added preinit() call to userdb/passdbs, which is called before dropping
privileges. init() is called after. SQL/LDAP now parses the config file in
preinit, but does the actual connecting only in init(). This fixes LDAP
crashing at startup.
--HG--
branch : HEAD |
0373a24e97602b4c394e93a70b75f45e5869fa51 |
|
31-May-2004 |
Timo Sirainen <tss@iki.fi> |
Logging changes. Make sure we don't write control characters to log and also
log IP address.
--HG--
branch : HEAD |
3b94ff5951db4d4eddb7a80ed4e3f61207202635 |
|
25-May-2004 |
Timo Sirainen <tss@iki.fi> |
Fixed var_expand() to take a table of variables rather than a few predefined
ones. Added support for modifiers.
--HG--
branch : HEAD |
e3507728aced8c5d570962c00189aac27e6e1f20 |
|
12-May-2003 |
Timo Sirainen <tss@iki.fi> |
Don't check errno of getpwnam() and getspnam() functions. They don't seem to
be set correctly in all systems and it's unlikely the error is anything else
than "user doesn't exist".
--HG--
branch : HEAD |
061da1b9d309301a7e3f5e0f240d7a7e99652d63 |
|
08-May-2003 |
Timo Sirainen <tss@iki.fi> |
Chrooting changes. Now all userdbs will support "<chroot>/./<homedir>" style
home directories.
--HG--
branch : HEAD |
02d32b05a69c125b9c30d7002f023de4bd55ab4b |
|
08-May-2003 |
Timo Sirainen <tss@iki.fi> |
Support wu-ftpd-like chrooting in /etc/passwd. If home directory ends with
"/./", it's chrooted to.
--HG--
branch : HEAD |
473080c7c0d25ddfdf77e7dfa0ba8f73c6c669d5 |
|
18-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Added default_pass_scheme to LDAP. Support for more password schemes. Merged
password checking code with LDAP and passwd-file, so both support the same
schemes now.
--HG--
branch : HEAD |
965ed6ea3fc8f7637bd0d159d2fdb283a191ce34 |
|
31-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Cleanups, LDAP support compiles again and generally looks ok, even if it
doesn't necessarily work :) Works now with new master config.
--HG--
branch : HEAD |
22535a9e685e29214082878e37a267157044618e |
|
27-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Async userdb and passdb interface.
--HG--
branch : HEAD |
25757faf029c369a8318349dafe952e2358df1d8 |
|
27-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
We have now separate "userdb" and "passdb". They aren't tied to each others
in any way, so it's possible to use whatever user database with whatever
password database.
Added "static" userdb, which uses same uid/gid for everyone and generates
home directory from given template. This could be useful with PAM, although
insecure since everyone uses same uid.
Not too well tested, and userdb/passdb API still needs to be changed to
asynchronous for sql/ldap/etc lookups.
--HG--
branch : HEAD |