dovecot-2.2: auth: Allow passdb credentials lookup also with aut...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Aug 26 05:50:48 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/a2e0e89bc27d
changeset: 17746:a2e0e89bc27d
user: Timo Sirainen <tss at iki.fi>
date: Tue Aug 26 14:50:15 2014 +0900
description:
auth: Allow passdb credentials lookup also with auth_bind=yes
Although we probably can't lookup the password itself, we're also doing
passdb lokups for proxying and other purposes. These lookups will still work
as long as pass_attrs & pass_filter is specified.
diffstat:
src/auth/passdb-ldap.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diffs (15 lines):
diff -r 787ebba12684 -r a2e0e89bc27d src/auth/passdb-ldap.c
--- a/src/auth/passdb-ldap.c Thu Aug 21 20:56:40 2014 +0200
+++ b/src/auth/passdb-ldap.c Tue Aug 26 14:50:15 2014 +0900
@@ -438,11 +438,6 @@
(struct ldap_passdb_module *)_module;
(void)db_ldap_connect(module->conn);
-
- if (module->conn->set.auth_bind) {
- /* Credential lookups can't be done with authentication binds */
- _module->iface.lookup_credentials = NULL;
- }
}
static void passdb_ldap_deinit(struct passdb_module *_module)
More information about the dovecot-cvs
mailing list