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

    Fog 1.0.1 and Ubuntu 14.04 joining domain problems

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    15
    3.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.
    • M
      mgarcia06
      last edited by

      This is the log from the client

      5272014 449 PM FOGHostnameChanger AD mode requested, confirming settings.
      5272014 449 PM FOGHostnameChanger Padding is invalid and cannot be removed.
      5272014 449 PM FOGHostnameChanger at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
      at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
      at System.Security.Cryptography.CryptoStream.FlushFinalBlock()
      at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing)
      at System.IO.Stream.Close()
      at FOG.FOGCrypt.decrypt(Byte[] cipherData, Byte[] Key, Byte[] IV)
      at FOG.FOGCrypt.decryptHex(String hex)
      at FOG.HostNameChanger.changeHostName()

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

        My guess to the problem?

        The password salt you used (changed in config.ini) is not what the HostnameChanger.dll file is expecting.

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

          I guess I’m not that familiar with the hostnamechanger.dll, is that something I can change?

          1 Reply Last reply Reply Quote 0
          • M
            mgarcia06
            last edited by

            I think I found this here [url]http://www.fogproject.org/wiki/index.php?title=Managing_FOG[/url]

            Am I understanding correctly, I should recompile the hostnamechanger.dll?

            1 Reply Last reply Reply Quote 0
            • M
              mgarcia06
              last edited by

              I also tried generating an encrypted password with the default config.ini, same result

              1 Reply Last reply Reply Quote 0
              • M
                mgarcia06
                last edited by

                Ok, I double checked the HostNameChange on the server using Microsoft Visual Studio Express, the client name is still updating however I am still unable to join it to the domain… This is what the log is showing now

                5/28/2014 10:00 AM FOG::HostnameChanger Unknown error, module will exit.
                5/28/2014 10:00 AM FOG::HostnameChanger Host name was not found in the database.

                I also tried removing the client from FOG and re-imaging like it was a brand new PC, however still the same result

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

                  try going to [url]http://<fog-server-ip>/fog/service/hostname.php?mac=<mac[/url] address of host> and let me know what you get

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

                    [SIZE=4][FONT=Times New Roman][COLOR=#000000]#!ok=a0481c7ef9cd #AD=1 #ADDom=domain #ADOU= #ADUser=mydomain\mydomainuser#ADPass=encryptedpassword[/COLOR][/FONT][/SIZE]

                    [SIZE=3][FONT=Times New Roman][COLOR=#000000]I changed the results for security reasons, but I can confirm the domain and user were correct[/COLOR][/FONT][/SIZE]

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

                      you might try setting the fog service on the client to delayed start
                      also, some people have had trouble if they installed the client for “Just me” instead of “Everyone”

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

                        Ok, trying the Automatic (Delayed Start) I know when I installed the service piece I installed it “for Everyone”

                        I think we’re getting closer though, it’s showing a new error in the log “Domain Error! (‘Unknown Error’ Code: 1326)”

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

                          [url]http://fogproject.org/forum/threads/joining-domain-problems-with-windows-7.3960/#post-10111[/url]

                          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
                          • D
                            darkxeno
                            last edited by

                            also just to put my 2 cents in i found that in Fog 1.0.1 that if you just use your usename and not youdomain\username it works unlink in fog 0.32 i had to use yourdomial\username

                            1 Reply Last reply Reply Quote 0
                            • M
                              mgarcia06
                              last edited by

                              I tried all that yesterday as noted in my first post, the .ini file, made sure it wasn’t in AD already, and were not previously joined to the domain, and checked all of the global and client service settings

                              I also tried manually forcing it to the OU instead of leaving it blank for default

                              still getting the 1326

                              1 Reply Last reply Reply Quote 0
                              • M
                                mgarcia06
                                last edited by

                                Ok, I on a whim created a new user in AD with sole purpose of joining computers to AD, re-encrypted a new password and it appears to have resolved the issue.

                                Can’t thank you guys enough for the help and the amazing software

                                Thanks,

                                Matt

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

                                150

                                Online

                                12.1k

                                Users

                                17.3k

                                Topics

                                155.4k

                                Posts
                                Copyright © 2012-2024 FOG Project