[JIRA] (JENKINS-12619) "Failed to test the validity of the user name" on all security matrices since upgrade

490 views
Skip to first unread message

ml+jenk@tomfanning.eu (JIRA)

unread,
Feb 1, 2012, 2:22:51 PM2/1/12
to jenkinsc...@googlegroups.com
Tom Fanning created JENKINS-12619:
-------------------------------------

Summary: "Failed to test the validity of the user name" on all security matrices since upgrade
Key: JENKINS-12619
URL: https://issues.jenkins-ci.org/browse/JENKINS-12619
Project: Jenkins
Issue Type: Bug
Components: active-directory
Environment: Jenkins 1.450, plugin version 1.26
Windows Server 2003, non-domain server
Installed as local user
Our Windows domain name specified in configuration as ourdomain.co.uk
Reporter: Tom Fanning
Priority: Minor


Upgraded plugin to version 1.26 just after upgrading Jenkins to 1.450

Now get message "Failed to test the validity of the user name x" wherever there is a security checkbox matrix.

Everything seems to work alright still as far as I can tell.

Stack trace:
org.acegisecurity.BadCredentialsException: Failed to retrieve user information for x; nested exception is javax.naming.NamingException: [LDAP: error code 1 - 000004DC: LdapErr: DSID-0C0906E8, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v1db1]; remaining name 'DC=ourdomain,DC=co,DC=uk'
at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:231)
at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:130)
at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:95)
at hudson.plugins.active_directory.AbstractActiveDirectoryAuthenticationProvider.loadUserByUsername(AbstractActiveDirectoryAuthenticationProvider.java:27)
at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.loadUserByUsername(ActiveDirectorySecurityRealm.java:551)
at hudson.security.GlobalMatrixAuthorizationStrategy$DescriptorImpl.doCheckName_(GlobalMatrixAuthorizationStrategy.java:304)
at hudson.security.GlobalMatrixAuthorizationStrategy$DescriptorImpl.doCheckName(GlobalMatrixAuthorizationStrategy.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:563)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:648)
at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:563)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:648)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477)
at org.kohsuke.stapler.Stapler.service(Stapler.java:159)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:61)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.naming.NamingException: [LDAP: error code 1 - 000004DC: LdapErr: DSID-0C0906E8, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v1db1]; remaining name 'DC=ourdomain,DC=co,DC=uk'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.searchAux(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.c_search(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.c_search(Unknown Source)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(Unknown Source)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source)
at hudson.plugins.active_directory.LDAPSearchBuilder.search(LDAPSearchBuilder.java:52)
at hudson.plugins.active_directory.LDAPSearchBuilder.searchOne(LDAPSearchBuilder.java:42)
at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:191)
... 63 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


auntiedt@level-studios.com (JIRA)

unread,
Feb 3, 2012, 12:49:51 PM2/3/12
to jenkinsc...@googlegroups.com

