Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63752

jenkins cli auth doesn't work any longer if AD authentication is activate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • Jenkins 2.249.1 (on Windows)
      active-directory 2.17

      > still collection information <

      as long as I use "Security Realm" -> "Jenkins own user database CLI works fine:

      java -jar jenkins-cli.jar -s http://xxx:8081/ -auth user:pass who-am-i
      Authenticated as: user
      Authorities:
        authenticated
      

      ... but if I change to AD

      ... it has worked fine with jenkins version: 2.235.3

      java -jar jenkins-cli.jar -s http://xxx:8081/ -auth aduser@domain:pass who-am-i
      Authenticated as: aduser@domain
      Authorities:
      ...
      
      java -jar jenkins-cli.jar -s http://xxx:8081/ -auth aduser@domain:pass version
      2.235.3
      

            thomaspatzig Thomas Patzig
            thomaspatzig Thomas Patzig
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: