[Dovecot] base dn and filter strings are concatenated
14 Jan
2005
14 Jan
'05
1:18 p.m.
Hello,
When I set LDAP auth's search base dn, base dn and filter strings are concatenated. It cause filter cannot match any entries... I fixed it. Please check following patch.
p.s. LDAP userdb/passdb's debug print have " fields=..." but it print junks.
regards,
Kazuo Moriwaka moriwaka@valinux.co.jp
Index: src/auth/passdb-ldap.c
RCS file: /home/cvs/dovecot/src/auth/passdb-ldap.c,v retrieving revision 1.21 diff -r1.21 passdb-ldap.c 161a162
str_free(str); 162a164 str = t_str_new(512); 172c174 < conn->set.base, conn->set.scope, filter,
base, conn->set.scope, filter,
Index: src/auth/userdb-ldap.c
RCS file: /home/cvs/dovecot/src/auth/userdb-ldap.c,v retrieving revision 1.25 diff -r1.25 userdb-ldap.c 174a175
str_free(str); 175a177 str = t_str_new(512); 187c189 < conn->set.base, conn->set.scope, filter,
base, conn->set.scope, filter,
7244
Age (days ago)
7244
Last active (days ago)
0 comments
1 participants
participants (1)
-
Kazuo Moriwaka