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

Hostname changer with AD svn 5463 client 9.7

Scheduled Pinned Locked Moved Solved
FOG Problems
3
13
4.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.
  • H
    Hanz @Joe Schmitt
    last edited by Nov 22, 2015, 6:07 PM

    @Jbob Interact with AD, the client successfully renames the host, but AD still lists it as the original hostname. It literally does not remove hostname from AD and create new host within AD. I’ve only tried this with the OU left blanked hoping the host would be removed and then re-added in the default “computers” OU

    1 Reply Last reply Reply Quote 0
    • J
      Joe Schmitt Senior Developer
      last edited by Joe Schmitt Nov 22, 2015, 12:08 PM Nov 22, 2015, 6:08 PM

      @Hanz

      The problem seems to be with:

       11/22/2015 10:42 AM HostnameChanger Unregistering computer
       11/22/2015 10:42 AM HostnameChanger Removing host from active directory
       11/22/2015 10:42 AM HostnameChanger ERROR: Required Domain information is missing
      

      I’ll look into it.

      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.

      H 1 Reply Last reply Nov 22, 2015, 6:14 PM Reply Quote 0
      • H
        Hanz @Joe Schmitt
        last edited by Nov 22, 2015, 6:14 PM

        @Jbob does every host need the correct individual OU assignment to be removed correctly, or does it perform a “search through AD” ?

        1 Reply Last reply Reply Quote 0
        • J
          Joe Schmitt Senior Developer
          last edited by Nov 22, 2015, 6:15 PM

          @Hanz OU does not matter. All the client needs is the username and password to leave.

          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
          • T
            Tom Elliott
            last edited by Nov 22, 2015, 6:20 PM

            @Hanz Do you have the host joining a specific OU as a part of the domain join?

            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

            H 1 Reply Last reply Nov 22, 2015, 10:06 PM Reply Quote 0
            • J
              Joe Schmitt Senior Developer
              last edited by Nov 22, 2015, 6:51 PM

              Problem solved. I teamviewered in and saw that the AD options were disabled. So the host never got the needed ad user/password. (This should be resolved in a patch @Tom-Elliott is working on).

              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.

              H 1 Reply Last reply Nov 22, 2015, 10:05 PM Reply Quote 1
              • H
                Hanz @Joe Schmitt
                last edited by Hanz Nov 22, 2015, 4:08 PM Nov 22, 2015, 10:05 PM

                @Jbob

                ------------------------------------------------------------------------------
                --------------------------------HostnameChanger-------------------------------
                ------------------------------------------------------------------------------
                 11/22/2015 5:04 PM Client-Info Version: 0.9.7
                 11/22/2015 5:04 PM HostnameChanger Running...
                 11/22/2015 5:04 PM Middleware::Communication URL: http://10.72.3.50/fog/service/servicemodule-active.php?moduleid=hostnamechanger&mac=08:00:27:FF:A3:9E||00:00:00:00:00:00:00:E0&newService=1
                 11/22/2015 5:04 PM Middleware::Communication Response: Success
                 11/22/2015 5:04 PM Middleware::Communication URL: http://10.72.3.50/fog/service/hostname.php?moduleid=hostnamechanger&mac=08:00:27:FF:A3:9E||00:00:00:00:00:00:00:E0&newService=1
                 11/22/2015 5:04 PM Middleware::Communication Response: Success
                 11/22/2015 5:04 PM HostnameChanger Checking Hostname
                 11/22/2015 5:04 PM HostnameChanger Renaming host to SYSPREP-TEST2
                 11/22/2015 5:04 PM HostnameChanger Unregistering computer
                 11/22/2015 5:04 PM HostnameChanger Removing host from active directory
                 11/22/2015 5:04 PM HostnameChanger The machine is not currently joined to a domain, code =  2692
                 11/22/2015 5:04 PM HostnameChanger Updating registry
                 11/22/2015 5:04 PM RegistryHandler ERROR: Could not set SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerNameComputerName
                 11/22/2015 5:04 PM RegistryHandler ERROR: Cannot create a stable subkey under a volatile parent key.
                
                 11/22/2015 5:04 PM Power Creating shutdown command in 60 seconds
                 11/22/2015 5:04 PM Bus {
                  "channel": "Power",
                  "data": "{\r\n  \"action\": \"request\",\r\n  \"period\": 60,\r\n  \"options\": 2,\r\n  \"command\": \"/r /c \\\"FOG needs to rename your computer\\\" /t 0\",\r\n  \"message\": \"This computer needs to perform maintenance.\"\r\n}"
                }
                

                booted to local login after reboot then this was in log… after disabling the “uninstall when out of scope of management”.

                1 Reply Last reply Reply Quote 0
                • H
                  Hanz @Tom Elliott
                  last edited by Nov 22, 2015, 10:06 PM

                  @Tom-Elliott no I left it as default which should be “computers” correct ?

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom Elliott
                    last edited by Nov 22, 2015, 10:45 PM

                    Please update to the latest and let me know if all is working okay?

                    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

                    H 1 Reply Last reply Nov 22, 2015, 10:50 PM Reply Quote 0
                    • H
                      Hanz @Tom Elliott
                      last edited by Hanz Nov 22, 2015, 6:21 PM Nov 22, 2015, 10:50 PM

                      @Tom-Elliott Didn’t have “join domain after image task” checked under host, and apparently didn’t allow enough reboots ( 2 by fogservice) for it to re-domain itself with new name. **Also had to make sure the gpo package (which I use to push client) was NOT set to “uninstall package when no longer managed”.

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      1 / 1
                      • First post
                        13/13
                        Last post

                      224

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.3k

                      Posts
                      Copyright © 2012-2024 FOG Project