No ldap + first.lastname login possible with latest 2.8 version (2.8.1)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

No ldap + first.lastname login possible with latest 2.8 version (2.8.1)

Carsten Höger
Hi,

with earlier versions that has been working, but now it seems broken.

Did a fresh installation in order to reproduce another issue, but now I am
unable to login.

Setup against LDAP server, usernames with dots.

vagrant@buildservice:~> osc api /configuration
<configuration>

[...]

  <name>private</name>
  <download_on_demand>on</download_on_demand>
  <enforce_project_keys>off</enforce_project_keys>
  <anonymous>off</anonymous>
  <registration>allow</registration>
  <default_access_disabled>off</default_access_disabled>
  <allow_user_to_create_home_project>on</allow_user_to_create_home_project>
  <disallow_group_creation>on</disallow_group_creation>
  <change_password>on</change_password>
  <obs_url>https//buildwebgui.kitchen</obs_url>
  <hide_private_options>off</hide_private_options>
  <gravatar>off</gravatar>
  <cleanup_empty_projects>on</cleanup_empty_projects>
  <disable_publish_for_branches>on</disable_publish_for_branches>
  <admin_email>[hidden email]</admin_email>
  <unlisted_projects_filter>^home:.+</unlisted_projects_filter>
  <unlisted_projects_filter_description>home projects</unlisted_projects_filter_description>
  <schedulers>
    <arch>i586</arch>
    <arch>x86_64</arch>
  </schedulers>
</configuration>


vagrant@buildservice:~> rpm -qa | grep obs
obs-service-tar_scm-0.7.0.1492101301.747de50-177.1.noarch
obs-service-source_validator-0.6+git20170111.82ea590-13.3.1.noarch
obs-service-download_files-0.5.1.git.1455712026.9c0a4a0-7.1.noarch
obs-worker-2.8.1-2.1.noarch
obs-productconverter-2.8.1-2.1.noarch
obs-common-2.8.1-2.1.noarch
obs-service-set_version-0.5.6-74.1.noarch
obs-service-verify_file-0.1.1-21.1.noarch
obs-service-obs_scm-common-0.7.0.1492101301.747de50-177.1.noarch
obs-signd-2.3.0-2.1.x86_64
obs-api-2.8.1-2.1.noarch
obs-service-recompress-0.3.1+git20160217.7897d3f-30.2.noarch
obs-server-2.8.1-2.1.noarch
obs-service-format_spec_file-20170204-2.3.1.noarch


Was there some recent change that might have caused this?
Should I file a bug report?

