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

    Join Domain "Unknown Error Code:2"

    Scheduled Pinned Locked Moved
    Windows Problems
    2
    5
    4.1k
    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.
    • J
      JDnoble18
      last edited by

      First post so be gentle 🙂

      When I try to join a domain I get “Unknown Error Code:2”

      I have searched and only found one other person with this error so far and it was pertaining to AD OU. I verified that my syntax is correct in that, and I also tried it blank as well and still get error code 2.

      When I add the computer to the domain manually the log file indicates that it found the account and was already added to the domain. That means that its communicating with the AD server correctly, right?

      I run fog 1.2.0.

      Has anyone experienced this before?

      1 Reply Last reply Reply Quote 0
      • W
        Wolfbane8653 Developer
        last edited by

        Please provide the host fog.log, snapshot of fog settings–>AD, and verify that under Hostmanagement that that service is enabled.

        1 Reply Last reply Reply Quote 0
        • J
          JDnoble18
          last edited by

          Here are the files you requested.

          Thanks for any help!

          [url=“/_imported_xf_attachments/1/1423_Untitled.png?:”]Untitled.png[/url][url=“/_imported_xf_attachments/1/1424_Untitled2.png?:”]Untitled2.png[/url][url=“/_imported_xf_attachments/1/1425_fog.txt?:”]fog.txt[/url]

          1 Reply Last reply Reply Quote 0
          • W
            Wolfbane8653 Developer
            last edited by

            These seem correct but I don’t use anything in the FOG_AD_DEFAILT_OU.

            Please check the Hostname Changer service. There are 3 that is THREE locations that this must be ticked.
            1.)Fog Configuration–>Fog Settings–>Fog Service - Hostname Changer
            2.)Service Configuration–>Host Registration
            3.)Host Management --> [Selected Host] --> Service Configuration

            Also what EXACT revision are you using? I confirmed a bug in one of the revisions but It may not have been localized to that revision.

            1 Reply Last reply Reply Quote 0
            • J
              JDnoble18
              last edited by

              AH! I think I fixed it. I noticed the default group was a CN not an OU. I made a OU and changed it in both spots and upon next reboot it joined successfully.

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

              159

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project