CLI access cause NPE when using LDAP users

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      We are issuing calls to the Jenkins CLI using ssh keys as authentication. If we set Jenkins up with an internal user database, it identifies the user and works properly. If we use LDAP to set up the users database, the cli call cause a NPE. This worked on 1.574, but is broken on 1.576. The call and response is:

      java -jar jenkins-cli.jar -s http://sandbox-jenkins.locationlabs.com:8080 who-am-i
      Exception in thread "main" java.io.EOFException
      at java.io.DataInputStream.readBoolean(DataInputStream.java:227)
      at hudson.cli.Connection.readBoolean(Connection.java:93)
      at hudson.cli.CLI.authenticate(CLI.java:560)
      at hudson.cli.CLI._main(CLI.java:471)
      at hudson.cli.CLI.main(CLI.java:382)

            Assignee:
            Kohsuke Kawaguchi
            Reporter:
            Carl Molinari
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: