[ https://issues.jenkins-ci.org/browse/JENKINS-13940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on JENKINS-13940 started by Scott Tatum. > I'm trying to authenticate the Jenkins command line (CLI) and the system > returns an error message (user authentication with AD), but the GUI works. > --------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: JENKINS-13940 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13940 > Project: Jenkins > Issue Type: Bug > Components: accurev, cli > Affects Versions: current > Environment: Windows Server 2008 R2 Standard > Reporter: Jesiel Moraes da Conceição > Assignee: Scott Tatum > Priority: Blocker > > I'm trying to authenticate the Jenkins command line (CLI) and the system > returns an error message (user authentication with AD), authenticates through > the GUI normally. > Under the command and the error: > c:\>java -jar jenkins-cli.jar -s http://correcaobuild login --username jesiel > Password: > hudson.security.UserMayOrMayNotExistException: Unable to retrieve the user > information without bind DN/password configured > at > hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:297) > at > hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:185) > at > hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:133) > at > hudson.plugins.active_directory.AbstractActiveDirectoryAuthenticationProvider.loadUserByUsername(AbstractActiveDirectoryAuthenticationProvider.java:27) > at > hudson.plugins.active_directory.ActiveDirectorySecurityRealm.loadUserByUsername(ActiveDirectorySecurityRealm.java:582) > at > hudson.cli.ClientAuthenticationCache.set(ClientAuthenticationCache.java:94) > at hudson.cli.LoginCommand.run(LoginCommand.java:37) > at hudson.cli.CLICommand.main(CLICommand.java:228) > at hudson.cli.CliManagerImpl.main(CliManagerImpl.java:92) > 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 > hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) > at > hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) > at > hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:287) > at > hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) > at hudson.cli.CliManagerImpl$1.call(CliManagerImpl.java:63) > at > hudson.remoting.InterceptingExecutorService$2.call(InterceptingExecutorService.java:95) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > 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) -- 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