dovecot-2.2: ldap: Another fix to sub-dn-lookup.

dovecot at dovecot.org dovecot at dovecot.org
Tue Mar 26 14:38:44 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/0fbeb82f3f95
changeset: 16116:0fbeb82f3f95
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Mar 26 14:38:30 2013 +0200
description:
ldap: Another fix to sub-dn-lookup.

diffstat:

 src/auth/db-ldap.c |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r aa8e77ab2b60 -r 0fbeb82f3f95 src/auth/db-ldap.c
--- a/src/auth/db-ldap.c	Tue Mar 26 10:36:49 2013 +0200
+++ b/src/auth/db-ldap.c	Tue Mar 26 14:38:30 2013 +0200
@@ -675,6 +675,9 @@
 	struct ldap_request_named_result *named_res;
 	const struct ldap_field *field;
 
+	if (request->result != NULL)
+		res = request->result;
+
 	if (!array_is_created(&request->named_results)) {
 		/* see if we need to do more LDAP queries */
 		p_array_init(&request->named_results,


More information about the dovecot-cvs mailing list