[ https://issues.jenkins-ci.org/browse/JENKINS-12619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158599#comment-158599 ]

Andre Untiedt commented on JENKINS-12619:
-----------------------------------------

Red Hat Enterprise Linux Server release 5.6 (Tikanga)
Same issue.



> "Failed to test the validity of the user name" on all security matrices since upgrade

> -------------------------------------------------------------------------------------


>
> Key: JENKINS-12619
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12619
> Project: Jenkins
> Issue Type: Bug
> Components: active-directory
> Environment: Jenkins 1.450, plugin version 1.26
> Windows Server 2003, non-domain server
> Installed as local user
> Our Windows domain name specified in configuration as ourdomain.co.uk
> Reporter: Tom Fanning
> Priority: Minor

> Labels: jenkins, plugin, windows

ggeorgea@matrox.com (JIRA)

unread,
Feb 13, 2012, 10:34:24 AM2/13/12
to jenkinsc...@googlegroups.com

[ https://issues.jenkins-ci.org/browse/JENKINS-12619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158956#comment-158956 ]

Gwen Georgeault commented on JENKINS-12619:
-------------------------------------------

I have the same issue on Ubuntu 10.4 using the "Project-based Matrix Authorization Strategy"



> "Failed to test the validity of the user name" on all security matrices since upgrade

> -------------------------------------------------------------------------------------


>
> Key: JENKINS-12619
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12619
> Project: Jenkins
> Issue Type: Bug
> Components: active-directory
> Environment: Jenkins 1.450, plugin version 1.26
> Windows Server 2003, non-domain server
> Installed as local user
> Our Windows domain name specified in configuration as ourdomain.co.uk
> Reporter: Tom Fanning
> Priority: Minor

> Labels: jenkins, plugin, windows

Flominator@java.net (JIRA)

unread,
Feb 28, 2012, 3:13:24 AM2/28/12
to jenkinsc...@googlegroups.com

[ https://issues.jenkins-ci.org/browse/JENKINS-12619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159595#comment-159595 ]

Flominator commented on JENKINS-12619:
--------------------------------------

Same here on Windows XP Pro SP2. We went back to 1.16 from http://updates.jenkins-ci.org/download/plugins/ and it worked like a charm.



> "Failed to test the validity of the user name" on all security matrices since upgrade

> -------------------------------------------------------------------------------------


>
> Key: JENKINS-12619
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12619
> Project: Jenkins
> Issue Type: Bug
> Components: active-directory
> Environment: Jenkins 1.450, plugin version 1.26
> Windows Server 2003, non-domain server
> Installed as local user
> Our Windows domain name specified in configuration as ourdomain.co.uk
> Reporter: Tom Fanning
> Priority: Minor

> Labels: jenkins, plugin, windows

mbadolato@gmail.com (JIRA)

unread,
Mar 8, 2012, 12:40:24 PM3/8/12
to jenkinsc...@googlegroups.com

[ https://issues.jenkins-ci.org/browse/JENKINS-12619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160036#comment-160036 ]

Mark Badolato commented on JENKINS-12619:
-----------------------------------------

Same here FreeBSD 8.2, happening on Jenkins 1.454 with AD 1.26. Everything appears to be working, however (as others have also stated)



> "Failed to test the validity of the user name" on all security matrices since upgrade

> -------------------------------------------------------------------------------------


>
> Key: JENKINS-12619
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12619
> Project: Jenkins
> Issue Type: Bug
> Components: active-directory
> Environment: Jenkins 1.450, plugin version 1.26
> Windows Server 2003, non-domain server
> Installed as local user
> Our Windows domain name specified in configuration as ourdomain.co.uk
> Reporter: Tom Fanning
> Priority: Minor

> Labels: jenkins, plugin, windows

martin@martinmcnulty.co.uk (JIRA)

unread,
Mar 20, 2012, 2:05:25 PM3/20/12
to jenkinsc...@googlegroups.com

[ https://issues.jenkins-ci.org/browse/JENKINS-12619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160493#comment-160493 ]

Martin McNulty commented on JENKINS-12619:
------------------------------------------

Same here on Windows 7 Pro SP1 running under a domain account. Permissions I assign to users I add are still saved, despite the error, but they don't appear to actually apply to those users when they log in (they get full access to everything instead of the more restricted ones I chose).


> "Failed to test the validity of the user name" on all security matrices since upgrade

> -------------------------------------------------------------------------------------


>
> Key: JENKINS-12619
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12619
> Project: Jenkins
> Issue Type: Bug
> Components: active-directory
> Environment: Jenkins 1.450, plugin version 1.26
> Windows Server 2003, non-domain server
> Installed as local user
> Our Windows domain name specified in configuration as ourdomain.co.uk
> Reporter: Tom Fanning
> Priority: Minor

> Labels: jenkins, plugin, windows

martin@martinmcnulty.co.uk (JIRA)

unread,
Mar 20, 2012, 2:11:24 PM3/20/12
to jenkinsc...@googlegroups.com

[ https://issues.jenkins-ci.org/browse/JENKINS-12619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160493#comment-160493 ]

Martin McNulty edited comment on JENKINS-12619 at 3/20/12 6:10 PM:
-------------------------------------------------------------------

Same here on Windows 7 Pro SP1 running under a domain account. Downgrading to 1.16 seems to fix it.

was (Author: mhmcnulty):


Same here on Windows 7 Pro SP1 running under a domain account. Permissions I assign to users I add are still saved, despite the error, but they don't appear to actually apply to those users when they log in (they get full access to everything instead of the more restricted ones I chose).

> "Failed to test the validity of the user name" on all security matrices since upgrade

> -------------------------------------------------------------------------------------


>
> Key: JENKINS-12619
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12619
> Project: Jenkins
> Issue Type: Bug
> Components: active-directory
> Environment: Jenkins 1.450, plugin version 1.26
> Windows Server 2003, non-domain server
> Installed as local user
> Our Windows domain name specified in configuration as ourdomain.co.uk
> Reporter: Tom Fanning
> Priority: Minor

> Labels: jenkins, plugin, windows

jacob.robertson.work@gmail.com (JIRA)

unread,
Apr 6, 2012, 1:29:24 PM4/6/12
to jenkinsc...@googlegroups.com

[ https://issues.jenkins-ci.org/browse/JENKINS-12619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161347#comment-161347 ]

jacob_robertson commented on JENKINS-12619:
-------------------------------------------

Reproduced exactly on windows server 2008. Jenkins 1.447.1 and AD plugin 1.26.
Seems fixed after downgrading to 1.16 - why did we choose that version?



> "Failed to test the validity of the user name" on all security matrices since upgrade

> -------------------------------------------------------------------------------------


>
> Key: JENKINS-12619
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12619
> Project: Jenkins
> Issue Type: Bug
> Components: active-directory
> Environment: Jenkins 1.450, plugin version 1.26
> Windows Server 2003, non-domain server
> Installed as local user
> Our Windows domain name specified in configuration as ourdomain.co.uk
> Reporter: Tom Fanning
> Priority: Minor

> Labels: jenkins, plugin, windows

alejandro.trev@hotmail.com (JIRA)

unread,
Apr 11, 2012, 11:57:24 AM4/11/12
to jenkinsc...@googlegroups.com

[ https://issues.jenkins-ci.org/browse/JENKINS-12619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161480#comment-161480 ]

Alex Trevino commented on JENKINS-12619:
----------------------------------------

Same issue on CentOS 6.2, with Jenkins 1.454 and AD plugin 1.26.

We downgraded to AD plugin 1.23 (previously installed version), and the problem seems to be fixed.



> "Failed to test the validity of the user name" on all security matrices since upgrade

> -------------------------------------------------------------------------------------


>
> Key: JENKINS-12619
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12619
> Project: Jenkins
> Issue Type: Bug
> Components: active-directory
> Environment: Jenkins 1.450, plugin version 1.26
> Windows Server 2003, non-domain server
> Installed as local user
> Our Windows domain name specified in configuration as ourdomain.co.uk
> Reporter: Tom Fanning
> Priority: Minor

> Labels: jenkins, plugin, windows

scm_issue_link@java.net (JIRA)

unread,
Apr 26, 2012, 4:26:26 PM4/26/12
to jenkinsc...@googlegroups.com

[ https://issues.jenkins-ci.org/browse/JENKINS-12619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162098#comment-162098 ]

SCM/JIRA link daemon commented on JENKINS-12619:
------------------------------------------------

Code changed in jenkins
User: Kohsuke Kawaguchi
Path:
src/main/java/hudson/plugins/active_directory/ActiveDirectoryUnixAuthenticationProvider.java
http://jenkins-ci.org/commit/active-directory-plugin/5e7a25fb02ef8b7649938a258d3e741d2ddc7c8a
Log:
[FIXED JENKINS-12619] improved the error handling.

If AD doesn't allow anonymous bind, it can still pass the bind method OK
but fail only when we actually try to query. detect that and recover
gracefully.




> "Failed to test the validity of the user name" on all security matrices since upgrade
> -------------------------------------------------------------------------------------
>
> Key: JENKINS-12619
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12619
> Project: Jenkins
> Issue Type: Bug
> Components: active-directory
> Environment: Jenkins 1.450, plugin version 1.26
> Windows Server 2003, non-domain server
> Installed as local user
> Our Windows domain name specified in configuration as ourdomain.co.uk
> Reporter: Tom Fanning
> Priority: Minor
> Labels: jenkins, plugin, windows

scm_issue_link@java.net (JIRA)

unread,
Apr 26, 2012, 4:26:26 PM4/26/12
to jenkinsc...@googlegroups.com

[ https://issues.jenkins-ci.org/browse/JENKINS-12619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

SCM/JIRA link daemon resolved JENKINS-12619.
--------------------------------------------

Resolution: Fixed

> "Failed to test the validity of the user name" on all security matrices since upgrade
> -------------------------------------------------------------------------------------
>
> Key: JENKINS-12619
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12619
> Project: Jenkins
> Issue Type: Bug
> Components: active-directory
> Environment: Jenkins 1.450, plugin version 1.26
> Windows Server 2003, non-domain server
> Installed as local user
> Our Windows domain name specified in configuration as ourdomain.co.uk
> Reporter: Tom Fanning
> Priority: Minor
> Labels: jenkins, plugin, windows

dogfood@java.net (JIRA)

unread,
Apr 26, 2012, 4:34:25 PM4/26/12
to jenkinsc...@googlegroups.com

[ https://issues.jenkins-ci.org/browse/JENKINS-12619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162103#comment-162103 ]

dogfood commented on JENKINS-12619:
-----------------------------------

Integrated in !http://ci.jenkins-ci.org/images/16x16/blue.png! [plugins_active-directory #60|http://ci.jenkins-ci.org/job/plugins_active-directory/60/]
[FIXED JENKINS-12619] improved the error handling. (Revision 5e7a25fb02ef8b7649938a258d3e741d2ddc7c8a)

Result = SUCCESS
Kohsuke Kawaguchi :
Files :
* src/main/java/hudson/plugins/active_directory/ActiveDirectoryUnixAuthenticationProvider.java


> "Failed to test the validity of the user name" on all security matrices since upgrade
> -------------------------------------------------------------------------------------
>
> Key: JENKINS-12619
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12619
> Project: Jenkins
> Issue Type: Bug
> Components: active-directory
> Environment: Jenkins 1.450, plugin version 1.26
> Windows Server 2003, non-domain server
> Installed as local user
> Our Windows domain name specified in configuration as ourdomain.co.uk
> Reporter: Tom Fanning
> Priority: Minor
> Labels: jenkins, plugin, windows

thetownfool@gmail.com (JIRA)

unread,
Jun 25, 2012, 11:37:24 AM6/25/12
to jenkinsc...@googlegroups.com

I think I might be missing something here?

I've recently upgraded to jenkins 1.472 and have just installed AD plugin 1.29

Jenkins is installed as a service on a win2k3 server that is a member of the domain.

the service is running as "Local System"

I can authenticate fine, but I still have the problem listed above with the security matrices. although the stake trace suggests a slightly different cause.

25-Jun-2012 16:28:18 hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider retrieveUser
WARNING: Credential exception tying to authenticate against DOMAINNAME domain
org.acegisecurity.BadCredentialsException: Failed to retrieve user information for USERNAME; 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., data 0, vece ]; remaining name 'DC=DOMAINNAME'
at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:306)
at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:190)
at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:134)
at hudson.plugins.active_directory.AbstractActiveDirectoryAuthenticationProvider.loadUserByUsername(AbstractActiveDirectoryAuthenticationProvider.java:30)
at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.loadUserByUsername(ActiveDirectorySecurityRealm.java:582)


at hudson.security.GlobalMatrixAuthorizationStrategy$DescriptorImpl.doCheckName_(GlobalMatrixAuthorizationStrategy.java:304)
at hudson.security.GlobalMatrixAuthorizationStrategy$DescriptorImpl.doCheckName(GlobalMatrixAuthorizationStrategy.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)

at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)


at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)

at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)


at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)

at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488)
at org.kohsuke.stapler.Stapler.service(Stapler.java:162)


at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)

at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63)


