Roundcube Community Forum

Release Support => Pending Issues => Topic started by: volcano on November 01, 2017, 02:48:00 PM

Title: slow LDAP address book search
Post by: volcano on November 01, 2017, 02:48:00 PM
Hello. I'm using Roundcube 1.3 and I have some issues with LDAP address book search. Usually it works fine and very fast but sometimes its getting slow. It can take up to 10-15 seconds to show one single search result. I'm using MS AD as address book. At the same time similar search through AD Users snap-in works blazing fast. What could be the reason behind it? I can show my config if need.

P.S. English is not my native language, sorry for possible mistakes.
Title: Re: slow LDAP address book search
Post by: JohnDoh on November 02, 2017, 03:31:56 PM
may be try enabling imap_debug in your rc config and then you can check the timings in the log?
Title: Re: slow LDAP address book search
Post by: volcano on March 07, 2018, 01:16:33 AM
Apparently I found what was the problem. I changed the query to LDAP in the config and everything started to work much faster. Most likely it was not optimal query code. Maybe it will help someone else...