Hi Stephen I finally got round to looking at this again. I found that I had both the following plugins enabled:
- LDAP Plugin 1.6 - Jenkins Active Directory Plugin 1.33 I disabled the LDAP Plugin and restarted Jenkins but I still see the following error in Configure Global Security: "Failed to test the validity of the user name <name> (show details) org.acegisecurity.BadCredentialsException: Failed to retrieve user information for <name>; nested exception is javax.naming.NamingException: [LDAP: error code 1 - 00000000: LdapErr: DSID-0C090627, comment: In order to perform this operation a successful bind must be completed on the connection.," I see that JENKINS-12619 was opened in Feb 2012 and looks relevant. Do you have any suggestions how to resolve this please? Best regards David From: [email protected] [mailto:[email protected]] On Behalf Of Stephen Connolly Sent: 15 October 2013 16:10 To: [email protected] Subject: Re: "Failed to test the validity of the user name ..." Blame Kohsuke if it goes wrong ;-) On 15 October 2013 16:03, David Aldrich <[email protected]<mailto:[email protected]>> wrote: Thanks Stephen, we'll consider using the Active Directory plugin instead. BR David From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Stephen Connolly Sent: 15 October 2013 15:37 To: [email protected]<mailto:[email protected]> Subject: Re: "Failed to test the validity of the user name ..." Well Kohsuke always is confused as to why people use a plugin that doesn't have "Active Directory" in its name when trying to connect to Active Directory... so going on Kohsuke's philosophy, you should be using the Active Directory plugin to connect to Active Directory... and if that doesn't work for you, then you should file some bugs and pester Kohsuke to fix them bugs. On 15 October 2013 14:44, David Aldrich <[email protected]<mailto:[email protected]>> wrote: Hi Stephen Thanks for your reply. Would it help if we used the Active Directory plugin instead of the LDAP plugin? I'm afraid I know nothing about groovy scripts. How would I run that script please? David From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Stephen Connolly Sent: 15 October 2013 14:35 To: [email protected]<mailto:[email protected]> Subject: Re: "Failed to test the validity of the user name ..." Have you tried the troubleshooting groovy script in the Troubleshooting section of the LDAP plugin wiki page? On 15 October 2013 14:30, David Aldrich <[email protected]<mailto:[email protected]>> wrote: Hi We have seen this issue: JENKINS-12619 "Failed to test the validity of the user name on all security matrices since upgrade on our Jenkins instance for a long time. We are running Jenkins 1.509.3 (LTS). Does anyone have a solution for this issue please? Best regards David -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:jenkinsci-users%[email protected]>. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/groups/opt_out. Click here<https://www.mailcontrol.com/sr/17LHN1SY18TGX2PQPOmvUndZP90azNGYV25LcpB7y4Cx1mhGEG40j4E!xejanykfPRL+RTcDbJOVGm43FW9a3A==> to report this email as spam. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:jenkinsci-users%[email protected]>. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:jenkinsci-users%[email protected]>. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
