Hi, I implemented an ldap search so that I could do a proper bind for an individual address book. The login name is used to search for the DN to bind with. The attached patch requires additional settings for the address book:
and introduces another expansion, %dn, e.g.:
%dn will be replaced by the DN that the above ldap search yielded.
I hope that this patch could be included in the code base. Let me know if there is anything I need to fix.
Thanks for roundcube!
~David
--- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/Eh/ygMuYsrH/0001-Use-search_base.patch Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
List info: http://lists.roundcube.net/dev/ BT/aba52c80