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

Domain Join Question

Scheduled Pinned Locked Moved
General
3
22
8.3k
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.
  • L
    Lee Rowlett Developer
    last edited by Mar 2, 2014, 11:38 AM

    it’s not just joining after imaging - the client service will join to the domain at the next time it checks in with the server as long as domain join is set/checked under host information and the client checks in as pretty instant the first time the service starts/restarts so the easiest way without you having to mess with code is to just restart the fog service on the remote machine as long as you have admin rights to that machine just run this from command line (a windows machine):

    sc.exe \machine restart “FOG Service”

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Mar 2, 2014, 1:37 PM

      Or you can use the command on the location system with Command Prompt (as administrator) with:
      [code]net stop “FOG Service”
      net start “FOG Service”[/code]

      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
      • B
        BigMan99211
        last edited by Mar 3, 2014, 9:39 PM

        I’m noticing that my “hostnamechanger” component isn’t running anymore. When the machine boots, the log is only showing “UserTracker”, “SnapinClient”, “DirCleaner”, “GUIWatcher”, and “MODDebug”. This is the same image i’ve been working with for a while now… I’m going to uninstall the client and reinstall to see if it helps.

        As for adding to the domain, i’ve managed to get this to run one time, but it failed and this is what the log said… [ATTACH=full]569[/ATTACH]

        [url=“/_imported_xf_attachments/0/569_20140224_182410_resized.jpg?:”]20140224_182410_resized.jpg[/url]

        "Failure is not an option. It come pre-installed on Windows…" - Anonymous

        "Life is hard; It's harder if you're stupid" - John Wayne

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Mar 3, 2014, 11:28 PM

          It looks like domain joining is working, until it tries sending the data back to the host. This isn’t an issue in the hostname.php file, but rather looks to me like the password being sent isn’t encrypted, or there’s a blank username being send. Maybe the password is wrong?

          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
          • B
            BigMan99211
            last edited by Mar 4, 2014, 3:23 PM

            I was reading some other forum posts last night and now that you said something about the password not being encrypted… Do I have to encrypt it? Also, I read that you have to put the domain before the username (domain\username). Is this true?

            Even if I set those settings right, i’m still having the issue of “hostnamechanger” not running. At least I’m not seeing in fog.log.

            "Failure is not an option. It come pre-installed on Windows…" - Anonymous

            "Life is hard; It's harder if you're stupid" - John Wayne

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Mar 4, 2014, 3:54 PM

              Did the hostname change happen with the imaging process? Is the hostname set properly already? If it is, it’s not going to change the name because it’s already set.

              I believe you do need to have the username as: domain\user or user@domain.

              The password does need to be encrypted.

              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
              • B
                BigMan99211
                last edited by Mar 4, 2014, 7:27 PM

                No, I don’t have the hostname set during the imaging process. In my unattend.xml, I have put in “<ComputerName>*</ComputerName>”, so the imaged machine gets a randomly generated computer name. After the unattend process runs, the machine reboots, but nothing happens once it gets back to the login screen. It worked fine a few weeks ago. Also, when I check fog.log, there aren’t any entries from hostnamechanger at all. The only other thing I’m thinking is, maybe it got disabled in the client. Is there a way to check, without removing and reinstalling the client software?

                "Failure is not an option. It come pre-installed on Windows…" - Anonymous

                "Life is hard; It's harder if you're stupid" - John Wayne

                1 Reply Last reply Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Mar 4, 2014, 7:43 PM

                  Yes, check the host service settings.

                  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
                  • B
                    BigMan99211
                    last edited by Mar 4, 2014, 10:47 PM

                    Ok… got it!

                    Did a little research in other posts and figured it out. First off, you have to encrypt the password or it just flat fails. Secondly, you have to input the username as domain\user. So, for my domain, it’s called intranet.naylor (I didn’t name this crap…)

                    So…

                    I had to enter the AD info as follows:

                    Domain: intranet.naylor
                    OU: (Blank)
                    Domain Username: intranet\user
                    Domain Password: (FOGCrypt Encrypted Password)

                    And that’s THAT! I’m running Zero-Touch!! 😄

                    "Failure is not an option. It come pre-installed on Windows…" - Anonymous

                    "Life is hard; It's harder if you're stupid" - John Wayne

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tom Elliott
                      last edited by Mar 4, 2014, 10:59 PM

                      I may remove the need for the \ all together. I mean, you’ve already got the domain in place, so why not use that, then just have a setup like:

                      domain: test
                      ou:
                      domain username: user
                      domain password:ao723597u32l4kjfldgpjdas;fjkasupiou2j5kasjfk;

                      Then when the call to send it comes along send it as:
                      $Host->get(‘ADDomain’).‘’.$Host->get(‘ADUser’)

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

                      145

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.4k

                      Posts
                      Copyright © 2012-2024 FOG Project