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

    Active Directory Join Failing

    Scheduled Pinned Locked Moved Solved
    Windows Problems
    6
    23
    5.4k
    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
      jeffscott
      last edited by

      Hello all,

      Can’t seem to get my clients to join AD…

      FOG Server Version: 1.5.0-RC-13
      FOG Client Version: 0.11.15 (Upgraded after having same problems with 0.11.14 that came with 1.5.0-RC-13)
      Host is Windows 10 1709 Education Edition

      FOG Active Directory Tab for Host:

      Domain Name: domain.lan
      Org Unit: blank
      Domain Username: SF
      Domain Password: Entered and manually confirmed correct
      Domain Password Legacy: Left Blank (However, I tried by using FOGCrypt on that as well, no luck)

      FOG.log on host is showing:

      HostnameChanger Logon failure: unknown username or bad password, code = 1326

      SF account is getting locked on domain. And Security Event Log on DC is showing bad password. (So at least I know the FOG Client is passing the correct username)

      Any ideas?

      Thanks,

      Jeff

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @jeffscott
        last edited by

        @jeffscott There is a bug related to this that is present in the 1.5.0 release. You are using 1.5 RC 13, so I am not sure if the bug was present in that RC or not, but it’s likely that it is. 1.5.1 should be released in a week or so. My recommendation is to sit tight until 1.5.1 is released - and once released, update to it.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          I’m not sure i understand what the bug is.

          Is the Domain Password (not legacy) encrypted or decrypted?

          1.5.0 the auto-encrypted element of the password was removed, though encrypted passwords should still work. I’m not aware of any problems happening with them currently.

          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

          x23piracyX 1 Reply Last reply Reply Quote 0
          • x23piracyX
            x23piracy @Tom Elliott
            last edited by

            @tom-elliott from what i can say is that with some RC something changed regarding to host settings, one day i mentioned that the password for domain join was empty. After filling it again it won’t be shown as encrypted. Afai remember in the past it was shown encrypted regardsless it was entered plain or not.

            I don’t know if this is related to that problem but after i filled our ad password again it was working like expected even when not showed encrypted in the webif.

            Regards X23

            ║▌║█║▌│║▌║▌█

            Tom ElliottT 1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott @x23piracy
              last edited by

              @x23piracy right in the past the field was encrypted but how it was stored defeated the purpose of encrypting it in the first place.

              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
              • J
                jeffscott
                last edited by

                Well, I upgraded to v1.5.2 and I’m still getting the same problem. I manually joined one client using the same credentials I have configured in FOG just to confirm my sanity in that I had the correct username/password and it was successful.

                Account is getting locked out on the Domain so I still know it is passing the correct username… Evidently, it is not passing the correct password…

                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman @jeffscott
                  last edited by

                  @jeffscott said in Active Directory Join Failing:

                  Evidently, it is not passing the correct password…

                  Correct. Try to reset the user/pass via the web gui to what it is supposed to be and see if the issue persists. If it persists, let us know so we can continue to troubleshoot this with you.

                  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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    jeffscott @Wayne Workman
                    last edited by

                    @wayne-workman

                    Yes, I’ve tried that several times. Even tried using the Domain Admin…

                    1 Reply Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman
                      last edited by

                      @Joe-Schmitt what are your thoughts on this?

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      1 Reply Last reply Reply Quote 0
                      • J
                        Joe Schmitt Senior Developer
                        last edited by Joe Schmitt

                        @jeffscott the quickest way to see what’s going on is to do the following steps on a problematic machine:

                        • Open an administrative CMD, and run net stop fogservice
                        • Navigate to your FOG server’s web portal, select the host you are working on and perform these steps:
                          • Press Reset Encryption Data if its an option
                        • Download our Debugger.exe and run it
                        • The Debugger will open a console that has a fog: prompt, please enter these commands, pressing enter after each one (replace {server-ip} with your actual FOG server IP):
                          • middleware configuration server http://{server-ip}/fog
                          • middleware authentication handshake
                          • dump cycle save

                        The debugger should point you to a FOGCycle.txt file. This contains all the information the server tells the client, completely decrypted. Can you make sure the hostnamechanger section has the correct active directory login/OU information? You can then hopefully debug the problem better and identify what credential the client is receiving.

                        To clean up:

                        • Close the debugger
                        • click Reset Encryption Data again on the host in the gui
                        • start back up the fog service if you want

                        @Moderators feel free to copy & paste these steps for people with similair issues in the future. The steps shouldn’t change in the foreseeable future.

                        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.

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          jeffscott @Joe Schmitt
                          last edited by

                          @joe-schmitt

                          OK, I performed that procedure and I can see the password that it is passing is no where near correct…

                          Looks like it is an encrypted version??? (I can’t even tell what one of the characters is)

                          1 Reply Last reply Reply Quote 0
                          • J
                            Joe Schmitt Senior Developer
                            last edited by

                            @Tom-Elliott it seems the server is not sending the password correct.

                            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.

                            1 Reply Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott
                              last edited by

                              Where have you changed the Password?

                              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

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                jeffscott @Tom Elliott
                                last edited by

                                @tom-elliott

                                2 Places:

                                Initially in FOG Configuration, FOG System Settings, Active Directory Defaults

                                &

                                Subsequently re-entered it in Host Management, Active Directory for the Host I’m testing with

                                Entering the password in the “Domain Password” Field. Leaving “Domain Password Legacy” field blank

                                Tom ElliottT 1 Reply Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott @jeffscott
                                  last edited by

                                  @jeffscott just to clarify, you’re using the plaintext password in the non legacy password field? Maybe we can remote tomorrow so I can see what’s going on?

                                  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

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    jeffscott @Tom Elliott
                                    last edited by

                                    @tom-elliott

                                    Hey Tom,

                                    Sorry, I was away for a few days…

                                    Yes, I’m using the non-legacy password field. Yes, I’d be willing to do a remote session.

                                    Thanks,

                                    Jeff

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

                                      Hey Tom,

                                      I’m just now coming back around to this…

                                      Any updates on this?

                                      Thanks,

                                      Jeff

                                      Tom ElliottT 1 Reply Last reply Reply Quote 0
                                      • Tom ElliottT
                                        Tom Elliott @jeffscott
                                        last edited by

                                        @jeffscott I’m willing whenever you’re able. Maybe this afternoon? (I’m on EDT)

                                        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

                                        J 2 Replies Last reply Reply Quote 0
                                        • J
                                          jeffscott @Tom Elliott
                                          last edited by

                                          @tom-elliott

                                          Ugh…

                                          We keep missing each other. How do you want to go about connecting?

                                          1 Reply Last reply Reply Quote 0
                                          • J
                                            jeffscott @Tom Elliott
                                            last edited by

                                            @tom-elliott

                                            Any chance we can revisit this?

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

                                            205

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project