LDAP login takes 2 minutes the first time

Hi!

I’ve experimented with two configuration options in sonar.properties:

  • A different port: ldap.server1.url=ldap://ldapsrv1:3268
  • ldap.server1.followReferrals=false

With any of these options (not both at the same time) active, the problem didn’t apear (or at least, no matter what I tried, the problem didn’t manifest itself).

I’m guessing the default port used for LDAP is 389, and for some reason it doesn’t work well with that.

Not sure why ldap.server1.followReferrals=false helped, since we don’t have any sort of referrals in place.

So for now, it seems that it’s working.

Anyway, thanks for your time.

3 Likes