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

Cannot create new users in 2.138.2

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Duplicate
    • Component/s: core
    • Labels:
    • Environment:
      2.138.2, fresh installation from the Ubuntu apt repository
    • Similar Issues:

      Description

      I just unsuccessfully tried setting up a brand new Jenkins instance on a brand new server. Everything worked fine, except it's not possible to create user accounts, at all. The issue is the same when using the setup wizard ("create first new user") as when going to Manage Jenkins -> Manage Users -> Create new user.

      The symptom is that no matter what is entered in the form (leaving all fields blank has the same effect as filling in everything correctly), when you press submit you simply get a HTTP 200 response. No error messages, nothing in jenkins.log, simply nothing happens.

       

      I reverted to 2.121.3 using "apt-get install jenkins=2.121.3" and everything worked just fine.

        Attachments

          Issue Links

            Activity

            Hide
            andreas_fester Andreas Fester added a comment -

            Observing the same with a brand new Jenkins 2.150.1 installation (on Oracle Enterprise Linux 6.8, using JRE 1.8.0_181). User name I tried was "sample".

            Show
            andreas_fester Andreas Fester added a comment - Observing the same with a brand new Jenkins 2.150.1 installation (on Oracle Enterprise Linux 6.8, using JRE 1.8.0_181). User name I tried was "sample".
            Hide
            lcguida Leandro Guida added a comment -

            Same thing for me in version 2.150.1. Can't create  a user, no error message and no log entry.

             

            Show
            lcguida Leandro Guida added a comment - Same thing for me in version 2.150.1. Can't create  a user, no error message and no log entry.  
            Hide
            stephanwezelps Stephan Wezel added a comment - - edited

            I can reproduce the bug with 2.150.2:

            username: test.test
            pw: test
            e-mail: test@test.com

            The name doesn't follow the rules mentioned by Daniel Beck but jenkins doesn't show any error message.

            With 2.164 a proper error message is reported that the username is not valid

            Show
            stephanwezelps Stephan Wezel added a comment - - edited I can reproduce the bug with 2.150.2: username: test.test pw: test e-mail: test@test.com The name doesn't follow the rules mentioned by Daniel Beck but jenkins doesn't show any error message. With 2.164 a proper error message is reported that the username is not valid
            Hide
            reanto_ch Renato Chencinski added a comment -

            Same problem here, Jenkins 2.150.2.

            Workaround was to use a username without a dot.

            Show
            reanto_ch Renato Chencinski added a comment - Same problem here, Jenkins 2.150.2. Workaround was to use a username without a dot.
            Hide
            danielbeck Daniel Beck added a comment -

            https://jenkins.io/security/advisory/2018-05-09/#SECURITY-786 explains the rationale behind the change, and provides a workaround if you need periods in your user names.

            The lack of form validation bug was fixed in JENKINS-52869, so closing this issue as a duplicate.

            Show
            danielbeck Daniel Beck added a comment - https://jenkins.io/security/advisory/2018-05-09/#SECURITY-786 explains the rationale behind the change, and provides a workaround if you need periods in your user names. The lack of form validation bug was fixed in JENKINS-52869 , so closing this issue as a duplicate.

              People

              • Assignee:
                Unassigned
                Reporter:
                jalle19 Foo Bar
              • Votes:
                3 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: