Importing hosts with CSV to join AD



  • Hello,

    I’d like to make 700 PC joining my new domain with fog. I installed fog client on all machines with WAPT deployment software and I imported a csv in Fog to register my machines (“Hostname;MAC address”). I created a new group and filled the “Active directory” section.
    When I had 1 PC in this group, it doesn’t join the domain, and it’s not renamed if I change hostname on fog interface. It’s only when I manually boot in fog menu and choose “quick registration” that the machine is finally added to AD and renamed.
    How could I import my hosts the right way to make it possible to join AD automatically ?

    Thanks for your help
    Gael


  • Developer

    @gaelds Any news on this?

    Thinking a bit more about your request I wonder about something. Where have those 700 PCs being used before? They seem to have Windows and the fog-client software installed. So my guess is they were in use maybe in a different department. Were they connected to that exactly same FOG server ever before?

    I have found a bit of time to test this myself and I cannot replicate your issue as described. What I did is: Imported a single host via CSV, started the client and watched the fog.log and saw that it connected and renamed perfectly well.

    So I guess Quazz is on the right track here. Please let us know what you find.



  • Thanks, i’ll try that asap and let you know.


  • Moderator

    Go to the host (or group if it’s all of them) settings and reset encryption data.

    In most cases that’s what solves this error as far as I’m aware.


  • Developer

    @gaelds Ok, I will see what I can do to try and replicate the issue but I can’t promise anything yet.



  • @Sebastian-Roth Sorry but that is the exact log file I found on the computer…


  • Developer

    @gaelds Sorry but I need the full log file right from the very beginning to be able to understand what happens in your case. The log file uploaded starts with:

    20/08/2019 09:27 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
    
    ------------------------------------------------------------------------------
    --------------------------------PowerManagement-------------------------------
    ------------------------------------------------------------------------------
     20/08/2019 09:27 Client-Info Client Version: 0.11.16
     20/08/2019 09:27 Client-Info Client OS:      Windows
     20/08/2019 09:27 Client-Info Server Version: 1.5.6
     20/08/2019 09:27 Middleware::Response ERROR: Unable to get subsection
     20/08/2019 09:27 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
    ...
    

    Doesn’t look like the actual start of the log file.



  • fog.log

    here it is.

    Extract :

    --------------------------------HostnameChanger-------------------------------

    20/08/2019 09:29 Client-Info Client Version: 0.11.16
    20/08/2019 09:29 Client-Info Client OS: Windows
    20/08/2019 09:29 Client-Info Server Version: 1.5.6
    20/08/2019 09:29 Middleware::Response ERROR: Unable to get subsection
    20/08/2019 09:29 Middleware::Response ERROR: La référence d’objet n’est pas définie à une instance d’un objet.


  • Developer

    @gaelds Please provide fog-client log to see if we can figure out why this is happening. Find it in C:\fog.log or C:\Program Files (x68)\FOG\fog.log on your client machine.


Log in to reply
 

502
Online

6.2k
Users

13.5k
Topics

127.4k
Posts