at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)

at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)


at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)

at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215)
at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: 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., data 0, vece ]; remaining name 'DC=DOMAINNAME'


at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.searchAux(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.c_search(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.c_search(Unknown Source)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(Unknown Source)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source)
at hudson.plugins.active_directory.LDAPSearchBuilder.search(LDAPSearchBuilder.java:52)
at hudson.plugins.active_directory.LDAPSearchBuilder.searchOne(LDAPSearchBuilder.java:42)

at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:260)
... 72 more

Any Ideas?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.

byronbrummer@livenation.com (JIRA)

unread,
Nov 12, 2012, 6:16:41 PM11/12/12
to jenkinsc...@googlegroups.com
Change By: Byron Brummer (12/Nov/12 11:15 PM)
Assignee: Kohsuke Kawaguchi
Affects Version/s: current
Priority: Minor Major
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.

byronbrummer@livenation.com (JIRA)

unread,
Nov 12, 2012, 6:18:41 PM11/12/12
to jenkinsc...@googlegroups.com

Never fixed.

Change By: Byron Brummer (12/Nov/12 11:16 PM)
Resolution: Fixed
Status: Resolved Reopened
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.

byronbrummer@livenation.com (JIRA)

unread,
Nov 12, 2012, 6:20:41 PM11/12/12
to jenkinsc...@googlegroups.com

