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