dovecot-1.2: userdb prefetch + blocking passdbs was still broken...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Feb 2 19:12:20 EET 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/3aeb924bae35
changeset: 8698:3aeb924bae35
user: Timo Sirainen <tss at iki.fi>
date: Mon Feb 02 12:12:15 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 c9ed3bf730b9 -r 3aeb924bae35 src/auth/auth-worker-client.c
--- a/src/auth/auth-worker-client.c Sun Feb 01 22:24:56 2009 -0500
+++ b/src/auth/auth-worker-client.c Mon Feb 02 12:12:15 2009 -0500
@@ -63,22 +63,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 auth_worker_send_reply(struct auth_worker_client *client,
@@ -228,8 +212,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