Author Topic: slow LDAP address book search  (Read 3221 times)

Offline volcano

  • Newbie
  • *
  • Posts: 5
slow LDAP address book search
« 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.

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Re: slow LDAP address book search
« Reply #1 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?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline volcano

  • Newbie
  • *
  • Posts: 5
Re: slow LDAP address book search
« Reply #2 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...