CMDBuild Forum

slow logging through LDAP

Hello,

I`m having problems finding what could be the cause of slow logging through LDAP authorization, this is in version 2.0.3, it takes approx 1min to log in user with LDAP (without - for example admin user existing only in local DB for administration tasks login in less than 10seconds)

Same LDAP server we are using for another applications inside company so the LDAP server performance is not the issue.

 

I would be gratefull for any advice,

Artur Potok

Dear Artur,
 
we don't have knowledge about LDAP authentication issues, all installations we did it is working correctly and fast. In some tests we've seen a slow LDAP authentication when the LDAP query itself took a long time to be completed. Is this a scenario that can be applied to your configuration? Can you try the same query using on an external tool?
 
Best regards.
 
Davide
 
Previously Artur wrote:

Hello,

I`m having problems finding what could be the cause of slow logging through LDAP authorization, this is in version 2.0.3, it takes approx 1min to log in user with LDAP (without - for example admin user existing only in local DB for administration tasks login in less than 10seconds)

Same LDAP server we are using for another applications inside company so the LDAP server performance is not the issue.

 

I would be gratefull for any advice,

Artur Potok

 

Hello Davide,

Thank you for your answer, i set auth logging to debug, and find out that during login proces between those two activities is a long time wait;

DEBUG 2013-01-31 15:54:36 [auth ] LDAP generated search query: (&(uid=****))
DEBUG 2013-01-31 15:55:26 [auth ] Setting simple bind to authenticate

where should I look for further clues next ?

 

Thanks and Regards,

Artur

 

Previously Tecnoteca wrote:

Dear Artur,
 
we don't have knowledge about LDAP authentication issues, all installations we did it is working correctly and fast. In some tests we've seen a slow LDAP authentication when the LDAP query itself took a long time to be completed. Is this a scenario that can be applied to your configuration? Can you try the same query using on an external tool?
 
Best regards.
 
Davide
 
Previously Artur wrote:

Hello,

I`m having problems finding what could be the cause of slow logging through LDAP authorization, this is in version 2.0.3, it takes approx 1min to log in user with LDAP (without - for example admin user existing only in local DB for administration tasks login in less than 10seconds)

Same LDAP server we are using for another applications inside company so the LDAP server performance is not the issue.

 

I would be gratefull for any advice,

Artur Potok

 

 

It takes a long time to find the user. Have you tried to perform the query using an external tool? How much time does it takes?
 
Best regards.
 
Davide
 
Previously Artur wrote:

Hello Davide,

Thank you for your answer, i set auth logging to debug, and find out that during login proces between those two activities is a long time wait;

DEBUG 2013-01-31 15:54:36 [auth ] LDAP generated search query: (&(uid=****))
DEBUG 2013-01-31 15:55:26 [auth ] Setting simple bind to authenticate

where should I look for further clues next ?

 

Thanks and Regards,

Artur

 

Previously Tecnoteca wrote:

Dear Artur,
 
we don't have knowledge about LDAP authentication issues, all installations we did it is working correctly and fast. In some tests we've seen a slow LDAP authentication when the LDAP query itself took a long time to be completed. Is this a scenario that can be applied to your configuration? Can you try the same query using on an external tool?
 
Best regards.
 
Davide
 
Previously Artur wrote:

Hello,

I`m having problems finding what could be the cause of slow logging through LDAP authorization, this is in version 2.0.3, it takes approx 1min to log in user with LDAP (without - for example admin user existing only in local DB for administration tasks login in less than 10seconds)

Same LDAP server we are using for another applications inside company so the LDAP server performance is not the issue.

 

I would be gratefull for any advice,

Artur Potok

 

 

 

Davide,

 

I did resolved the problem, which was the ldap search filters, i needed to narrow the search, thank you for your support!

 

Regards,

Artur