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

    Fog Client fails to join AD Domain with error 1326

    Scheduled Pinned Locked Moved Solved
    Windows Problems
    3
    11
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      Hostname changer and ad join is set per host. The global setting only impacts default when applying to a group or host.

      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
      • I
        ians
        last edited by

        Sorry, should have specified. I set the AD password on the specific host as well.

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          @ians said in Fog Client fails to join AD Domain with error 1326:

          unknown username or bad password

          The error is pretty clear. How do you set the password in the Web UI? In clear text or crypted?

          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

          I 1 Reply Last reply Reply Quote 0
          • I
            ians @Sebastian Roth
            last edited by ians

            @Sebastian-Roth I entered it as plain text since I’m using Fog 1.3+, was this the correct way?

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by

              @ians said in Fog Client fails to join AD Domain with error 1326:

              This is on a fresh copy of Windows 10 Build 10240 running in HyperV, Ubuntu Server 18.04.02, and Fog 1.5.7.

              and

              I entered it as plain text since I’m using Fog 1.3+, was this the correct way?

              Doesn’t make sense. Please clarify!

              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

              I 1 Reply Last reply Reply Quote 0
              • I
                ians @Sebastian Roth
                last edited by

                @Sebastian-Roth Sorry, I guess since I’ve been working with it all week it’s more clear in my head than it actually is:P

                I’ve got FOG server running on Ubuntu 18.04 in HyperV
                Then I’ve got the FOG( client running on Windows 10 10240, also running in HyperV but also deployed to about 25 physical machines as well now. All the machines that I’m running it on have been sysprepped and then deployed via FOG.

                FOG config side I’ve inputted my AD info to drop the computer into an OU utilizing my domain admin login and password entered in plain text via the web portal.

                Hopefully, this clears things up and thanks in advance for any help!

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by

                  @ians What I was referring to are the two different version numbers of FOG you posted!! Now that I read it again I see that I might have overlooked the + sign. So you meant “using plain text password because I run FOG newer than 1.3.0” right?

                  Well, that’s definitely correct to use plain text on FOG 1.5.7.

                  Still the error message is pretty clear. Please search the forums. There are numerous topics on the “unknown username or bad password, code = 1326” error and I think most cases were solved by correcting the credentials.

                  There was one user stating that special characters in the password cause an issue but I wasn’t able to reproduce the issue myself: https://forums.fogproject.org/topic/12407/active-direcory-join-fail-bad-password-1-5-4

                  And here is another one who had issues with a sysprepped installation: https://forums.fogproject.org/topic/9256/computers-not-joining-our-domain-during-sysprep

                  Read through this and double check the credentials in the places mentioned by Wayne in this topic!!

                  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

                  I 1 Reply Last reply Reply Quote 0
                  • I
                    ians @Sebastian Roth
                    last edited by ians

                    @Sebastian-Roth Thanks for the suggestions, I hadn’t even thought of the possibility that it could be the special characters in the password. I went ahead and created a new domain admin account and used only letters and it worked!

                    I’ll need to do some more testing to see if it was truly the special characters causing the issue or if creating a new account triggered something else.

                    I’m sure this is mentioned somewhere but what takes precedence in the AD settings, or settings in general actually? There are the defaults, which seem to be just like an autofill, then group level settings then finally per-host settings. If the group to host settings are different which one takes precedence? Specifically, for the AD stuff. Trying to figure out if I need to change each machine individually.

                    Edit: Updating the settings on my groups also updated the settings on my hosts, yay!

                    Thanks for taking the time to help me!

                    1 Reply Last reply Reply Quote 1
                    • S
                      Sebastian Roth Moderator
                      last edited by Sebastian Roth

                      @ians said in Fog Client fails to join AD Domain with error 1326:

                      I hadn’t even thought of the possibility that it could be the special characters in the password. I went ahead and created a new domain admin account and used only letters and it worked!

                      Ohhh, do we actually have a special character issue?!

                      Updating the settings on my groups also updated the settings on my hosts, yay!

                      So this sounds like you were able to get things right and domain join on the client worked? Shall we mark this solved?

                      About the group settings you want to use the forum search and ask it for “persistent groups”. My guess is that you are expecting something from FOG’s group capabilities that it doesn’t have.

                      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

                      I 1 Reply Last reply Reply Quote 0
                      • I
                        ians @Sebastian Roth
                        last edited by

                        @Sebastian-Roth I don’t want to say definitely that there is a character issue since it could have been a whole host of other things that changing the domain account and password fixed. I’ll try to give it a test when I get some more free time in the next week or so to see if that’s really the issue.

                        Thanks for all your help!

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

                        154

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project