Fog Active Directory autofill issues
-
@neodawg said in Fog Active Directory autofill issues:
I have no need to set any host individually, they all need to join the same domain. Other than checking or unchecking ‘join domain’ box.
Would you like me to gather a video or some screen shots?
A video would help illustrate exactly what’s happening. Also - I don’t individually mess with client settings either, except when building an image. I temporarily disable the AD stuff for the golden machine. But, when setting AD settings through groups, those settings get applied to the hosts in the group, not the group itself. The best way I’ve described it to people is - when you set settings on a group, those settings fall through the group and land on the hosts. Nothing in the group itself is preserved or persistent currently.
-
Right,
Thats what I remember and have experienced with groups. But in this case those AD settings are not being applied to the hosts.
I will work on a video for you.
-
@neodawg No need, we understand what is happening now. Apache error logs immediately after you try to set the setting through groups?
What OS is FOG running on?
-
Fresh install of CentOS 7 x64
Also on that note, the installer doesnt seem to install PHP 5.6 from webtastic repo instead just uses PHP from base/epel. Thus I just modified the packages it was looking for be php56w* instead of php*
Anything you need from me?
-
@neodawg Yes, immediately after you set AD settings via a group on hosts, please provide your apache error logs. This is available here:
Web Interface -> FOG Configuration -> Log Viewer -> Apache Error Logs
Please be sure that the logs you copy are from the correct time.
-
I dont see any errors related to trying to update the group infomation, this is what I have:
[Mon May 09 15:21:35.303216 2016] [:error] [pid 13319] [client 10.0.10.188:51225] PHP Warning: array_map(): An error occurred while invoking the map callback in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 197 [Mon May 09 15:16:32.934303 2016] [:error] [pid 13452] [client 10.0.10.188:51217] PHP Warning: array_map(): An error occurred while invoking the map callback in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 197```
-
@neodawg How are you sure your group has all hosts?
-
Yep, checked that several times and checked several hosts. Here is a video clip of what I am doing:
-
@neodawg can you try to replicate using a group with two hosts? A video isn’t necnecessary for this test.
I’m just wondering if the issue is due to the number of hosts somehow, and this simple test would tell us.
-
@neodawg can you try updating? I cannot replicate.
-
Thanks, seems to be working great now, the update fixed the issue with setting the All group AD settings. Now running 7591.
On a side note I was able to fix the install issues by getting rid of the webtastic repo and using remi and replacing PHP from webtastic to remi.
-
Sorry to bring this up again, but having the same issue. Different fog server however. using build 8179.
I created a small group of hosts ~25 and went to the group page, checked the box and it didn’t autofill the form, thought OK, remembering this thread that didn’t necessarily matter. Then went to a host and saw the box was checked to join and the old information that was in there was now gone. I then tried to update the individual host by clearing the fields and hitting the join box, still didn’t autofill, checked the defaults in Settings and that was still there and correct. I believe this was working on SVN5675.
Browser is Chrome 51. (Now that I think about it I think my chrome updated last week sometime)(perhaps chrome issue?)
Tried MS Edge, Works as expected.Can someone verify my results?