dovecot-1.0: auth_bind=yes: Use scope from config file also for ...

dovecot at dovecot.org dovecot at dovecot.org
Wed Jan 2 23:45:44 EET 2008


details:   http://hg.dovecot.org/dovecot-1.0/rev/fb14b51b33f5
changeset: 5506:fb14b51b33f5
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Jan 02 23:45:40 2008 +0200
description:
auth_bind=yes: Use scope from config file also for DN lookups instead of
forcing a subtree check.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/auth/passdb-ldap.c |    2 +-

diffs (12 lines):

diff -r 56a7292954a2 -r fb14b51b33f5 src/auth/passdb-ldap.c
--- a/src/auth/passdb-ldap.c	Tue Jan 01 21:54:09 2008 +0200
+++ b/src/auth/passdb-ldap.c	Wed Jan 02 23:45:40 2008 +0200
@@ -457,7 +457,7 @@ ldap_verify_plain_authbind(struct auth_r
 			       "bind search: base=%s filter=%s",
 			       ldap_request->base, ldap_request->filter);
 
-        db_ldap_search(conn, ldap_request, LDAP_SCOPE_SUBTREE);
+        db_ldap_search(conn, ldap_request, conn->set.ldap_scope);
 }
 
 static void


More information about the dovecot-cvs mailing list