• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Active Directory settings for Groups do not work as expected

Scheduled Pinned Locked Moved Solved
Bug Reports
2
5
1.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    bmercer
    last edited by May 23, 2017, 4:10 PM

    Server
    • FOG Version: 1.4.0 SVN Revision 6069
    • OS: CentOS 7
    Client
    • Service Version: 0.11.12
    • OS: Windows 7
    Description

    When I use a group to apply AD settings to machines, some of the AD settings are remembered, but the OU is not.

    If I’m wrong and this is not expected behavior feel free to tell me what I’m doing wrong, but from what I’ve read in the forums this seems to be by design.

    Since the other fields are all filled in, but the OU is not, and since a blank value for the OU causes it to use the default, this makes it very easy to accidentally revert the existing OU assigned to machines back to the default value.

    Having a blank value be the default, and also having that blank value cause a destructive change is a bad combination.

    If the OU cannot be stored for the group for some reason, then there should be an option when applying group settings to keep the previously assigned value rather than replacing it with the default.

    The OU is a particularly bad field to have this behavior, as it’s the most likely to be long and complex and hard to remember.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by May 23, 2017, 6:36 PM

      I’ve moved this from bugs to feature request as you are correct that this is the intended option. It will display the OU if ALL hosts in the group have the same OU. The principal premise of Groups in FOG is to update en-mass so all hosts in the group match a given element. If you are dealing with groups that don’t have the same element, it would be recommended to use that particular group to update that “non-matching” element.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • B
        bmercer
        last edited by May 23, 2017, 6:53 PM

        " It will display the OU if ALL hosts in the group have the same OU."

        That’s not the behavior I am seeing. The OU is never displayed, even if all the members have the same value. If I create a group, add two machines to it, then assign an OU to the group, I can then check the individual machines, and they do have the OU populated, but the group still shows a blank value.
        Since the value is blank, if I then update the group and forget to re-type the OU data, the group members then get reverted back to the default.

        The combination of reverting to blank and having the blank value destroy existing data is why I considered it a bug, since it’s surprising and unexpected behavior that causes loss of data.

        T 1 Reply Last reply May 23, 2017, 7:14 PM Reply Quote 0
        • T
          Tom Elliott @bmercer
          last edited by May 23, 2017, 7:14 PM

          @bmercer There is a partial bug here, in that the “all hosts with same should show” was not happening as intended. I have corrected this action of course and it is currently in the working branch. Thanks for reporting.

          As for the “blank data destroying prior data” this is again intended. While I understand the worry, the idea of groups does remain the same. If you blank out a field and update, wouldn’t you expect the items to be blanked out? So I have moved it back to bugs for the reason you’ve indicated. The bug being in the display not working as intended. I didn’t notice a problem because I was using the “selector” OU feature (where the OU’s are presented as a select dropdown list with a default selected for me.)

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          B 1 Reply Last reply May 23, 2017, 9:58 PM Reply Quote 0
          • B
            bmercer @Tom Elliott
            last edited by May 23, 2017, 9:58 PM

            @Tom-Elliott
            Understood, it’s not what I’d prefer but I see the reasoning.
            I’ll submit a feature request.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              4/5
              Last post

            164

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project