tail -f /srv/www/obs/api/log/*.log at the login time:


==> /srv/www/obs/api/log/production.log <==
I, [2017-05-24T13:45:03.662140 #10445]  INFO -- : [f71d6f77-36d9-44e8-b03a-b429694f776a] [10445:246.57] Started POST "/user/do_login" for 192.168.42.1 at 2017-05-24 13:45:03 +0200
I, [2017-05-24T13:45:03.663314 #10445]  INFO -- : [f71d6f77-36d9-44e8-b03a-b429694f776a] [10445:246.57] Processing by Webui::UserController#do_login as HTML
I, [2017-05-24T13:45:03.663386 #10445]  INFO -- : [f71d6f77-36d9-44e8-b03a-b429694f776a] [10445:246.57]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"wV363sOXm4wdp/Tt0r0KmVqg16ihh61JcXGrmHsquH9lRV0CmdRGdf9LOR+gHiTM16EHJyAo+3OnJe9kpDOZaw==", "username"=>"carsten.hoeger", "password"=>"[FILTERED]", "commit"=>"Log In"}
I, [2017-05-24T13:45:03.673793 #10445]  INFO -- : [f71d6f77-36d9-44e8-b03a-b429694f776a] [10445:246.58] Redirected to https://buildwebgui.kitchen/user/login
I, [2017-05-24T13:45:03.674033 #10445]  INFO -- : [f71d6f77-36d9-44e8-b03a-b429694f776a] [10445:246.58] Completed 302 Found in 11ms (ActiveRecord: 0.0ms | Backend: 0.0ms | XML: 0.0ms)

==> /srv/www/obs/api/log/apache_access.log <==
192.168.42.1 - - [24/May/2017:13:45:03 +0200] "POST /user/do_login HTTP/1.1" 302 116

==> /srv/www/obs/api/log/production.log <==
I, [2017-05-24T13:45:03.710166 #10445]  INFO -- : [bca45b3f-485e-49fc-b6ba-f6564662605b] [10445:246.61] Started GET "/user/login" for 192.168.42.1 at 2017-05-24 13:45:03 +0200
I, [2017-05-24T13:45:03.711484 #10445]  INFO -- : [bca45b3f-485e-49fc-b6ba-f6564662605b] [10445:246.62] Processing by Webui::UserController#login as HTML
I, [2017-05-24T13:45:03.715888 #10445]  INFO -- : [bca45b3f-485e-49fc-b6ba-f6564662605b] [10445:246.62] Redirected to https://buildwebgui.kitchen/
I, [2017-05-24T13:45:03.716282 #10445]  INFO -- : [bca45b3f-485e-49fc-b6ba-f6564662605b] [10445:246.62] Filter chain halted as :check_anonymous rendered or redirected
I, [2017-05-24T13:45:03.716712 #10445]  INFO -- : [bca45b3f-485e-49fc-b6ba-f6564662605b] [10445:246.62] Completed 302 Found in 5ms (ActiveRecord: 0.0ms | Backend: 0.0ms | XML: 0.0ms)

==> /srv/www/obs/api/log/apache_access.log <==
192.168.42.1 - - [24/May/2017:13:45:03 +0200] "GET /user/login HTTP/1.1" 302 108

==> /srv/www/obs/api/log/production.log <==
I, [2017-05-24T13:45:03.748537 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.65] Started GET "/" for 192.168.42.1 at 2017-05-24 13:45:03 +0200
I, [2017-05-24T13:45:03.749337 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.65] Processing by Webui::MainController#index as HTML
I, [2017-05-24T13:45:03.763617 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.67]   Rendering webui/main/index.html.erb within layouts/webui/webui
I, [2017-05-24T13:45:03.767181 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.67]   Rendered webui/main/_systemstatus.html.erb (1.4ms)
I, [2017-05-24T13:45:03.768931 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.67]   Rendered webui/main/_sponsors.html.erb (0.0ms)
I, [2017-05-24T13:45:03.770107 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.67]   Rendered webui/main/_news.html.erb (0.8ms)
I, [2017-05-24T13:45:03.771146 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.67]   Rendered webui/main/index.html.erb within layouts/webui/webui (7.3ms)
I, [2017-05-24T13:45:03.772546 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.68]   Rendered layouts/webui/_watch_and_search.html.erb (0.3ms)
I, [2017-05-24T13:45:03.772759 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.68]   Rendered layouts/webui/_header.html.erb (0.7ms)
I, [2017-05-24T13:45:03.774322 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.68]   Rendered layouts/webui/_personal_navigation.html.erb (1.1ms)
I, [2017-05-24T13:45:03.775005 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.68]   Rendered layouts/webui/_flash.html.erb (0.3ms)
I, [2017-05-24T13:45:03.776247 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.68] Completed 200 OK in 27ms (Views: 12.8ms | ActiveRecord: 0.0ms | Backend: 0.0ms | XML: 0.0ms)

==> /srv/www/obs/api/log/apache_access.log <==
192.168.42.1 - - [24/May/2017:13:45:03 +0200] "GET / HTTP/1.1" 200 4563

==> /srv/www/obs/api/log/production.log <==
I, [2017-05-24T13:45:04.692680 #9845]  INFO -- : [9845:675.64] 2017-05-24T13:45:04+0200: [Worker(delayed_job.2 host:buildservice.kitchen pid:9845)] Job Event::NotifyBackends#send_not_in_queue (id=56) RUNNING
I, [2017-05-24T13:45:04.695622 #9838]  INFO -- : [9838:675.81] 2017-05-24T13:45:04+0200: [Worker(delayed_job.1 host:buildservice.kitchen pid:9838)] Job SendEventEmails#perform (id=57) RUNNING
I, [2017-05-24T13:45:04.701492 #9845]  INFO -- : [9845:675.65] 2017-05-24T13:45:04+0200: [Worker(delayed_job.2 host:buildservice.kitchen pid:9845)] Job Event::NotifyBackends#send_not_in_queue (id=56) COMPLETED after 0.0087
I, [2017-05-24T13:45:04.703182 #9845]  INFO -- : [9845:675.65] 2017-05-24T13:45:04+0200: [Worker(delayed_job.2 host:buildservice.kitchen pid:9845)] 1 jobs processed at 54.0583 j/s, 0 failed
I, [2017-05-24T13:45:04.705634 #9838]  INFO -- : [9838:675.82] 2017-05-24T13:45:04+0200: [Worker(delayed_job.1 host:buildservice.kitchen pid:9838)] Job SendEventEmails#perform (id=57) COMPLETED after 0.0099
I, [2017-05-24T13:45:04.707046 #9838]  INFO -- : [9838:675.82] 2017-05-24T13:45:04+0200: [Worker(delayed_job.1 host:buildservice.kitchen pid:9838)] 1 jobs processed at 47.0384 j/s, 0 failed


--

kind regards,
Carsten Hoeger
Professional Services



Email: [hidden email]


-----------------------------------------------------------------------------------------
Open-Xchange AG, Rollnerstr. 14, 90408 Nuremberg, District Court Nuremberg HRB 24738
Managing Board: Rafael Laguna de la Vera, Carsten Dirks, Uwe Reumuth
Chairman of the Board: Richard Seibt

European Office:
Open-Xchange GmbH, Olper Huette 5f, D-57462 Olpe, Germany, District Court Siegen, HRB 8718
Managing Directors: Frank Hoberg, Martin Kauss

US Office:
Open-Xchange. Inc., 530 Lytton Avenue, Palo Alto, CA 94301, USA
------------------------------------------------------------------------------------------


signature.asc (202 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: No ldap + first.lastname login possible with latest 2.8 version (2.8.1)

Christian Bruckmayer-2
Thanks for reporting and opening a issue. Let's move the follow up
conversation to the issue:

https://github.com/openSUSE/open-build-service/issues/3159


On 05/24/2017 02:00 PM, Carsten Höger wrote:

> Hi,
>
> with earlier versions that has been working, but now it seems broken.
>
> Did a fresh installation in order to reproduce another issue, but now I am
> unable to login.
>
> Setup against LDAP server, usernames with dots.
>
> vagrant@buildservice:~> osc api /configuration
> <configuration>
>
> [...]
>
>   <name>private</name>
>   <download_on_demand>on</download_on_demand>
>   <enforce_project_keys>off</enforce_project_keys>
>   <anonymous>off</anonymous>
>   <registration>allow</registration>
>   <default_access_disabled>off</default_access_disabled>
>   <allow_user_to_create_home_project>on</allow_user_to_create_home_project>
>   <disallow_group_creation>on</disallow_group_creation>
>   <change_password>on</change_password>
>   <obs_url>https//buildwebgui.kitchen</obs_url>
>   <hide_private_options>off</hide_private_options>
>   <gravatar>off</gravatar>
>   <cleanup_empty_projects>on</cleanup_empty_projects>
>   <disable_publish_for_branches>on</disable_publish_for_branches>
>   <admin_email>[hidden email]</admin_email>
>   <unlisted_projects_filter>^home:.+</unlisted_projects_filter>
>   <unlisted_projects_filter_description>home projects</unlisted_projects_filter_description>
>   <schedulers>
>     <arch>i586</arch>
>     <arch>x86_64</arch>
>   </schedulers>
> </configuration>
>
>
> vagrant@buildservice:~> rpm -qa | grep obs
> obs-service-tar_scm-0.7.0.1492101301.747de50-177.1.noarch
> obs-service-source_validator-0.6+git20170111.82ea590-13.3.1.noarch
> obs-service-download_files-0.5.1.git.1455712026.9c0a4a0-7.1.noarch
> obs-worker-2.8.1-2.1.noarch
> obs-productconverter-2.8.1-2.1.noarch
> obs-common-2.8.1-2.1.noarch
> obs-service-set_version-0.5.6-74.1.noarch
> obs-service-verify_file-0.1.1-21.1.noarch
> obs-service-obs_scm-common-0.7.0.1492101301.747de50-177.1.noarch
> obs-signd-2.3.0-2.1.x86_64
> obs-api-2.8.1-2.1.noarch
> obs-service-recompress-0.3.1+git20160217.7897d3f-30.2.noarch
> obs-server-2.8.1-2.1.noarch
> obs-service-format_spec_file-20170204-2.3.1.noarch
>
>
> Was there some recent change that might have caused this?
> Should I file a bug report?
>
> tail -f /srv/www/obs/api/log/*.log at the login time:
>
>
> ==> /srv/www/obs/api/log/production.log <==
> I, [2017-05-24T13:45:03.662140 #10445]  INFO -- : [f71d6f77-36d9-44e8-b03a-b429694f776a] [10445:246.57] Started POST "/user/do_login" for 192.168.42.1 at 2017-05-24 13:45:03 +0200
> I, [2017-05-24T13:45:03.663314 #10445]  INFO -- : [f71d6f77-36d9-44e8-b03a-b429694f776a] [10445:246.57] Processing by Webui::UserController#do_login as HTML
> I, [2017-05-24T13:45:03.663386 #10445]  INFO -- : [f71d6f77-36d9-44e8-b03a-b429694f776a] [10445:246.57]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"wV363sOXm4wdp/Tt0r0KmVqg16ihh61JcXGrmHsquH9lRV0CmdRGdf9LOR+gHiTM16EHJyAo+3OnJe9kpDOZaw==", "username"=>"carsten.hoeger", "password"=>"[FILTERED]", "commit"=>"Log In"}
> I, [2017-05-24T13:45:03.673793 #10445]  INFO -- : [f71d6f77-36d9-44e8-b03a-b429694f776a] [10445:246.58] Redirected to https://buildwebgui.kitchen/user/login
> I, [2017-05-24T13:45:03.674033 #10445]  INFO -- : [f71d6f77-36d9-44e8-b03a-b429694f776a] [10445:246.58] Completed 302 Found in 11ms (ActiveRecord: 0.0ms | Backend: 0.0ms | XML: 0.0ms)
>
> ==> /srv/www/obs/api/log/apache_access.log <==
> 192.168.42.1 - - [24/May/2017:13:45:03 +0200] "POST /user/do_login HTTP/1.1" 302 116
>
> ==> /srv/www/obs/api/log/production.log <==
> I, [2017-05-24T13:45:03.710166 #10445]  INFO -- : [bca45b3f-485e-49fc-b6ba-f6564662605b] [10445:246.61] Started GET "/user/login" for 192.168.42.1 at 2017-05-24 13:45:03 +0200
> I, [2017-05-24T13:45:03.711484 #10445]  INFO -- : [bca45b3f-485e-49fc-b6ba-f6564662605b] [10445:246.62] Processing by Webui::UserController#login as HTML
> I, [2017-05-24T13:45:03.715888 #10445]  INFO -- : [bca45b3f-485e-49fc-b6ba-f6564662605b] [10445:246.62] Redirected to https://buildwebgui.kitchen/
> I, [2017-05-24T13:45:03.716282 #10445]  INFO -- : [bca45b3f-485e-49fc-b6ba-f6564662605b] [10445:246.62] Filter chain halted as :check_anonymous rendered or redirected
> I, [2017-05-24T13:45:03.716712 #10445]  INFO -- : [bca45b3f-485e-49fc-b6ba-f6564662605b] [10445:246.62] Completed 302 Found in 5ms (ActiveRecord: 0.0ms | Backend: 0.0ms | XML: 0.0ms)
>
> ==> /srv/www/obs/api/log/apache_access.log <==
> 192.168.42.1 - - [24/May/2017:13:45:03 +0200] "GET /user/login HTTP/1.1" 302 108
>
> ==> /srv/www/obs/api/log/production.log <==
> I, [2017-05-24T13:45:03.748537 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.65] Started GET "/" for 192.168.42.1 at 2017-05-24 13:45:03 +0200
> I, [2017-05-24T13:45:03.749337 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.65] Processing by Webui::MainController#index as HTML
> I, [2017-05-24T13:45:03.763617 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.67]   Rendering webui/main/index.html.erb within layouts/webui/webui
> I, [2017-05-24T13:45:03.767181 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.67]   Rendered webui/main/_systemstatus.html.erb (1.4ms)
> I, [2017-05-24T13:45:03.768931 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.67]   Rendered webui/main/_sponsors.html.erb (0.0ms)
> I, [2017-05-24T13:45:03.770107 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.67]   Rendered webui/main/_news.html.erb (0.8ms)
> I, [2017-05-24T13:45:03.771146 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.67]   Rendered webui/main/index.html.erb within layouts/webui/webui (7.3ms)
> I, [2017-05-24T13:45:03.772546 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.68]   Rendered layouts/webui/_watch_and_search.html.erb (0.3ms)
> I, [2017-05-24T13:45:03.772759 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.68]   Rendered layouts/webui/_header.html.erb (0.7ms)
> I, [2017-05-24T13:45:03.774322 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.68]   Rendered layouts/webui/_personal_navigation.html.erb (1.1ms)
> I, [2017-05-24T13:45:03.775005 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.68]   Rendered layouts/webui/_flash.html.erb (0.3ms)
> I, [2017-05-24T13:45:03.776247 #10445]  INFO -- : [542f34e7-84cf-4dee-b451-b586397e41f9] [10445:246.68] Completed 200 OK in 27ms (Views: 12.8ms | ActiveRecord: 0.0ms | Backend: 0.0ms | XML: 0.0ms)
>
> ==> /srv/www/obs/api/log/apache_access.log <==
> 192.168.42.1 - - [24/May/2017:13:45:03 +0200] "GET / HTTP/1.1" 200 4563
>
> ==> /srv/www/obs/api/log/production.log <==
> I, [2017-05-24T13:45:04.692680 #9845]  INFO -- : [9845:675.64] 2017-05-24T13:45:04+0200: [Worker(delayed_job.2 host:buildservice.kitchen pid:9845)] Job Event::NotifyBackends#send_not_in_queue (id=56) RUNNING
> I, [2017-05-24T13:45:04.695622 #9838]  INFO -- : [9838:675.81] 2017-05-24T13:45:04+0200: [Worker(delayed_job.1 host:buildservice.kitchen pid:9838)] Job SendEventEmails#perform (id=57) RUNNING
> I, [2017-05-24T13:45:04.701492 #9845]  INFO -- : [9845:675.65] 2017-05-24T13:45:04+0200: [Worker(delayed_job.2 host:buildservice.kitchen pid:9845)] Job Event::NotifyBackends#send_not_in_queue (id=56) COMPLETED after 0.0087
> I, [2017-05-24T13:45:04.703182 #9845]  INFO -- : [9845:675.65] 2017-05-24T13:45:04+0200: [Worker(delayed_job.2 host:buildservice.kitchen pid:9845)] 1 jobs processed at 54.0583 j/s, 0 failed
> I, [2017-05-24T13:45:04.705634 #9838]  INFO -- : [9838:675.82] 2017-05-24T13:45:04+0200: [Worker(delayed_job.1 host:buildservice.kitchen pid:9838)] Job SendEventEmails#perform (id=57) COMPLETED after 0.0099
> I, [2017-05-24T13:45:04.707046 #9838]  INFO -- : [9838:675.82] 2017-05-24T13:45:04+0200: [Worker(delayed_job.1 host:buildservice.kitchen pid:9838)] 1 jobs processed at 47.0384 j/s, 0 failed
>
>
> --
>
> kind regards,
> Carsten Hoeger
> Professional Services
>
>
>
> Email: [hidden email]
>
>
> -----------------------------------------------------------------------------------------
> Open-Xchange AG, Rollnerstr. 14, 90408 Nuremberg, District Court Nuremberg HRB 24738
> Managing Board: Rafael Laguna de la Vera, Carsten Dirks, Uwe Reumuth
> Chairman of the Board: Richard Seibt
>
> European Office:
> Open-Xchange GmbH, Olper Huette 5f, D-57462 Olpe, Germany, District Court Siegen, HRB 8718
> Managing Directors: Frank Hoberg, Martin Kauss
>
> US Office:
> Open-Xchange. Inc., 530 Lytton Avenue, Palo Alto, CA 94301, USA
> ------------------------------------------------------------------------------------------
>


--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Loading...