[dovecot-cvs] dovecot/src/auth password-scheme.c,1.20,1.21
cras at dovecot.org
cras at dovecot.org
Sun Feb 26 14:15:37 EET 2006
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv21931/src/auth
Modified Files:
password-scheme.c
Log Message:
Replaced mail_use_modules and mail_modules settings with mail_plugins and
mail_plugin_dir. Now instead of loading all plugins from the directory,
you'll have to give a list of plugins to load. If the plugin couldn't be
loaded, the process exits instead of just ignoring the problem (this is
important with ACL plugin).
Index: password-scheme.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/password-scheme.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- password-scheme.c 14 Jan 2006 18:47:20 -0000 1.20
+++ password-scheme.c 26 Feb 2006 12:15:34 -0000 1.21
@@ -474,7 +474,8 @@
buffer_append(schemes_buf, s, sizeof(*s));
#ifdef HAVE_MODULES
- scheme_modules = module_dir_load(AUTH_MODULE_DIR"/password", FALSE);
+ scheme_modules = module_dir_load(AUTH_MODULE_DIR"/password",
+ NULL, FALSE);
for (mod = scheme_modules; mod != NULL; mod = mod->next) {
t_push();
symbol = t_strconcat(mod->name, "_scheme", NULL);
More information about the dovecot-cvs
mailing list