Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #8294

Closed
Open
Created Nov 12, 2014 by Administrator@rootOwner

Username profile -> "is reserved" ?

Created by: offlinehoster

Hi,

i've just created an username "profile". We're using a ldap for our credentials.

After a login try (with a valid password) i can see the following log entries:

==> unicorn/unicorn_stdout.log <==
I, [2014-11-12T15:25:14.537926 #2285]  INFO -- omniauth: (ldap) Callback phase initiated.

==> gitlab-rails/production.log <==
Processing by OmniauthCallbacksController#ldap as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"efIPrRnOE9ohuhuhuhuhuhuhuLU67cmKMfr1S7Q=", "username"=>"profile", "password"=>"[FILTERED]"}

==> gitlab-rails/application.log <==
November 12, 2014 15:25: (OAuth) Email []. Username ["is reserved"]

==> gitlab-rails/production.log <==
Completed 500 Internal Server Error in 73ms

==> unicorn/unicorn_stdout.log <==
E, [2014-11-12T15:25:14.627935 #2285] ERROR -- omniauth: (ldap) Authentication failure! ldap_error: NoMethodError, undefined method `persisted?' for #<Array:0x0000000c0eb760>

When i'm using a wrong password, i only see that this password is invalid.

==> gitlab-rails/production.log <==
Started POST "/users/sign_in" for IP.IP.IP.IPat 2014-11-12 15:30:50 +0100
Processing by SessionsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"efIPrRnOE9ofGVZtfF7mYiGgc5Bs6LU67cmKMfr1S7Q=", "user"=>{"login"=>"profile", "password"=>"[FILTERED]", "remember_me"=>"0"}}
Completed 401 Unauthorized in 4ms
Processing by SessionsController#new as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"efIPrRnOE9ofGVZtfF7mYiGgc5Bs6LU67cmKMfr1S7Q=", "user"=>{"login"=>"profile", "password"=>"[FILTERED]", "remember_me"=>"0"}}
Completed 200 OK in 67ms (Views: 4.2ms | ActiveRecord: 0.0ms)

So is there a problem by using the username "profile" with gitlab?

Any ideas?

Cheers Christian

Assignee
Assign to
Time tracking