Still broken with latest 1.30 plugin, effectively a blocker at it causes any use of matrix authz to lock out AD accounts. I'm not sure why this was ever set to Fixed? We're stuck on version 1.16 until this is resolved.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.

chris_williams1@dell.com (JIRA)

unread,
Jan 24, 2013, 11:54:54 AM1/24/13
to jenkinsc...@googlegroups.com

I can reproduce this on Win2k8R2 but it works on RHEL5:
Jenkins 1.480.2, Jenkins AD plugin 1.30

On RHEL5, I can see the fields "Site", "Bind DN", "Bind Password", and the button "Test" on the Jenkins Config page. Using Project-based Matrix Auth, both individual users and groups are validated properly. The master config.xml file contains tags for both <bindName> and <bindPassword>.

On Win2k8R2, Jenkins running as a Windows service using a domain account, I do not see the Site/Bind DN/Bind Password fields nor the Test button. I only get "Domain Name" and "Domain controller". Using either Matrix auth, both individual and groups fail to validate and throw the org.acegisecurity.BadCredentialsException error listed above. The master config.xml file contains only a <bindPassword> tag, presumably the value of the encrypted password is the password from the domain account used for the Windows service. If I manually add a <bindName> entry to config.xml and reload, Jenkins fails to start and throws the same BadCred exception.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.

adwu73@hotmail.com (JIRA)

unread,
Feb 5, 2013, 8:05:53 PM2/5/13
to jenkinsc...@googlegroups.com
Adam Wu commented on Bug JENKINS-12619

First, you have to verify whether the anonymous binding is set on your DC? most of time is set to off, and the security won't allow you to turn it on. So you must have an identify of the domain to query the user list on the domain.

I have successful configure two CI master, one on Windows, one on RHEL. On RHEL, when the Bind DN/Bind Password is empty, I noticed the "Failed to test the validity of the user name" on some users.Once I set the Bind DN/Bind Password to an normal user account of the domain, I got the same error. But when I set the DN/Password to an admin level user name, the warning is gone, and all user can be validated. It seems that this is related to whether the user account has right to query the user list on the AD. On Windows CI master, the easiet way is to add CI mater to the domain.

And use the jenkins log as descibed in the ad plugin web page helps a lot to solve these kind of issues.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.

viktor.tarasov@gmail.com (JIRA)

unread,
Feb 6, 2013, 4:31:53 AM2/6/13
to jenkinsc...@googlegroups.com

It seems I have the same issue with jenkins-1.500 and ADplugin-1.30.
Master on SLES-11.

50% of cli command fails due to the 'Failed to retrieve user information ...' error.

The log from the client side:

  1. First attempt
    $ cat config.xml | java -jar jenkins-cli.jar -s <jenkins-url> <job-name>
    Exception in thread "main" java.io.EOFException
    at java.io.DataInputStream.readBoolean(DataInputStream.java:244)
    at hudson.cli.Connection.readBoolean(Connection.java:95)
    at hudson.cli.CLI.authenticate(CLI.java:604)
    at hudson.cli.CLI._main(CLI.java:444)
    at hudson.cli.CLI.main(CLI.java:374)
  2. Second one
    $ cat config.xml | java -jar jenkins-cli.jar -s <jenkins-url> <job-name>
    $

The logs from server:
Feb 6, 2013 10:16:21 AM hudson.TcpSlaveAgentListener$ConnectionHandler run
INFO: Accepted connection #33 from /172.28.16.3:33475
Feb 6, 2013 10:16:21 AM hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider retrieveUser
WARNING: Failed to retrieve user information for jenkins
Throwable occurred: 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., data 0, vece]; Remaining name: 'DC=XXXXXXXX-sa,DC=local'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3093)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2999)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2806)
at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1838)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1761)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1778)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:406)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:388)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:370)


