Roundcube Community Forum

 

slow LDAP address book search

Started by volcano, November 01, 2017, 02:48:00 PM

Previous topic - Next topic

volcano

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.

JohnDoh

may be try enabling imap_debug in your rc config and then you can check the timings in the log?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

volcano

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...