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

Host Name Changing, FOG Client, and the FOG Web GUI

Scheduled Pinned Locked Moved
Feature Request
5
10
6.7k
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.
  • W
    Wayne Workman
    last edited by Mar 11, 2015, 7:39 PM

    On the new client,

    I’d like some sort of option to disable name changing if said host is ALREADY joined to a domain. The option to change the hostname in the GUI should be greyed out or something.

    Also, say for instance, a technician manually changes the host name (of a machine not on the domain) at the host itself, using windows GUI. Why can’t the client just detect the new name and update the FOG database? I think that’d be sweet.

    Then, you wound’t be tied to just ONE way to change names… the traditional name changing method really should work without complications.

    Maybe this is already a feature in the works or already implemented but, just covering bases.

    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!
    Daily Clean Installation Results:
    https://fogtesting.fogproject.us/
    FOG Reporting:
    https://fog-external-reporting-results.fogproject.us/

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Mar 11, 2015, 7:50 PM

      The hostname changer is supposed to rename, then rejoin if that is the case. Of course this would mean your AD account would need admin permissions to allow the change/update properly I believe.

      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
      • W
        Wayne Workman
        last edited by Mar 11, 2015, 8:19 PM

        [quote=“Tom Elliott, post: 43712, member: 7271”]The hostname changer is supposed to rename, then rejoin if that is the case. Of course this would mean your AD account would need admin permissions to allow the change/update properly I believe.[/quote]

        But what if a tech that isn’t familiar with FOG comes in and changes a host name at an actual host, using windows…

        and then it reboots, and changes back to the old name automatically… And their like wtf???

        The new FOG client should detect that and change the hostname in the FOG database to the new one.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • J
          Junkhacker Developer
          last edited by Mar 11, 2015, 8:29 PM

          [quote=“Wayne Workman, post: 43720, member: 28155”]But what if a tech that isn’t familiar with FOG comes in and changes a host name at an actual host, using windows…

          and then it reboots, and changes back to the old name automatically… And their like wtf???

          The new FOG client should detect that and change the hostname in the FOG database to the new one.[/quote]

          if you want the tech to have rights to do this, they can log into fog to do the change from the computer they’re sitting at. if the tech isn’t familiar with operational procedures, why is he changing computer names?
          that’s my opinion, anyway

          signature:
          Junkhacker
          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

          1 Reply Last reply Reply Quote 0
          • W
            Wayne Workman
            last edited by Mar 12, 2015, 4:00 AM

            [quote=“Junkhacker, post: 43722, member: 21583”]if you want the tech to have rights to do this, they can log into fog to do the change from the computer they’re sitting at. if the tech isn’t familiar with operational procedures, why is he changing computer names?
            that’s my opinion, anyway[/quote]

            They have the rights to do it, this person just hasn’t fully accepted FOG yet, and might even be intimidated by it.

            So, I brought this whole suggestion up because this actually happened today. I got it cleared up, was not a big issue.

            But, I was thinking, obviously the FOG client checks the host name, because otherwise how would it know to change it?

            If it checks the host name, and sees that a change has been recently changed at the host itself, yet no imaging has occurred, why couldn’t the FOG client change the host name in the FOG database instead of on the host itself?

            Could be a check box in the Web GUI… “If client detects manual host name change, update FOG database instead of client”

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • J
              Joe Schmitt Senior Developer
              last edited by Mar 12, 2015, 7:14 AM

              The idea of the hostname changer is to make the client reflect the server, preventing techs from tampering with host names when they shouldn’t be. What you suggest is plausible, but I would need to see a larger ‘backing’ of this feature before implementing it. Now that’s not to say you can’t. A beta of the new client is coming out soon and it would be more than possible for someone to implement this concept if they wanted it.

              There’s also a security concern. With the client in current circulation, anyone could ‘pretend’ to be the host and change the hostname to whatever they want with 0 privileges. The next problem is that how do you distinguish between a tech changing the hostname locally and changing it on the server? From the client’s perspective if someone changes it on the server, then with the suggested model in this thread, the change would be undone by the client, as it would think that a tech changed the hostname locally.

              I can sympathize with people having this issue, but in my personal opinion new techs simply need to learn the system their company uses, if thats FOG, then learn to change the hostname on the FOG web portal.

              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.

              1 Reply Last reply Reply Quote 0
              • B
                Bill Rice Testers
                last edited by Mar 18, 2015, 3:03 PM

                Any system in our enviroment is AD joined, and the only way anyone gets to change the name is using the Fog server to automate that process. specifically set to keep the name should someone attempt to change it out. our policies are based on Machine ID.
                That being said the PXE boot option to register the name for the domain could be modified I would think to allow a name change at boot up which would be directly connected to the fog server and which will force the system to automatically update (IE re-registering the system to fog under new name. _I would think this might be a simple script although Im not a programmer.) JBOB you might be able to better identify this option- since to image you need credentials to image you could also add the option to change name after authenticating in the similar fashion./

                My .02 🙂

                1 Reply Last reply Reply Quote 0
                • W
                  Wayne Workman
                  last edited by Mar 18, 2015, 3:35 PM

                  I haven’t tried this yet, but,

                  What happens if the name gets changed via the FOG web GUI if the client is already joined to the domain?

                  In my experience (prior to FOG), when you change a name on a computer without deleting the computer’s object in AD, the computer will re-use the old object which will still have the wrong name in AD, even though the client’s name is changed. This creates a huge mess in AD over time. So, I always un-join from the domain & then delete the computer object, then rename the computer, then re-join. This creates a new computer object in AD with the correct name.

                  I’ll rephrase the question… How does AD get updated with the new name when a name change is done while on the domain? I want the Object name itself (not just a property of that object) to show the computer’s name.

                  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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  1 Reply Last reply Reply Quote 0
                  • J
                    Joe Schmitt Senior Developer
                    last edited by Mar 18, 2015, 4:07 PM

                    Bill,
                    That option is pretty simple to build, but it would be something Tom would build if we add it, as I’m pretty busy with prepping the new client for a public beta.

                    Wayne, the way FOG handles renaming is that it first unjoins the domain, renames the computer, and then joins. It should prevent the AD issue you describe.

                    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.

                    1 Reply Last reply Reply Quote 0
                    • W
                      Wayne Workman
                      last edited by Mar 18, 2015, 8:04 PM

                      [quote=“Jbob, post: 44069, member: 21733”]Bill,
                      That option is pretty simple to build, but it would be something Tom would build if we add it, as I’m pretty busy with prepping the new client for a public beta.

                      Wayne, the way FOG handles renaming is that it first unjoins the domain, renames the computer, and then joins. It should prevent the AD issue you describe.[/quote]

                      Amazing.

                      FOG is definitely a winner.

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      1 / 1
                      • First post
                        3/10
                        Last post

                      219

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project