changeset 8360:b521d13ea89e HEAD

bsdauth: Use PLAIN as default_pass_scheme.
author Timo Sirainen <tss@iki.fi>
date Mon, 12 Oct 2009 16:20:11 -0400
parents 427994458587
children ed88a340c680
files src/auth/passdb-bsdauth.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/auth/passdb-bsdauth.c	Mon Oct 12 14:05:02 2009 -0400
+++ b/src/auth/passdb-bsdauth.c	Mon Oct 12 16:20:11 2009 -0400
@@ -54,6 +54,7 @@
 	struct passdb_module *module;
 
 	module = p_new(auth_passdb->auth->pool, struct passdb_module, 1);
+	module->default_pass_scheme = "PLAIN"; /* same reason as PAM */
 
 	if (strncmp(args, "cache_key=", 10) == 0) {
 		module->cache_key =