bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
9698cd24356147d8a5471260062ea7e10e692fdf |
|
24-Nov-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
auth: Add lua passdb/userdb support |
e1abe6d11a9e63995a7e0ff40261973ebc17ad37 |
|
14-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
auth: Remove userdb nss
Its original purpose was because getpwnam() couldn't differentiate between
"user doesn't exist" and "temporary error", but this was solved by using
getpwnam_r() instead.
So all userdb nss users should be able to safely switch to userdb passwd. |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
9625595c47c665f5aee57ebfcb1fcbe9ad1bf3a0 |
|
31-May-2016 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
[LEN] to [static LEN] on some function parameters
Also add STATIC_ARRAY macro to hide it in c++ compilation. |
2d8f66596f445dd8b399b7032c3f0e9202015b63 |
|
11-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
auth: Moved all passdb/userdb template handling to auth_passdb/userdb.
This is because passdb_find() and userdb_find() attempts to avoid
duplicating passdbs and userdbs when they have identical driver+args.
This deduplication is useful when using multiple protocol { .. } blocks
that duplicate some passdb/userdb backends. For example we might want
to have only a single SQL connection regardless of how the protocol-specific
passdbs and userdbs are being set up. All the default/override_fields and
result_* settings aren't relevant to the passdb/userdb backends, so removing
them will again allow the deduplication to work correctly. |
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. |
b76737b21cb6cc552dbe0798e9e37d86ca40a398 |
|
24-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
auth: Add any %variables in passdb/userdb { default_fields } to cache key. |
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/' |
814bf67459ad405a157af0b8940602024d7fadfe |
|
23-Sep-2015 |
Teemu Huovila <teemu.huovila@dovecot.fi> |
Remove now-unnecessary direct stdlib.h #includes. |
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. |
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. |
4ee00532a265bdfb38539d811fcd12d51210ac35 |
|
19-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Array API changed: ARRAY_DEFINE(name, type) -> ARRAY(type) name
Easy way to update your existing code:
perl -i -pe 's:ARRAY_DEFINE\(([^,]+), *([^)]+)\);:ARRAY($2) $1;:' **/*.[ch] |
2028d80c2704bbf62b29b2c624b0ee3c3a03c462 |
|
08-Jul-2012 |
Timo Sirainen <tss@iki.fi> |
auth: Added "dict" passdb/userdb. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
8ff9812659728d4166df8e003a1dd3524ae8514e |
|
17-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
auth: Fixed loading passdb/userdb plugins.
Patch by Stephan Bosch. |
966cb0c1aa58578339cea6f79b4a423a851ab074 |
|
01-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
auth: Lazily load authdb_* and mech_* plugins only when they're needed. |
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. |
9d75363d3fbabc2fbc2d80f06672e3ed8965804a |
|
08-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
auth: Changed how auth deinitilization works.
--HG--
branch : HEAD |
9261dbf0675204898c6557591c7aa376e23a52b2 |
|
07-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
Started using str_to_*() functions instead of libc's ones.
--HG--
branch : HEAD |
be5c76fabc7439fd33bc799bc3ab3f570799977b |
|
16-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
auth worker: Verify that both client and server see the same passdb/userdb IDs.
--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 |
f3d506e525a720f214020ca0f989a1966b30edae |
|
13-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
auth: Store args in passdb/userdb_module, so init() doesn't need it as parameter.
--HG--
branch : HEAD |
e48d89622047bd8bbd0475b881ca9377d592f535 |
|
13-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
auth: Completely removed struct auth_*db from *db.c
--HG--
branch : HEAD |
cc183a00bb7c5c25683ff06e8bff39a46fe156d3 |
|
13-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
auth: Removed unused pool parameter from struct auth_passdb/auth_userdb.
--HG--
branch : HEAD |
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 |
3cf67672fdc87583cb23ce088c95bb5dee60e74d |
|
13-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
auth: Cleaned up 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 |
7bd72e4deca3cbf757dd1ea298486d9f3bc24226 |
|
02-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
Use array_foreach() more.
--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 |
5c99eaa4e3e07ee065580d163240b4ce95b66bef |
|
01-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
auth: Fixed loading known passdb/userdb plugins.
--HG--
branch : HEAD |
a64adf62fa33f2463a86f990217b0c9078531a40 |
|
28-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for config rewrite.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
dd93aba1901a457346990f49c54a738947dc7128 |
|
02-Dec-2008 |
Timo Sirainen <tss@iki.fi> |
Fail if trying to give unknown parameters to passdb/userdb.
Also changed error messages to be consistent.
--HG--
branch : HEAD |
51ead2f4c04ee85615d23c453924633b9ed8a4c2 |
|
21-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
Added support for userdb checkpassword. Patch by Sascha Wilde.
--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 |
be20a7ddf87cb56ee63016dd0029f0c523be09b6 |
|
06-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
--with-ldap=plugin builds LDAP passdb and userdb support as a plugin.
--HG--
branch : HEAD |
69293bd0b4ceb47c7f12c4a01254f4cddf700470 |
|
06-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Changed plugin handling. We'll just load and call _init() functions for all
plugins in $moduledir/auth/.
--HG--
branch : HEAD |
43a66a0b16299bd4f7615acd85e98bd3832c54d5 |
|
06-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Added pass/userdb_register_module() functions and used them to register the
build-in functions instead of having a predefined array.
--HG--
branch : HEAD |
2521482f3f897c83f7d5a2f9e17fe99fa4ba2cbe |
|
03-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Allow uid/gid names that begin with numbers, as long as it's not completely
a number.
--HG--
branch : HEAD |
ccfc6441cadb577084daeb1f0aa3dd7bdfa2a220 |
|
03-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
minor fix
--HG--
branch : HEAD |
8004df21baf8909c7f940d8a052a18f8bab1001a |
|
03-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Added userdb nss which currently supports glibc-compatible NSS modules.
--HG--
branch : HEAD |
73e19ec2d5069ea125dcd1ede5d8a70f701fd9a8 |
|
03-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Error message string update.
--HG--
branch : HEAD |
d5cebe7f98e63d4e2822863ef2faa4971e8b3a5d |
|
14-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
deinit, unref, destroy, close, free, etc. functions now take a pointer to
their data pointer, and set it to NULL. This makes double-frees less likely
to cause security holes.
--HG--
branch : HEAD |
747e77e3ab073a8e9e69c7a3e71b4593c5655d03 |
|
14-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
Give a few helpul suggestions with "Unknown passdb/usedb driver" errors.
--HG--
branch : HEAD |
a75fcc1c9eebbf0f94b272d114b9f89e3615dcc9 |
|
19-Oct-2005 |
Timo Sirainen <tss@iki.fi> |
Renamed userdb passdb to prefetch.
--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 |
eff552f5fdc275c940c4c709eeeddb833bc51b40 |
|
05-Oct-2005 |
Timo Sirainen <tss@iki.fi> |
Don't crash if we have blocking userdb but non-blocking passdb.
--HG--
branch : HEAD |
137ea7ca34005345aa2304a940149b7f3774d727 |
|
07-Aug-2005 |
Timo Sirainen <tss@iki.fi> |
s/occured/occurred/
--HG--
branch : HEAD |
e9503210d3521a6833ed62dc332fc42ffb0e7a13 |
|
07-Mar-2005 |
Timo Sirainen <tss@iki.fi> |
Replaced userdb/passdb settings with blocks so it's possible to give
multiple ones. Plaintext password mechanisms now support handling multiple
passdbs, but others don't yet. Also fixed a few memory leaks.
--HG--
branch : HEAD |
49e513d090753ccbf95560b2f3a21f081a5b6c51 |
|
08-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
Added auth_request_log_*().
--HG--
branch : HEAD |
ba3a54872528db0eae3f36e45592219965b9faf8 |
|
07-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
Moved extern userdb/passdb declarations to .c files.
--HG--
branch : HEAD |
97c339398f1aba6f315b55a9b6ee6b020e33bea4 |
|
07-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
Reorganized the code to have less global/static variables.
--HG--
branch : HEAD |
0a00890f8ec34ee08d0d391441fca36ed42d7a0c |
|
07-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
Added "passdb" userdb. It works only if passdb gives all the information
needed for userdb. For example with SQL you can use ".. uid AS userdb_uid, gid
AS userdb_gid, home AS userdb_home .." in password_query.
--HG--
branch : HEAD |
12aad74464367f7e8be11eafe1af985bf7b1adec |
|
06-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
If UID or GID isn't numeric, look it up from passwd/group.
--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 |
6c2c5f20760b06bfb4a40b0ee2ef5ab016bc41f0 |
|
16-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
Created generic asynchronous SQL API and implemented MySQL and PostgreSQL
drivers. MySQL is implemented synchronously because it's API doesn't provide
async way to do it.
Replaced pgsql and mysql userdb/passdb with generic sql userdb/passdb.
--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 |
91e4199476cb2add8143c18583fa57e1decfea88 |
|
23-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Default to "" args instead of NULL to avoid some crashes
--HG--
branch : HEAD |
0727e38ac12efb8963a339daf56255e2be1f29fc |
|
23-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
skip extra whitespace between "dbtype arguments"
--HG--
branch : HEAD |
d1997e794893ce52fce4d2a0cfa46d2f18e26e67 |
|
10-May-2004 |
Timo Sirainen <tss@iki.fi> |
MySQL authentication patch by Matther Reimer
--HG--
branch : HEAD |
98a711be68ba64e1cabf8cacc150af44421e2ac9 |
|
14-May-2003 |
Timo Sirainen <tss@iki.fi> |
AUTH_MODULES -> HAVE_MODULES
--HG--
branch : HEAD |
6d239203867965ad42f38747f0b84e7314d215d3 |
|
14-Mar-2003 |
Timo Sirainen <tss@iki.fi> |
cleanups
--HG--
branch : HEAD |
3bbda557c0dfa45edf81c6686807ff199110dbca |
|
07-Mar-2003 |
Timo Sirainen <tss@iki.fi> |
Added PostgreSQL support, patch by Alex Howansky
--HG--
branch : HEAD |
70cb37c37e4dce8f57cd3f882f7444e76b918bef |
|
11-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Support for dynamic authentication modules.
--HG--
branch : HEAD |
7d6389e4053c2dac1fb37180b5756b00785983dc |
|
02-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
auth process fixes, LDAP seems to be working (with the kludge define or
fixed libldap)
--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 |
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 |