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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Labels:
      None
    • Environment:
      Jenkins 2.249.1 (on Windows)
      active-directory 2.17
    • Similar Issues:

      Description

      > 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
      

        Attachments

          Activity

          Hide
          thomaspatzig Thomas Patzig added a comment -

          found my own mistake and solution

          configuration for AD was not completed:
          need cache, recursive group queries and remove irrelevant groups

          Show
          thomaspatzig Thomas Patzig added a comment - found my own mistake and solution configuration for AD was not completed: need cache, recursive group queries and remove irrelevant groups

            People

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

              Dates

              Created:
              Updated:
              Resolved: