From 1479a685cdb1641783ac02ba135450929f5c2658 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 19 Sep 2013 22:43:45 +0300 Subject: [PATCH] auth: Fixed non-auth passdb lookup when password had "." suffix. --- src/auth/passdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/passdb.c b/src/auth/passdb.c index 2b994cc8d9..105d312c2b 100644 --- a/src/auth/passdb.c +++ b/src/auth/passdb.c @@ -92,7 +92,7 @@ bool passdb_get_credentials(struct auth_request *auth_request, /* anything goes. change the credentials_scheme to what we actually got, so blocking passdbs work. */ auth_request->credentials_scheme = - p_strdup(auth_request->pool, input_scheme); + p_strdup(auth_request->pool, t_strcut(input_scheme, '.')); return TRUE; } -- 2.47.3