Ok, more details: [INFO |#25431] Processing MainController#index (for 68.67.167.114 at 2012-10-10 15:59:50) [GET] [DEBUG|#25431] Validate XML request: #ActionController::Request:0x7fd4c8e5b998 [DEBUG|#25431] no schema found, skipping validation for typerequestmethodgetcontrollermainactionindex [DEBUG|#25431] AUTH: ["Basic", "REDACTED"] [DEBUG|#25431] Using LDAP to find mdrobnak [DEBUG|#25431] Looking for mdrobnak using ldap [DEBUG|#25431] Cache read: ldap_cache_userpasswd:mdrobnak [DEBUG|#25431] Connecting to ldap.local.appnexus.net as '' [DEBUG|#25431] mdrobnak not found in LDAP. [DEBUG|#25431] User not found with LDAP, falling back to database [DEBUG|#25431] User Load (0.4ms) SELECT * FROM `users` WHERE (login = 'mdrobnak') LIMIT 1 [INFO |#25431] Rendering template within layouts/rbac [INFO |#25431] Rendering status [INFO |#25431] errorcode 'unknown' - Unknown user 'mdrobnak' or invalid password [INFO |#25431] Rendering status (401) [INFO |#25431] Filter chain halted as [:extract_user] rendered_or_redirected. [INFO |#25431] Completed in 21ms (View: 1, DB: 0) | 401 Unauthorized [https://obs01.nym1.appnexus.net/] So, why is it not attempting to connect as the user itself (ie mdrobnak) ? I temporarily set it to a auth user: [INFO |#27017] Processing MainController#index (for 68.67.167.114 at 2012-10-10 16:16:49) [GET] [DEBUG|#27017] Validate XML request: #ActionController::Request:0x7ff5df8a1c40 [DEBUG|#27017] no schema found, skipping validation for methodgettyperequestactionindexcontrollermain [DEBUG|#27017] AUTH: ["Basic", "REDACTED"] [DEBUG|#27017] Using LDAP to find mdrobnak [DEBUG|#27017] Looking for mdrobnak using ldap [DEBUG|#27017] Cache read: ldap_cache_userpasswd:mdrobnak [DEBUG|#27017] Cache read: ldap_cache_userpasswd:mdrobnak ({:raw=>true}) [DEBUG|#27017] Connecting to ldap.local.appnexus.net as 'uid=cmcvalidation,ou=Pseudousers,dc=appnexus,dc=com' [DEBUG|#27017] mdrobnak not found in LDAP. [DEBUG|#27017] User not found with LDAP, falling back to database [DEBUG|#27017] User Load (0.4ms) SELECT * FROM `users` WHERE (login = 'mdrobnak') LIMIT 1 [INFO |#27017] Rendering template within layouts/rbac [INFO |#27017] Rendering status [INFO |#27017] errorcode 'unknown' - Unknown user 'mdrobnak' or invalid password [INFO |#27017] Rendering status (401) [INFO |#27017] Filter chain halted as [:extract_user] rendered_or_redirected. [INFO |#27017] Completed in 21ms (View: 1, DB: 0) | 401 Unauthorized [https://obs01.nym1.appnexus.net/] But still same problem. Any ideas? Thanks. -Matt On 10/10/2012 11:52 AM, Matthew Drobnak wrote:
Also, I'm hanging my head in shame here - I have the production.rb file managed by puppet. So that was what was undoing my changes. Ignore that issue. Sorry! I'm certain though I got the error below with the correct values in place.
-Matt
On 10/10/2012 11:31 AM, Matthew Drobnak wrote:
Thanks for the welcome and some info. I don't have a lot of time at the second, but I at least wanted to share the error I had:
[INFO |# 2983] Parameters: {"return_to_path"=>"/", "authenticity_token"=>"R1+EmBXzEFwy4k+hqhocVENZALWrSTM5w5tFM3CeWV0=", "commit"=>"Login", "controller"=>"user", "password"=>"[FILTERED]", "action"=>"do_login", "username"=>"mdrobnak"} [INFO # 2983] Anonymous request to / [INFO # 2983] Login to / failed for mdrobnak: <?xml version="1.0" encoding="UTF-8"?> <status code="unknown"> <summary>Unknown user 'mdrobnak' or invalid password</summary> <details></details> </status>
The other items I'll definitely look into.
Thanks! -Matt
On 10/10/2012 09:18 AM, Henne Vogelsang wrote:
Hey Matt,
welcome to the OBS project :)
On 10.10.2012 13:40, Matthew Drobnak wrote:
I have a project at my job to start implementing OBS as a replacement for our few disparate build systems and servers.
While in general I'm very pleased with the system,
Glad to hear that, hope OBS will make you more productive focusing on the right stuff (instead of build systems).
there are a few things which I need some help with.
Sure, let's roll :)
I am running a 4 server setup for OBS - one main box, 3 workers. I am using the appliance images.
* LDAP Auth Where is the correct place to configure this? I saw some things about it, and attempted to edit a production.rb file for the API, but it seems every so often this was regenerated by something. Try as I might, I could not get it to work, and could not find a way to turn up logging.
Well config/environments/production.rb is the right file to set it up. Maybe you should try again and tell us what exactly isn't working. It also helps a great deal to show us some error messages :)
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org