Hostnamechanger



  • I am moving Fog 1.2 to new hardware, new OS (Ubuntu 16.04) and new Fog (1.3). Since the AD admin password is encrypted differently on the new server, do I need to recreate a new hostnamechanger.dll file? If so, how do I do that?



  • @Tim-Reynolds Current iteration of the log file:

    ==========================
    -----------------------------------------------------------------------------
    ---------------------------------ClientUpdater--------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:42 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:42 PM Client-Info Client OS:      Windows
     1/2/2017 4:42 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:42 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------TaskReboot----------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:42 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:42 PM Client-Info Client OS:      Windows
     1/2/2017 4:42 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:42 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------HostnameChanger-------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:42 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:42 PM Client-Info Client OS:      Windows
     1/2/2017 4:42 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:42 PM Middleware::Response Success
     1/2/2017 4:42 PM HostnameChanger Checking Hostname
     1/2/2017 4:42 PM HostnameChanger Hostname is correct
     1/2/2017 4:42 PM HostnameChanger Attempting to join domain
     1/2/2017 4:42 PM HostnameChanger The machine is already joined to the domain, code =  2691
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ---------------------------------SnapinClient---------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:42 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:42 PM Client-Info Client OS:      Windows
     1/2/2017 4:42 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:42 PM Middleware::Response No snapins
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------PrinterManager--------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:42 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:42 PM Client-Info Client OS:      Windows
     1/2/2017 4:42 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:42 PM Middleware::Response No Printers
     1/2/2017 4:42 PM PrinterManager Getting installed printers
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------PowerManagement-------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:42 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:42 PM Client-Info Client OS:      Windows
     1/2/2017 4:42 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:42 PM Middleware::Response Success
     1/2/2017 4:42 PM PowerManagement Calculating tasks to unschedule
     1/2/2017 4:42 PM PowerManagement Calculating tasks to schedule
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------UserTracker---------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:42 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:42 PM Client-Info Client OS:      Windows
     1/2/2017 4:42 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:42 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
     1/2/2017 4:42 PM Service Sleeping for 86 seconds
     1/2/2017 4:44 PM Middleware::Communication URL: http://192.168.208.125/fog/management/index.php?sub=requestClientInfo&configure&newService&json
     1/2/2017 4:44 PM Middleware::Response Success
     1/2/2017 4:44 PM Middleware::Communication URL: http://192.168.208.125/fog/management/index.php?sub=requestClientInfo&mac=BC:30:5B:C7:49:A8||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
     1/2/2017 4:44 PM Middleware::Response Success
     1/2/2017 4:44 PM Middleware::Communication URL: http://192.168.208.125/fog/service/getversion.php?clientver&newService&json
     1/2/2017 4:44 PM Middleware::Communication URL: http://192.168.208.125/fog/service/getversion.php?newService&json
    
     1/2/2017 4:44 PM Service Creating user agent cache
     1/2/2017 4:44 PM Middleware::Response Invalid time
     1/2/2017 4:44 PM Middleware::Response No Printers
     1/2/2017 4:44 PM Middleware::Response Module is disabled globally on the FOG server
    
    ------------------------------------------------------------------------------
    ---------------------------------ClientUpdater--------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:44 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:44 PM Client-Info Client OS:      Windows
     1/2/2017 4:44 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:44 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------TaskReboot----------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:44 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:44 PM Client-Info Client OS:      Windows
     1/2/2017 4:44 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:44 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------HostnameChanger-------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:44 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:44 PM Client-Info Client OS:      Windows
     1/2/2017 4:44 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:44 PM Middleware::Response Success
     1/2/2017 4:44 PM HostnameChanger Checking Hostname
     1/2/2017 4:44 PM HostnameChanger Removing host from domain
     1/2/2017 4:44 PM HostnameChanger Access Denied, code =  5
     1/2/2017 4:44 PM HostnameChanger Renaming host to ThirtySeven4-b
     1/2/2017 4:44 PM Power Creating shutdown command in 60 seconds
     1/2/2017 4:44 PM Bus {
      "self": true,
      "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  \"aggregatedDelayTime\": 0,\r\n  \"message\": \"FOG needs to perform maintenance on this computer.\"\r\n}"
    }
     1/2/2017 4:44 PM Bus Emmiting message on channel: Power
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ---------------------------------SnapinClient---------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:44 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:44 PM Client-Info Client OS:      Windows
     1/2/2017 4:44 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:44 PM Middleware::Response No snapins
     1/2/2017 4:44 PM SnapinClient A power operation is pending, aborting module
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------PrinterManager--------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:44 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:44 PM Client-Info Client OS:      Windows
     1/2/2017 4:44 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:44 PM Middleware::Response No Printers
     1/2/2017 4:44 PM PrinterManager Getting installed printers
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------PowerManagement-------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:44 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:44 PM Client-Info Client OS:      Windows
     1/2/2017 4:44 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:44 PM Middleware::Response Success
     1/2/2017 4:44 PM PowerManagement Calculating tasks to unschedule
     1/2/2017 4:44 PM PowerManagement Calculating tasks to schedule
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------UserTracker---------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:44 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:44 PM Client-Info Client OS:      Windows
     1/2/2017 4:44 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:44 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
     1/2/2017 4:44 PM Service Sleeping for 135 seconds
     1/2/2017 4:45 PM Power Creating shutdown request
     1/2/2017 4:45 PM Power Parameters: /r /c "FOG needs to rename your computer" /t 0
     1/2/2017 4:45 PM Bus {
      "self": true,
      "channel": "Power",
      "data": "{\r\n  \"action\": \"shuttingdown\"\r\n}"
    }
     1/2/2017 4:45 PM Bus Emmiting message on channel: Power
     1/2/2017 4:46 PM Main Overriding exception handling
     1/2/2017 4:46 PM Main Bootstrapping Zazzles
     1/2/2017 4:46 PM Controller Initialize
     1/2/2017 4:46 PM Zazzles Creating main thread
     1/2/2017 4:46 PM Zazzles Service construction complete
     1/2/2017 4:46 PM Controller Start
    
     1/2/2017 4:46 PM Service Starting service
     1/2/2017 4:46 PM Bus Became bus server
     1/2/2017 4:46 PM Bus {
      "self": true,
      "channel": "Status",
      "data": "{\r\n  \"action\": \"load\"\r\n}"
    }
     1/2/2017 4:46 PM Bus Emmiting message on channel: Status
     1/2/2017 4:46 PM Service Invoking early JIT compilation on needed binaries
    
    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:46 PM Client-Info Version: 0.11.7
     1/2/2017 4:46 PM Client-Info OS:      Windows
     1/2/2017 4:46 PM Middleware::Authentication Waiting for authentication timeout to pass
     1/2/2017 4:46 PM Middleware::Communication Download: http://192.168.208.125/fog/management/other/ssl/srvpublic.crt
     1/2/2017 4:46 PM Data::RSA FOG Server CA cert found
     1/2/2017 4:46 PM Middleware::Authentication Cert OK
     1/2/2017 4:46 PM Middleware::Communication POST URL: http://192.168.208.125/fog/management/index.php?sub=requestClientInfo&authorize&newService
     1/2/2017 4:46 PM Middleware::Response Success
     1/2/2017 4:46 PM Middleware::Authentication Authenticated
    
    
     1/2/2017 4:46 PM Bus Registering ParseBus in channel Power
     1/2/2017 4:46 PM Middleware::Communication URL: http://192.168.208.125/fog/management/index.php?sub=requestClientInfo&configure&newService&json
     1/2/2017 4:46 PM Middleware::Response Success
     1/2/2017 4:46 PM Middleware::Communication URL: http://192.168.208.125/fog/management/index.php?sub=requestClientInfo&mac=BC:30:5B:C7:49:A8||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
     1/2/2017 4:46 PM Middleware::Response Success
     1/2/2017 4:46 PM Middleware::Communication URL: http://192.168.208.125/fog/service/getversion.php?clientver&newService&json
     1/2/2017 4:46 PM Middleware::Communication URL: http://192.168.208.125/fog/service/getversion.php?newService&json
    
     1/2/2017 4:46 PM Service Creating user agent cache
     1/2/2017 4:46 PM Middleware::Response Invalid time
     1/2/2017 4:46 PM Middleware::Response No Printers
     1/2/2017 4:46 PM Middleware::Response Module is disabled globally on the FOG server
     1/2/2017 4:46 PM Service Initializing modules
    
    ------------------------------------------------------------------------------
    ---------------------------------ClientUpdater--------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:46 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:46 PM Client-Info Client OS:      Windows
     1/2/2017 4:46 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:46 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------TaskReboot----------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:46 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:46 PM Client-Info Client OS:      Windows
     1/2/2017 4:46 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:46 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------HostnameChanger-------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:46 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:46 PM Client-Info Client OS:      Windows
     1/2/2017 4:46 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:46 PM Middleware::Response Success
     1/2/2017 4:46 PM HostnameChanger Checking Hostname
     1/2/2017 4:46 PM HostnameChanger Hostname is correct
     1/2/2017 4:46 PM HostnameChanger Attempting to join domain
     1/2/2017 4:46 PM HostnameChanger The machine is already joined to the domain, code =  2691
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ---------------------------------SnapinClient---------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:46 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:46 PM Client-Info Client OS:      Windows
     1/2/2017 4:46 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:46 PM Middleware::Response No snapins
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------PrinterManager--------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:46 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:46 PM Client-Info Client OS:      Windows
     1/2/2017 4:46 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:46 PM Middleware::Response No Printers
     1/2/2017 4:46 PM PrinterManager Getting installed printers
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------PowerManagement-------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:46 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:46 PM Client-Info Client OS:      Windows
     1/2/2017 4:46 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:46 PM Middleware::Response Success
     1/2/2017 4:46 PM PowerManagement Calculating tasks to unschedule
     1/2/2017 4:46 PM PowerManagement Calculating tasks to schedule
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------UserTracker---------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:46 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:46 PM Client-Info Client OS:      Windows
     1/2/2017 4:46 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:46 PM Middleware::Response Success
     1/2/2017 4:46 PM Middleware::Communication URL: http://192.168.208.125/fog/service/usertracking.report.php?action=login&user=ThirtySeven4-b\a1min&mac=BC:30:5B:C7:49:A8||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
    ------------------------------------------------------------------------------
    
     1/2/2017 4:46 PM Service Sleeping for 100 seconds
    


  • @Tim-Reynolds Current fog.log file:

     1/2/2017 4:38 PM Main Overriding exception handling
     1/2/2017 4:38 PM Main Bootstrapping Zazzles
     1/2/2017 4:38 PM Controller Initialize
     1/2/2017 4:38 PM Zazzles Creating main thread
     1/2/2017 4:38 PM Zazzles Service construction complete
     1/2/2017 4:38 PM Controller Start
    
     1/2/2017 4:38 PM Service Starting service
     1/2/2017 4:38 PM Bus Became bus server
     1/2/2017 4:38 PM Bus {
      "self": true,
      "channel": "Status",
      "data": "{\r\n  \"action\": \"load\"\r\n}"
    }
     1/2/2017 4:38 PM Bus Emmiting message on channel: Status
     1/2/2017 4:38 PM Service Invoking early JIT compilation on needed binaries
    
    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:38 PM Client-Info Version: 0.11.7
     1/2/2017 4:38 PM Client-Info OS:      Windows
     1/2/2017 4:38 PM Middleware::Authentication Waiting for authentication timeout to pass
     1/2/2017 4:38 PM Middleware::Communication Download: http://192.168.208.125/fog/management/other/ssl/srvpublic.crt
     1/2/2017 4:38 PM Data::RSA FOG Server CA cert found
     1/2/2017 4:38 PM Middleware::Authentication Cert OK
     1/2/2017 4:38 PM Middleware::Communication POST URL: http://192.168.208.125/fog/management/index.php?sub=requestClientInfo&authorize&newService
     1/2/2017 4:38 PM Middleware::Response Success
     1/2/2017 4:38 PM Middleware::Authentication Authenticated
    
    
     1/2/2017 4:38 PM Bus Registering ParseBus in channel Power
     1/2/2017 4:38 PM Middleware::Communication URL: http://192.168.208.125/fog/management/index.php?sub=requestClientInfo&configure&newService&json
     1/2/2017 4:38 PM Middleware::Response Success
     1/2/2017 4:38 PM Middleware::Communication URL: http://192.168.208.125/fog/management/index.php?sub=requestClientInfo&mac=BC:30:5B:C7:49:A8||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
     1/2/2017 4:38 PM Middleware::Response Success
     1/2/2017 4:38 PM Middleware::Communication URL: http://192.168.208.125/fog/service/getversion.php?clientver&newService&json
     1/2/2017 4:38 PM Middleware::Communication URL: http://192.168.208.125/fog/service/getversion.php?newService&json
    
     1/2/2017 4:38 PM Service Creating user agent cache
     1/2/2017 4:38 PM Middleware::Response Invalid time
     1/2/2017 4:38 PM Middleware::Response No Printers
     1/2/2017 4:38 PM Middleware::Response Module is disabled globally on the FOG server
     1/2/2017 4:38 PM Service Initializing modules
    
    ------------------------------------------------------------------------------
    ---------------------------------ClientUpdater--------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:38 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:38 PM Client-Info Client OS:      Windows
     1/2/2017 4:38 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:38 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------TaskReboot----------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:38 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:38 PM Client-Info Client OS:      Windows
     1/2/2017 4:38 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:38 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------HostnameChanger-------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:38 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:38 PM Client-Info Client OS:      Windows
     1/2/2017 4:38 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:38 PM Middleware::Response Success
     1/2/2017 4:38 PM HostnameChanger Checking Hostname
     1/2/2017 4:38 PM HostnameChanger Hostname is correct
     1/2/2017 4:38 PM HostnameChanger Attempting to join domain
     1/2/2017 4:38 PM HostnameChanger The machine is already joined to the domain, code =  2691
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ---------------------------------SnapinClient---------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:38 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:38 PM Client-Info Client OS:      Windows
     1/2/2017 4:38 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:38 PM Middleware::Response No snapins
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------PrinterManager--------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:38 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:38 PM Client-Info Client OS:      Windows
     1/2/2017 4:38 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:38 PM Middleware::Response No Printers
     1/2/2017 4:38 PM PrinterManager Getting installed printers
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------PowerManagement-------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:38 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:38 PM Client-Info Client OS:      Windows
     1/2/2017 4:38 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:38 PM Middleware::Response Success
     1/2/2017 4:38 PM PowerManagement Calculating tasks to unschedule
     1/2/2017 4:38 PM PowerManagement Calculating tasks to schedule
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------UserTracker---------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:38 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:38 PM Client-Info Client OS:      Windows
     1/2/2017 4:38 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:38 PM Middleware::Response Success
     1/2/2017 4:38 PM Middleware::Communication URL: http://192.168.208.125/fog/service/usertracking.report.php?action=login&user=ThirtySeven4-a\a1min&mac=BC:30:5B:C7:49:A8||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
    ------------------------------------------------------------------------------
    
     1/2/2017 4:38 PM Service Sleeping for 99 seconds
     1/2/2017 4:39 PM Middleware::Communication URL: http://192.168.208.125/fog/management/index.php?sub=requestClientInfo&configure&newService&json
     1/2/2017 4:39 PM Middleware::Response Success
     1/2/2017 4:39 PM Middleware::Communication URL: http://192.168.208.125/fog/management/index.php?sub=requestClientInfo&mac=BC:30:5B:C7:49:A8||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
     1/2/2017 4:39 PM Middleware::Response Success
     1/2/2017 4:39 PM Middleware::Communication URL: http://192.168.208.125/fog/service/getversion.php?clientver&newService&json
     1/2/2017 4:39 PM Middleware::Communication URL: http://192.168.208.125/fog/service/getversion.php?newService&json
    
     1/2/2017 4:39 PM Service Creating user agent cache
     1/2/2017 4:39 PM Middleware::Response Invalid time
     1/2/2017 4:39 PM Middleware::Response No Printers
     1/2/2017 4:39 PM Middleware::Response Module is disabled globally on the FOG server
    
    ------------------------------------------------------------------------------
    ---------------------------------ClientUpdater--------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:39 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:39 PM Client-Info Client OS:      Windows
     1/2/2017 4:39 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:39 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------TaskReboot----------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:39 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:39 PM Client-Info Client OS:      Windows
     1/2/2017 4:39 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:39 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------HostnameChanger-------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:39 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:39 PM Client-Info Client OS:      Windows
     1/2/2017 4:39 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:39 PM Middleware::Response Success
     1/2/2017 4:39 PM HostnameChanger Checking Hostname
     1/2/2017 4:39 PM HostnameChanger Hostname is correct
     1/2/2017 4:39 PM HostnameChanger Attempting to join domain
     1/2/2017 4:39 PM HostnameChanger The machine is already joined to the domain, code =  2691
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ---------------------------------SnapinClient---------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:39 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:39 PM Client-Info Client OS:      Windows
     1/2/2017 4:39 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:39 PM Middleware::Response No snapins
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------PrinterManager--------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:39 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:39 PM Client-Info Client OS:      Windows
     1/2/2017 4:39 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:39 PM Middleware::Response No Printers
     1/2/2017 4:39 PM PrinterManager Getting installed printers
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------PowerManagement-------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:39 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:39 PM Client-Info Client OS:      Windows
     1/2/2017 4:39 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:39 PM Middleware::Response Success
     1/2/2017 4:39 PM PowerManagement Calculating tasks to unschedule
     1/2/2017 4:39 PM PowerManagement Calculating tasks to schedule
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------UserTracker---------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:39 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:39 PM Client-Info Client OS:      Windows
     1/2/2017 4:39 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:39 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
     1/2/2017 4:39 PM Service Sleeping for 97 seconds
     1/2/2017 4:41 PM Middleware::Communication URL: http://192.168.208.125/fog/management/index.php?sub=requestClientInfo&configure&newService&json
     1/2/2017 4:41 PM Middleware::Response Success
     1/2/2017 4:41 PM Middleware::Communication URL: http://192.168.208.125/fog/management/index.php?sub=requestClientInfo&mac=BC:30:5B:C7:49:A8||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
     1/2/2017 4:41 PM Middleware::Response Success
     1/2/2017 4:41 PM Middleware::Communication URL: http://192.168.208.125/fog/service/getversion.php?clientver&newService&json
     1/2/2017 4:41 PM Middleware::Communication URL: http://192.168.208.125/fog/service/getversion.php?newService&json
    
     1/2/2017 4:41 PM Service Creating user agent cache
     1/2/2017 4:41 PM Middleware::Response Invalid time
     1/2/2017 4:41 PM Middleware::Response No Printers
     1/2/2017 4:41 PM Middleware::Response Module is disabled globally on the FOG server
    
    ------------------------------------------------------------------------------
    ---------------------------------ClientUpdater--------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:41 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:41 PM Client-Info Client OS:      Windows
     1/2/2017 4:41 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:41 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------TaskReboot----------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:41 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:41 PM Client-Info Client OS:      Windows
     1/2/2017 4:41 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:41 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------HostnameChanger-------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:41 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:41 PM Client-Info Client OS:      Windows
     1/2/2017 4:41 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:41 PM Middleware::Response Success
     1/2/2017 4:41 PM HostnameChanger Checking Hostname
     1/2/2017 4:41 PM HostnameChanger Hostname is correct
     1/2/2017 4:41 PM HostnameChanger Attempting to join domain
     1/2/2017 4:41 PM HostnameChanger The machine is already joined to the domain, code =  2691
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ---------------------------------SnapinClient---------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:41 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:41 PM Client-Info Client OS:      Windows
     1/2/2017 4:41 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:41 PM Middleware::Response No snapins
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------PrinterManager--------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:41 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:41 PM Client-Info Client OS:      Windows
     1/2/2017 4:41 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:41 PM Middleware::Response No Printers
     1/2/2017 4:41 PM PrinterManager Getting installed printers
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------PowerManagement-------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:41 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:41 PM Client-Info Client OS:      Windows
     1/2/2017 4:41 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:41 PM Middleware::Response Success
     1/2/2017 4:41 PM PowerManagement Calculating tasks to unschedule
     1/2/2017 4:41 PM PowerManagement Calculating tasks to schedule
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------UserTracker---------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 4:41 PM Client-Info Client Version: 0.11.7
     1/2/2017 4:41 PM Client-Info Client OS:      Windows
     1/2/2017 4:41 PM Client-Info Server Version: 1.3.0
     1/2/2017 4:41 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
     1/2/2017 4:41 PM Service Sleeping for 90 seconds
    


  • @Tom-Elliott Contents of log file when getting the AD rename error:

    ------------------------------------------------------------------------------
    --------------------------------HostnameChanger-------------------------------
    ------------------------------------------------------------------------------
     1/2/2017 2:47 PM Client-Info Client Version: 0.11.7
     1/2/2017 2:47 PM Client-Info Client OS:      Windows
     1/2/2017 2:47 PM Client-Info Server Version: 1.3.0
     1/2/2017 2:47 PM Middleware::Response Success
     1/2/2017 2:47 PM HostnameChanger Checking Hostname
     1/2/2017 2:47 PM HostnameChanger Removing host from domain
     1/2/2017 2:47 PM HostnameChanger Access Denied, code =  5
     1/2/2017 2:47 PM HostnameChanger Renaming host to ThirtySeven4-t
     1/2/2017 2:47 PM Power Creating shutdown command in 60 seconds
     1/2/2017 2:47 PM Bus {
      "self": true,
      "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  \"aggregatedDelayTime\": 0,\r\n  \"message\": \"FOG needs to perform maintenance on this computer.\"\r\n}"
    }
     1/2/2017 2:47 PM Bus Emmiting message on channel: Power
    ------------------------------------------------------------------------------
    

  • Senior Developer

    @Tim-Reynolds For the new client, yes.



  • @Tom-Elliott I assumed it stayed in the c:\program files\fog folder, but the uninstall must have removed it. I have no hostnamechanger.dll file now. Is that the way it should be?


  • Senior Developer

    @Tim-Reynolds The beauty of the ad password and ad password legacy fields is they automatically present the client with the correct version it needs.

    The hostnamechange.dll file? You put the legacy hostnamechange.dll file in the new client folder?



  • @Tom-Elliott I verified the password I put into the AD default password field, but still get access denied. Do I need to remove the hostnamechange.dll file from the client?



  • @Tom-Elliott I’ll re-enter it and try again. I was thinking that I should put something in the legacy field because it will take time to get all the clients updated.


  • Senior Developer

    @Tim-Reynolds The ini doesn’t hold the passkey. But there IS no passkey needed for 0.11.7.

    The AD Password field you just enter the password in plain text. The GUI will encrypt the password for you and store it in its encrypted form.



  • @Tom-Elliott I got the Fogcrypt issue figured. I did not get the ETC folder copied before running fogcrypt. I now have an encrypted password in legacy, but I don’t think it is correct because I don’t know how to get the passkey in the ini file.



  • @Tom-Elliott The version shows as 0.11.7. I do have a value in the legacy, but it is not encrypted because I get an error when running fogcrypt.


  • Moderator

    @Tim-Reynolds For the name to get updated in AD, you must be using the new fog client. The old one never updated AD.


  • Senior Developer

    @Tim-Reynolds Are you using the new client, or the old client? I’m still going to side that you’re currently using the old client and the AD Legacy Password is either incorrect with the encryption or there is no value stored right now.



  • @Tim-Reynolds The log file shows Access Denied, Code=5



  • I updated the client and did a test computer name change. It changed the computer name but did not change it in AD. Any ideas?


  • Moderator



  • Thanks for the quick response!


  • Senior Developer

    THere’s two fields in the host’s ad information for password.

    One is called “AD Legacy Password” the other is just called “AD Password”

    The AD Password is in use for the new FOG client, the AD Legacy Password is the password used for the older clients.

    Essentially, you don’t need to rebuild a hostnamechanger.dll file. I’d highly recommend updating your hosts to use the new FOG Client though.

    If you must use the old client, then you put the old style password in the AD Legacy Field. You should not have to re-compile the hostnamechanger.dll file.


Log in to reply
 

351
Online

39.3k
Users

11.0k
Topics

104.4k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.