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

    Hostname CHanger not working since moving to 1.0.1

    Scheduled Pinned Locked Moved
    FOG Problems
    9
    32
    16.7k
    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
      Mx-3d
      last edited by

      I have the same problem since version 1.0.1.
      The name of the position changes well but the post does not add to domain.
      This is a hassle, I redid the procedure using FOG-Crypt days then making the customer. No change.

      1 Reply Last reply Reply Quote 0
      • R
        Raff
        last edited by

        It could be your using a different pass key for FOG-Crypt. If you are, then you need to recompile HostnameChange.dll in the client.

        [url]http://www.fogproject.org/wiki/index.php/Managing_FOG#Encrypting_Your_Password[/url]

        1 Reply Last reply Reply Quote 0
        • M
          Mx-3d
          last edited by

          i use this key :

          Input string: *******
          Passkey: FOG-OpenSource-Imaging
          Output: b711a695df5558b61be85cc70caf0860

          this is the default key.

          1 Reply Last reply Reply Quote 0
          • M
            Mx-3d
            last edited by

            FOG_AD_DEFAULT_DOMAINNAME : mydomain.local
            FOG_AD_DEFAULT_USER : mydomain\myuserad
            FOG_AD_DEFAULT_PASSWORD : b711a695df5558b61be85cc70caf0860

            My parameters is correctly. i think ? No
            The hostname of the computer changed the computer not detect purpose, that he is in workgroup and not domain.

            So this one is not added to the domain.

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

              [quote=“M@x-3d, post: 27416, member: 24254”]FOG_AD_DEFAULT_DOMAINNAME : mydomain.local
              FOG_AD_DEFAULT_USER : mydomain\myuserad
              FOG_AD_DEFAULT_PASSWORD : b711a695df5558b61be85cc70caf0860

              My parameters is correctly. i think ? No
              The hostname of the computer changed the computer not detect purpose, that he is in workgroup and not domain.

              So this one is not added to the domain.[/quote]

              Try this:
              FOG_AD_DEFAULT_USER : myuserad
              FOG_AD_DEFAULT_PASSWORD : b711a695df5558b61be85cc70caf0860

              With FOG 0.33 and UP, I’ve moved the method of the user so the Domain automatically gets sent. What this means is you no longer have to specify the domain with the name. I didn’t get a chance to check if it is already set, so the reason it’s most likely failing is because it’s literally trying to send the username as:
              mydomain.local\mydomain\myuserad

              This wouldn’t work because this particular user doesn’t exist.

              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
                Mx-3d
                last edited by

                Thanks Thoms Elliot.

                Everything works again.

                I think it will update the wiki.

                [url]http://www.fogproject.org/wiki/index.php/Managing_FOG[/url] # Encrypting_Your_Password

                So other than me find the documentation for version 1.0.1

                Thank you again and good luck. This is a good project.

                1 Reply Last reply Reply Quote 0
                • R
                  ridern
                  last edited by

                  I am having similar issues. Clients will not join the domain on 1.0.1.

                  The Fog Log on the client says: HostnameChanger Domain Error! (‘Unknown Error’ Code: 2725)

                  (My Setup)
                  [I][SIZE=12px]FOG_AD_DEFAULT_DOMAINNAME : mydomain.local[/SIZE][/I]
                  [I][SIZE=12px]FOG_AD_DEFAULT_USER : myuserad[/SIZE][/I]
                  [I][SIZE=12px]FOG_AD_DEFAULT_PASSWORD : b711a695df5558b61be85cc70caf0860[/SIZE][/I]

                  Any info would be greatly appreciated.

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

                    Is your setup literally showing with:
                    mydomain.local
                    myuserad
                    and that password?

                    If so, this is likely the problem. The Password is a hash and not one YOU should be attempting to use.

                    mydomain.local is a variable based on your environment. You can’t literally use mydomain.local if your domain is not named mydomain

                    myuserad must also be a valid Active Directory 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
                    • R
                      ridern
                      last edited by

                      Thanks, sorry about the lack of info. I’ve been using FOG for about 5 years now, but installing, building images and deploying images is about all I have experience with.

                      I put generic info in my post to protect the innocent and didn’t literally put that info in 😉

                      I have used FogCrypt from the client portal to create the encrypted password for my unique local AD Admin Account and then placed that info in the FOG Active Directory Section of the UI, (following the wiki and forum instructions). I have scoured to see if similar issues have occurred and this is the closest thread I have found.

                      My Environment:
                      I recently did a clean install of 1.01 to a Ubuntu 14.04 box.

                      Everything seems to be working great except the HostnameChanger Joining to the Domain. I’m hoping it’s something dumb that I missed.

                      Thank you for continuing this project and all of your help!

                      1 Reply Last reply Reply Quote 0
                      • JunkhackerJ
                        Junkhacker Developer
                        last edited by

                        well, if you’re looking for “dumb” things that can keep this from working, here’s some mistakes i’ve made in the past…
                        make sure that “Join Domain after image task” is set, with the proper information, under “Host Management” > “Active Directory”
                        make sure that the “Hostname Changer” under “Service configuration” setting is enabled under “Service Settings”

                        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
                          ridern
                          last edited by

                          Yeah, I am really hoping that it might be a Monday detail, but I do think I have both of those correct. Thank you though, it might be that simple with something else I missed.
                          [LEFT] [/LEFT]
                          [LEFT]Here is the UI config.[/LEFT]
                          [LEFT] [/LEFT]
                          [CENTER][IMG]http://vanlueschool.org/pictures/snip.png[/IMG][/CENTER]
                          [CENTER][IMG]http://vanlueschool.org/pictures/snip2.png[/IMG][/CENTER]

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

                            One more piece of info needed is the Active Directory settings on that host.

                            Host Management --> (the host having issues) --> [URL=‘http://rasdfog.dyndns.org/fog/management/index.php?node=host&sub=edit&id=1#host-active-directory’]Active Directory[/URL]

                            IS that info checked and filled out?

                            Edit: (facepalm)

                            1 Reply Last reply Reply Quote 0
                            • R
                              ridern
                              last edited by

                              Yes. That screen shot was from the actual host settings in FOG. It is also the default in the FOG active directory section as well.

                              1 Reply Last reply Reply Quote 0
                              • R
                                ridern
                                last edited by

                                Welp, I FOG’d a second image, Windows 8 32bit and deployed it without changing any settings and it automatically joined the domain. So I am going to delete the 64bit host from FOG, perform full host inventory it and redeploy and see what happens. I will keep you posted. There may be something going on with that particular Windows 8 x64bit image.

                                1 Reply Last reply Reply Quote 0
                                • JunkhackerJ
                                  Junkhacker Developer
                                  last edited by

                                  you’ve been using fog for 5 years, right? do you have a custom compiled [FONT=sans-serif][COLOR=#000000]HostnameChange.dll on your images? will this match the passkey used in fogcrypt?[/COLOR][/FONT]

                                  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
                                    ridern
                                    last edited by

                                    Good thought but no I do not have a custom compiled HostnameChange.dll.

                                    I’m thinking it has something to do with the way the image was made. I had it on the domain, installed the fog client, took it off the domain and then uploaded it, so I may have caused the issue. I am going to build a fresh 64bit windows 8 image and see if this solves the issue.

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      tlawson
                                      last edited by

                                      I have recently done a clean windows 8.1 install and image and the hostname changer is not doing anything. completely stock FOG (latest trunk as of this morning) and stock FOG client, etc. Any news on this issue?

                                      EDIT: No active directory usage here either.

                                      Thanks,
                                      Taylor Lawson

                                      1 Reply Last reply Reply Quote 0
                                      • JunkhackerJ
                                        Junkhacker Developer
                                        last edited by

                                        check your fog.log in the c:\ of the client, is it connecting to the server? are there any errors?

                                        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
                                        • T
                                          tlawson
                                          last edited by

                                          [quote=“Junkhacker, post: 27579, member: 21583”]check your fog.log in the c:\ of the client, is it connecting to the server? are there any errors?[/quote]

                                          That log shows exactly what i would expect it to if the hostname changer had worked… it even says “Hostname is up to date”… yet the hostname is still the same as the base image’s.

                                          Thanks,
                                          Taylor Lawson

                                          1 Reply Last reply Reply Quote 0
                                          • R
                                            ridern
                                            last edited by

                                            Old Image: I joined the domain added some domain applications, took off the domain and then uploaded my image. This did not allow me to have FOG automatically join the domain.

                                            New Image: I rebuilt the image never putting it on the domain, and leaving off Avast and other domain controlled applications, and now the image deploys perfect, changes the host name and connects to the domain automatically.

                                            Thank you for the updates in 1.01!
                                            We are off and running and making some images for the summer.

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

                                            272

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project