From d69de4bd54b3f7ba03057d4d28f25fdde4dff84f Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 2 Feb 2009 12:12:15 -0500 Subject: [PATCH] userdb prefetch + blocking passdbs was still broken with non-plaintext auth. --HG-- branch : HEAD --- src/auth/auth-worker-client.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/auth/auth-worker-client.c b/src/auth/auth-worker-client.c index 6e1915c738..629bb71e4a 100644 --- a/src/auth/auth-worker-client.c +++ b/src/auth/auth-worker-client.c @@ -65,22 +65,6 @@ worker_auth_request_new(struct auth_worker_client *client, unsigned int id, 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, string_t *str) { @@ -228,8 +212,6 @@ lookup_credentials_callback(enum passdb_result result, 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'); -- 2.47.3