[Dovecot-de] passdb didn't return userdb entries, trying the next userdb (Nachtrag)

Klaus Tachtler klaus at tachtler.net
Do Apr 17 14:16:02 CEST 2014


Hallo Zusammen

> Wenn ich den Befehl:
> ===================
> # doveadm user klaus at tachtler.net
>

Kann es sein, das hier, dadurch das KEINE Anmeldung erfolgt, diese  
Meldung im LOG erschein?

---- QUELLECODE ----
static void prefetch_lookup(struct auth_request *auth_request,
userdb_callback_t *callback)
{
/* auth_request_set_field() should have already placed the userdb_*
values to userdb_reply. */
if (auth_request->userdb_reply == NULL) {
if (auth_request_get_auth(auth_request)->userdbs->next == NULL) {
/* no other userdbs */
if (auth_request->userdb_lookup) {
auth_request_log_error(auth_request, "prefetch",
"userdb lookup not possible with only userdb prefetch");
} else {
auth_request_log_error(auth_request, "prefetch",
"passdb didn't return userdb entries");
}
} else if (!auth_request->userdb_lookup ||
auth_request->set->debug) {
/* more userdbs, they may know the user */
auth_request_log_debug(auth_request, "prefetch",
"passdb didn't return userdb entries, "
"trying the next userdb");
}
callback(USERDB_RESULT_USER_UNKNOWN, auth_request);
return;
}

auth_request_log_debug(auth_request, "prefetch", "success");
callback(USERDB_RESULT_OK, auth_request);
}
---- QUELELCODE ----

Grüße
Klaus.


--

------------------------------------------
e-Mail  : klaus at tachtler.net
Homepage: http://www.tachtler.net
DokuWiki: http://www.dokuwiki.tachtler.net
------------------------------------------



Mehr Informationen über die Mailingliste Dovecot