at hudson.plugins.active_directory.LDAPSearchBuilder.search(LDAPSearchBuilder.java:52)
at hudson.plugins.active_directory.LDAPSearchBuilder.searchOne(LDAPSearchBuilder.java:42)

at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:260)
...............
Feb 6, 2013 10:16:21 AM hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider retrieveUser
WARNING: Credential exception tying to authenticate against XXXXXXXX-sa.local domain
Throwable occurred: org.acegisecurity.BadCredentialsException: Failed to retrieve user information for jenkins; 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., data 0, vece]; Remaining name: 'DC=XXXXXXXX-sa,DC=local'


at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:306)
at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:190)
at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:134)
at hudson.plugins.active_directory.AbstractActiveDirectoryAuthenticationProvider.loadUserByUsername(AbstractActiveDirectoryAuthenticationProvider.java:30)
at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.loadUserByUsername(ActiveDirectorySecurityRealm.java:582)

at hudson.model.User.impersonate(User.java:255)
at org.jenkinsci.main.modules.cli.auth.ssh.SshCliAuthenticator.authenticate(SshCliAuthenticator.java:44)
at hudson.cli.CliManagerImpl$2.run(CliManagerImpl.java:109)
Caused by: 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., data 0, vece]; Remaining name: 'DC=XXXXXXXX-sa,DC=local'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3093)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2999)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2806)
at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1838)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1761)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1778)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:406)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:388)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:370)


at hudson.plugins.active_directory.LDAPSearchBuilder.search(LDAPSearchBuilder.java:52)
at hudson.plugins.active_directory.LDAPSearchBuilder.searchOne(LDAPSearchBuilder.java:42)

at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:260)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.

viktor.tarasov@gmail.com (JIRA)

unread,
Feb 6, 2013, 4:33:53 AM2/6/13
to jenkinsc...@googlegroups.com
 
Viktor Tarasov edited a comment on Bug JENKINS-12619

It seems I have the same issue with jenkins-1.500 and ADplugin-1.30.
Master on SLES-11.

50% of cli command fails due to the 'Failed to retrieve user information ...' error.

The log from the client side:

  1. First attempt
    $ cat config.xml | java -jar jenkins-cli.jar -s <jenkins-url> update-job <job-name>

  1. Exception in thread "main" java.io.EOFException
    at java.io.DataInputStream.readBoolean(DataInputStream.java:244)
    at hudson.cli.Connection.readBoolean(Connection.java:95)
    at hudson.cli.CLI.authenticate(CLI.java:604)
    at hudson.cli.CLI._main(CLI.java:444)
    at hudson.cli.CLI.main(CLI.java:374)
  1. Second one
    $ cat config.xml | java -jar jenkins-cli.jar -s <jenkins-url> update-job <job-name>
    $

The logs from server:
Feb 6, 2013 10:16:21 AM hudson.TcpSlaveAgentListener$ConnectionHandler run
INFO: Accepted connection #33 from /172.28.16.3:33475
Feb 6, 2013 10:16:21 AM hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider retrieveUser
WARNING: Failed to retrieve user information for jenkins
Throwable occurred: 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., data 0, vece]; Remaining name: 'DC=XXXXXXXX-sa,DC=local'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3093)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2999)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2806)
at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1838)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1761)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1778)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:406)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:388)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:370)

at hudson.plugins.active_directory.LDAPSearchBuilder.search(LDAPSearchBuilder.java:52)
at hudson.plugins.active_directory.LDAPSearchBuilder.searchOne(LDAPSearchBuilder.java:42)

at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:260)
...............
Feb 6, 2013 10:16:21 AM hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider retrieveUser
WARNING: Credential exception tying to authenticate against XXXXXXXX-sa.local domain
Throwable occurred: org.acegisecurity.BadCredentialsException: Failed to retrieve user information for jenkins; 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., data 0, vece]; Remaining name: 'DC=XXXXXXXX-sa,DC=local'
at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:306)
at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:190)
at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:134)
at hudson.plugins.active_directory.AbstractActiveDirectoryAuthenticationProvider.loadUserByUsername(AbstractActiveDirectoryAuthenticationProvider.java:30)
at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.loadUserByUsername(ActiveDirectorySecurityRealm.java:582)
at hudson.model.User.impersonate(User.java:255)
at org.jenkinsci.main.modules.cli.auth.ssh.SshCliAuthenticator.authenticate(SshCliAuthenticator.java:44)
at hudson.cli.CliManagerImpl$2.run(CliManagerImpl.java:109)

