Re: People using the LDAP plugin to connect to Active Directory

2014-07-15 Thread Stephen Connolly
For the record: http://social.technet.microsoft.com/wiki/contents/articles/5392.active-directory-ldap-syntax-filters.aspx reports in note 19 that specifying the object class can be dramatically faster, so e.g. ((objectCategory=group)(member:1.2.840.113556.1.4.1941:={0})) as the group

Re: People using the LDAP plugin to connect to Active Directory

2014-06-10 Thread Maciej Jaros
Stephen Connolly (2014-05-22 17:12): OK, so there is now rumoured to be a faster and better way to look up the groups that a user belongs to in the LDAP 1.10 plugin. I say rumoured because due to the complexities of Active Directory server configurations, one can never be quite sure until one

Re: People using the LDAP plugin to connect to Active Directory

2014-06-10 Thread teilo
On Thursday, 22 May 2014 16:12:52 UTC+1, Stephen Connolly wrote: OK, so there is now rumoured to be a faster and better way to look up the groups that a user belongs to in the LDAP 1.10 plugin. I say rumoured because due to the complexities of Active Directory server configurations, one

Re: People using the LDAP plugin to connect to Active Directory

2014-05-31 Thread Vincent Latombe
Hi Stephen, just tested the new version with my Active Directory : authentication still takes forever. I think the new code you added is not even called during the authentication workflow, it goes straight to AuthoritiesPopulator implementations which use the member={0}. The logic looks good

Re: People using the LDAP plugin to connect to Active Directory

2014-05-30 Thread James Chapman
Stephen, I can confirm that performance is now _A_LOT_ better! Login now happens in seconds and not minutes. So thank you. FWIW, the AD plugin still doesn't work with AD that uses TLS. James On 25 May 2014 20:46, teilo teilo+goo...@teilo.net wrote: I haven't tried that version but I

Re: People using the LDAP plugin to connect to Active Directory

2014-05-30 Thread Stephen Connolly
Yes, but what about telio's expression of doubt with respect to nested groups... or were you not using them anyway (as perhaps your login perf was shite) On 30 May 2014 10:57, James Chapman ja...@mtbfr.co.uk wrote: Stephen, I can confirm that performance is now _A_LOT_ better! Login now

People using the LDAP plugin to connect to Active Directory

2014-05-25 Thread teilo
I haven't tried that version but I already know that the ad specific LDAP_MATCHING_RULE_IN_CHAIN oid breaks very large installations. One LDAP query will take over 1.5 minutes and will be killed by the ad server. Last I looked using ad browser which was a few weeks my memberOf did not include

Re: People using the LDAP plugin to connect to Active Directory

2014-05-24 Thread Ullrich Hafner
Are you planning to update the test? Am Freitag, 23. Mai 2014 schrieb Stephen Connolly : Well if the tests are non UI tests driven through the UI then they can be overly brittle. @Kohsuke this is a case in point On Thursday, 22 May 2014, Ulli Hafner

Re: People using the LDAP plugin to connect to Active Directory

2014-05-24 Thread Stephen Connolly
I am not planning to update UI driven tests of non UI fubctionality as I fundamentally disagree with that approach. I will probably replace these tests with a non-UI driven version when I have integrated my scalability test framework into the acceptance test harness which will enable the writing

Re: People using the LDAP plugin to connect to Active Directory

2014-05-23 Thread Stephen Connolly
Well if the tests are non UI tests driven through the UI then they can be overly brittle. @Kohsuke this is a case in point On Thursday, 22 May 2014, Ulli Hafner ullrich.haf...@gmail.com wrote: Seems that the new plugin breaks the acceptance tests for the LDAP plugin:

Re: People using the LDAP plugin to connect to Active Directory

2014-05-23 Thread Stephen Connolly
Daniel is always good at finding bugs... second NPE found and fixed. 1.10.2 now recommended. Seemingly Daniel is having problems posting to the mailing list ATM. Here was his feedback on 1.10.2 (well actually a -SNAPSHOT of the same code) /whoAmI works, as does /user/username/? (although the

People using the LDAP plugin to connect to Active Directory

2014-05-22 Thread Stephen Connolly
OK, so there is now rumoured to be a faster and better way to look up the groups that a user belongs to in the LDAP 1.10 plugin. I say rumoured because due to the complexities of Active Directory server configurations, one can never be quite sure until one has had a fair amount of testing. To

Re: People using the LDAP plugin to connect to Active Directory

2014-05-22 Thread Ulli Hafner
Seems that the new plugin breaks the acceptance tests for the LDAP plugin: https://github.com/jenkinsci/acceptance-test-harness/blob/master/src/test/java/plugins/LdapPluginTest.java Am 22.05.2014 um 17:12 schrieb Stephen Connolly stephen.alan.conno...@gmail.com: OK, so there is now rumoured to