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

Importing hosts with CSV to join AD

Scheduled Pinned Locked Moved
General
3
9
679
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.
  • G
    gaelds
    last edited by Aug 20, 2019, 7:40 AM

    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

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Aug 20, 2019, 7:57 AM

      @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.

      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

      G 1 Reply Last reply Aug 20, 2019, 2:51 PM Reply Quote 0
      • G
        gaelds
        last edited by Aug 20, 2019, 8:00 AM

        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.

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Aug 20, 2019, 12:05 PM

          @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.

          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
          • G
            gaelds @Sebastian Roth
            last edited by Aug 20, 2019, 2:51 PM

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

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Aug 20, 2019, 4:48 PM

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

              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
              • Q
                Quazz Moderator
                last edited by Aug 22, 2019, 10:16 AM

                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.

                1 Reply Last reply Reply Quote 0
                • G
                  gaelds
                  last edited by Aug 26, 2019, 6:19 AM

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

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by Aug 29, 2019, 5:53 PM

                    @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.

                    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
                    • 1 / 1
                    1 / 1
                    • First post
                      7/9
                      Last post

                    229

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project