On 17/06/16 17:39, Braven36 wrote:
> It did work one time for my Active Directory user after I added
> administrator role. I have added a group and linked it to an Active
> Directory group. So when a member of the group logs in for the first
> time they are added to Foreman's user tab, their properties are imported
> into Foreman (email,given Name, and Surname) and then the user gets a
> 500 internal error page or the error below.
> 
> *
> *
> *
> *
> *Error:*
> 
> Oops, we're sorry but something went wrong stack level too deep
> 
> 
> 
> What I see in the /var/logs/foreman/production
> 
> /2016-06-17T11:23:21 [app] [I] Processing by UsersController#login as HTML/
> /2016-06-17T11:23:21 [app] [I]   Parameters: {"utf8"=>"✓",
> "authenticity_token"=>"fiABRLssMi1dKw5/fICxWOeirxgh42CX/eM+wUfvF+4=",
> "login"=>{"login"=>"myUser", "password"=>"[FILTERED]"}, "commit"=>"Login"}/
> /2016-06-17T11:23:26 [app] [I] Expire fragment
> views/tabs_and_title_records-4 (0.1ms)/
> /2016-06-17T11:23:31 [app] [W] Action failed/
> / | SystemStackError: stack level too deep/
> / |
> /usr/share/foreman/vendor/ruby/2.0.0/gems/activesupport-4.1.14.2/lib/active_support/notifications/instrumenter.rb:23/

This looks like http://projects.theforeman.org/issues/13608 and is
caused by a loop in the user's AD groups.

I merged a fix this morning which should resolve it, and this will be
included in 1.12.0-RC2 and probably also 1.11.3 (Debian/Ubuntu only).
RC2 should be out in the next day or two, and .3 also this week I hope.

-- 
Dominic Cleal
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to