dovecot-1.1: userdb prefetch + blocking passdbs was still broken...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Feb 2 19:11:53 EET 2009
details: http://hg.dovecot.org/dovecot-1.1/rev/7ef5e6c32443
changeset: 8139:7ef5e6c32443
user: Timo Sirainen <tss at iki.fi>
date: Mon Feb 02 12:11:47 2009 -0500
description:
userdb prefetch + blocking passdbs was still broken with non-plaintext auth.
diffstat:
1 file changed, 18 deletions(-)
src/auth/auth-worker-client.c | 18 ------------------
diffs (35 lines):
diff -r 498022697a33 -r 7ef5e6c32443 src/auth/auth-worker-client.c
--- a/src/auth/auth-worker-client.c Sat Jan 31 20:14:06 2009 +0200
+++ b/src/auth/auth-worker-client.c Mon Feb 02 12:11:47 2009 -0500
@@ -69,22 +69,6 @@ worker_auth_request_new(struct auth_work
}
return auth_request;
-}
-
-static void
-add_userdb_replies(struct auth_stream_reply *reply,
- struct auth_stream_reply *userdb_reply)
-{
- const char *const *tmp;
-
- tmp = auth_stream_split(userdb_reply);
- i_assert(*tmp != NULL);
- /* first field is the user name */
- tmp++;
- for (; *tmp != NULL; tmp++) {
- auth_stream_reply_import(reply,
- t_strconcat("userdb_", *tmp, NULL));
- }
}
static void verify_plain_callback(enum passdb_result result,
@@ -226,8 +210,6 @@ lookup_credentials_callback(enum passdb_
auth_stream_reply_export(request->extra_cache_fields);
auth_stream_reply_import(reply, fields);
}
- if (request->userdb_reply != NULL)
- add_userdb_replies(reply, request->userdb_reply);
}
str = auth_stream_reply_get_str(reply);
str_append_c(str, '\n');
More information about the dovecot-cvs
mailing list