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

Rename client => ok but Joind AD not working

Scheduled Pinned Locked Moved
FOG Problems
4
8
2.6k
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.
  • R
    raymondub
    last edited by Feb 12, 2015, 3:02 PM

    I m able to rename the client in windows 7 with fog
    but no succes to join the domain.
    Use fogcrypt for the user password and the admin
    add a fog user on the client (necessary ?)
    had to correct the path for netdom in the C:\Program Files (x86)\FOG\etc\config.ini

    The ip is correct cause renaming is working

    Fog version Version:1.2.0
    ubuntu 12.04
    Did i forgot something ?

    [ATTACH]1681[/ATTACH][ATTACH]1682[/ATTACH]

    [url=“/_imported_xf_attachments/1/1681_host-management.JPG?:”]host-management.JPG[/url][url=“/_imported_xf_attachments/1/1682_param_fog.JPG?:”]param_fog.JPG[/url][url=“/_imported_xf_attachments/1/1683_fog.txt?:”]fog.txt[/url]

    1 Reply Last reply Reply Quote 0
    • J
      Junkhacker Developer
      last edited by Feb 12, 2015, 3:11 PM

      the checkbox needs to be checked, and you should NOT use an admin account for this purpose. the account should have rights to do only what it needs to do: domain join, host rename, etc. the account should have no rights otherwise.
      i recommend increasing the log file size on the client for troubleshooting.

      signature:
      Junkhacker
      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

      1 Reply Last reply Reply Quote 0
      • R
        raymondub
        last edited by Feb 12, 2015, 3:23 PM

        Joining a domain has to be done during a task image ? or can it be done after like for example renaming the computer.
        Yes I know… I should not use the admin account for that. I ll check asap to find how the delegation is working to add computer in AD. For the moment, it s still a test AD so no big deal…
        another log file and i changed the log size in the ini file

        [url=“/_imported_xf_attachments/1/1684_fog.txt?:”]fog.txt[/url][url=“/_imported_xf_attachments/1/1685_Capture.JPG?:”]Capture.JPG[/url]

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Feb 12, 2015, 3:30 PM

          I think you’re not understanding.

          The Host Active directory is how FOG knows to join a domain or not.

          The checkbox there is what needs to be checked and the settings should autopopulate.

          The Username (in either settings or the host) is the Active Directory username and password pair.

          The password needs to be FOGCrypted.

          Then when a client reboots or the “FOG Service” on the client machine gets restarted, it will initially check these things for you. If AD Join is not checked, it’s not going to try to join the system to the domain.

          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
          • R
            raymondub
            last edited by Feb 12, 2015, 4:28 PM

            Ok… Now indeed it s more clear… 🙂
            And i have an error AD
            12/02/2015 17:26 FOG::HostnameChanger Attempting to connect to fog server…
            12/02/2015 17:26 FOG::HostnameChanger Module is active…
            12/02/2015 17:26 FOG::HostnameChanger AD mode requested, confirming settings.
            12/02/2015 17:26 FOG::HostnameChanger Hostname is up to date
            12/02/2015 17:26 FOG::HostnameChanger Attempting to join domain if not already a member…
            12/02/2015 17:26 FOG::HostnameChanger Domain Error! (‘Unknown Error’ Code: 1326)

            Now i ll check again the different parameters !
            Thanks again a lot for that explanation !

            1 Reply Last reply Reply Quote 0
            • J
              Junkhacker Developer
              last edited by Feb 12, 2015, 4:39 PM

              i believe that’s an authentication error. verify that the username exists on the domain and has permissions to join computers.

              signature:
              Junkhacker
              We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

              1 Reply Last reply Reply Quote 0
              • W
                Wolfbane8653 Developer
                last edited by Feb 12, 2015, 7:23 PM

                [quote=“Junkhacker, post: 42151, member: 21583”]i believe that’s an authentication error. verify that the username exists on the domain and has permissions to join computers.[/quote]

                The error codes returned from HostnameChanger are Windows error codes. This will also show in your windows logs showing error 1326 which is:
                [B]ERROR_LOGON_FAILURE[/B]
                1326 (0x52E)
                The user name or password is incorrect.
                [url]https://msdn.microsoft.com/en-us/library/windows/desktop/ms681385(v=vs.85).aspx[/url]

                1 Reply Last reply Reply Quote 0
                • R
                  raymondub
                  last edited by Feb 12, 2015, 8:50 PM

                  [QUOTE] The Username (in either settings or the host) is the Active Directory username and password pair.[/QUOTE]
                  That was my mistake… 🙂
                  I correct that and now it s working

                  Thanks a lot !

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  1 / 1
                  • First post
                    5/8
                    Last post

                  163

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project