Caused by: 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., data 0, vece]; Remaining name: 'DC=XXXXXXXX-sa,DC=local'


at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3093)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2999)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2806)
at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1838)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1761)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1778)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:406)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:388)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:370)

at hudson.plugins.active_directory.LDAPSearchBuilder.search(LDAPSearchBuilder.java:52)
at hudson.plugins.active_directory.LDAPSearchBuilder.searchOne(LDAPSearchBuilder.java:42)

at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:260)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.

adwu73@hotmail.com (JIRA)

unread,
Feb 6, 2013, 8:29:53 AM2/6/13
to jenkinsc...@googlegroups.com
Adam Wu commented on Bug JENKINS-12619

have you set DN name & DN password? and Try to user logging to find more info:

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.

adwu73@hotmail.com (JIRA)

unread,
Feb 6, 2013, 8:29:53 AM2/6/13
to jenkinsc...@googlegroups.com
 
Adam Wu edited a comment on Bug JENKINS-12619

have you set DN name & DN password? (you should better to use an admin user & password) and Try to user logging to find more info:
If you think you've configured everything correctly but still not being able to login (or any other problems), please enable Logging and configure logging level for "hudson.plugins.active_directory" to ALL. Attempt a login and then file a ticket with the log output.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.

viktor.tarasov@gmail.com (JIRA)

unread,
Feb 6, 2013, 11:03:53 AM2/6/13
to jenkinsc...@googlegroups.com

It seems that in my case it's a v1.500 issue.
With v1.499 it works as expected
(as well as it worked a couple of months before).

With v1.500 when same CLI command executed two times, it fails in one of them.

I will try to get more logs.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.

markus@headcrashing.eu (JIRA)

unread,
Feb 12, 2013, 1:22:53 PM2/12/13
to jenkinsc...@googlegroups.com
Markus KARG commented on Bug JENKINS-12619

I have the same problem. Jenkins 1.501 on Tomcat 6 / JDK 1.6.0_18 / Debian 6 / x86 talking to single-DC domain (not a particular host / no forest) running on Windows 2K3. Authentication and authorization actually is working fine, but the matrix roles view still says the Bind-DN is missing. But actually bind-DN and bind-PWD is provided and correct. Please tell me what I need to test / provide for you, and I post anything you like, just to get this fixed!

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.

davida2009@java.net (JIRA)

unread,
Apr 5, 2013, 7:11:32 AM4/5/13
to jenkinsc...@googlegroups.com
davida2009 commented on Bug JENKINS-12619

Hi

I am running Jenkins LTS 1.480.3. We have been seeing this error:

"Failed to test the validity of the user name x"

when 'Project-based Matrix Authorization Strategy' is selected in the Configuration screen.

for a long time.

Any chance of a fix soon please?

David

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.

potatopankakes@gmail.com (JIRA)

unread,
Jul 1, 2013, 8:49:58 PM7/1/13
to jenkinsc...@googlegroups.com
Jeff Burke commented on Bug JENKINS-12619

I have these symptoms sporadically on Windows 2k8r2 w/Jenkins 1.519 and AD plugin v1.33. I am also using Role-based Authorization Strategy v 1.1.2. I can view the /role-strategy/assign-roles screen without errors, and then it will refresh w/some of the Active Directory groups replaced with "Failed to test validity of the user name" in red with the below call stack.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.

davida2009@java.net (JIRA)

unread,
Apr 24, 2014, 8:33:05 AM4/24/14
to jenkinsc...@googlegroups.com
davida2009 commented on Bug JENKINS-12619

Thanks for your notes Makarewar. We were able to fix our manifestation of this problem by specifying a BIND DN and BIND PASSWORD in Advanced settings, as you suggested. We left Domain Controller and Site blank, but did specify a Domain Name.

Reply all
Reply to author
Forward
0 new messages