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

    Fog Fails to Join Domain

    Scheduled Pinned Locked Moved Solved
    Windows Problems
    2
    9
    2.5k
    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.
    • M
      ManPage
      last edited by

      I am noticing a behavior in the current trunk where, when Join Active directory is used the Domain username is getting mangled.
      when the domain username is entered “Domain\AdminUser” and saved after an image the name becomes “Domain\\AdminUser” and fails to join the domain with an error code 2202 which is “The specified username is invalid.” after a few more images it then becomes “Domain\\\\AdminUser” and just continues growing. When you first save the Credentials the first time the join works but after that it fails. because of the mangled username.
      The OS I am Trying to Join is Windows 10

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

        Fixing that should be simple enough, but why not just remove the domain value from the field altogether? It should work every time in that status.

        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
        • M
          ManPage
          last edited by

          The instructions i read online Had the username in the domain\userformat so i thought that was required

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

            @ManPage for 0.32 and below it was. Trunk allows either domain\user, user@domain, or just plain user

            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
            • M
              ManPage
              last edited by

              using user@domain seems to give an error 87 which i noticed someone else was having problems with earlier.

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

                @ManPage in either case you can still just use the user without the domain specifier

                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
                • M
                  ManPage
                  last edited by

                  That seems to do the trick Thanks

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

                    I can’t replicate the “username is getting mangled” part.

                    My test, set my host with join domain on. Take a look at the username with test\test as the username. Run the hostnamechange.php caller (the part that enables joining to domain and hostname changing) and take a look.

                    Simply by going to this page should give us the info we need to replicate this. Taking a direct look at the DB for this as well just to be on the safe side.

                    Took a look there and still nothing. What version are you running? (specific version please – found in the cloud).

                    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

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      ManPage @Tom Elliott
                      last edited by

                      @Tom-Elliott Version 7007

                      If i save the username as test\test it works on the first pass. I am not sure if this changes anything but i was setting the user/password at the global level. and the group level I never set it at the host level. I would also get it to work once then image the system and after the image it would begin failing.

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

                      241

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project