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

Active directory Join issue

Scheduled Pinned Locked Moved Solved
Windows Problems
7
115
95.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.
  • A
    anthonyglamis
    last edited by Jan 20, 2016, 1:42 AM

    While attempting to create a delayed task I have to go forward 5 hours, so essentially the delayed task thinks it is tomorrow. This is weird. I’m upgrading to Trunk now.

    1 Reply Last reply Reply Quote 1
    • G
      george1421 Moderator
      last edited by george1421 Jan 19, 2016, 7:46 PM Jan 20, 2016, 1:46 AM

      Ok I won’t stretch this topic out since the trunk upgrade is underway. But I find it intriguing that it went the other direction and set the task to UTC time instead of double dipping on the CST offset the other direction.

      Please understand that upgrading to the latest trunk may not solve the problem, but we can then engage the devs since this is a current issue with the latest build.

      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!

      1 Reply Last reply Reply Quote 0
      • A
        anthonyglamis
        last edited by Jan 20, 2016, 1:52 AM

        I understand. I’m looking for a stable option to image devices for my company. We were using clonezilla, but are looking for a solution to be placed at each of our sites so we can have a person local that can image a device via PXE boot and that’s it. I need a tool that will image and add to the domain because I can’t physically be there.
        Upon investigating fog, I assumed this was the right tool for me so I’m hoping to educate myself further and get this rolling. I’ll update tomorrow with my progress. Thanks again for the help

        W 1 Reply Last reply Jan 20, 2016, 1:55 AM Reply Quote 2
        • A
          anthonyglamis
          last edited by Jan 20, 2016, 1:55 AM

          Thanks @ Wayne Workman for your help as well. I am installing via the instructions.

          1 Reply Last reply Reply Quote 0
          • W
            Wayne Workman @anthonyglamis
            last edited by Wayne Workman Jan 19, 2016, 7:57 PM Jan 20, 2016, 1:55 AM

            @anthonyglamis Honestly, fog trunk has drastically greater and wider support for more devices, and newer devices. Including newer style HDDs and newer boot methods.

            I won’t lie, there are bugs sometimes, but they are usually minior. You just report them here in the bugs section, say “Hey ABC happens when I do 123, here’s the error and the version I’m on.”

            1.2.0, while mostly stable, is really old. It won’t install out of the box on newer Linux OSs, and doesn’t support newer devices, and has basically zero GPT support.

            My org has been using FOG Trunk since February 2015. We haven’t looked back.

            Just the massive speed improvements alone in FOG Trunk make it worthwhile.

            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 1
            • J
              JJ Fullmer Testers @anthonyglamis
              last edited by Jan 20, 2016, 8:36 PM

              @anthonyglamis said:

              Arrowhead,

              0_1453247303426_fogserverAD.PNG 0_1453247313776_fogserverHOST.PNG

              I am wondering if this is a DNS issue? My host are all “unable to resolve”.

              So the unable to resolve thing doesn’t necessarily affect the active directory issue, but it is something of a dns issue. For example, If your dns or perhaps dhcp server assigns hostnames to the computers based on ip address unless you reserve it in the server (It’s an issue I had at my last job where the university had a custom dhcp server that set the hostname based on the ip address unless you manually reserved by mac address, it was annoying). My point is they could relate, but I’ve seen the active directory join work even when the host isn’t showing as green/up in fog. So I would make sure everything else is right first before seeing if this is the cause. For example, does wake on lan work, because that only works if the host is down, because well it has to wake it from being off. Point is the ad join functionality doesn’t depend on the gui host up/down function in my experience.

              Are you also setting the hosts to join the active directory in the gui, or are you doing it in the pxe imaging menu at the computer. Your configuration looks correct for the joining default settings. So as long as that user can join a computer to the domain and the hostname doesn’t already exist on the domain it should work. Just want to make sure you’re clicking the checkbox to tell the host to join the domain.

              0_1453322163075_Capture.PNG

              Also, is the latest fog client/service installed on the computer’s in question?
              Also once that box is checked it typically just joins the domain right then restart and all. And if someone takes it off the domain it will just join right back again.

              Hope that helps in some way

              Have you tried the FogApi powershell module? It's pretty cool IMHO
              https://github.com/darksidemilk/FogApi
              https://fogapi.readthedocs.io/en/latest/
              https://www.powershellgallery.com/packages/FogApi
              https://forums.fogproject.org/topic/12026/powershell-api-module

              1 Reply Last reply Reply Quote 1
              • A
                anthonyglamis
                last edited by Jan 20, 2016, 8:42 PM

                Well one step forward and two steps back. I used the Git option to update to Trunk via this website
                https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk#wget

                I do not know if has not been updated but I am not on version 1.3.0 for starters. The version is 6032. Everything seamlessly migrated over, however after trying 2 image deployments on Lenovo E431 models Fog loads but errors with “Image Store Corrupt” Unable to locate MBR (restore partition table and bootloaders)

                Ha and now both will not boot via the HDD 🙂

                I downloaded 1.3.0 and it goes through the motions of installing but I am on 6032 still after several restarts. Thoughts?

                1 Reply Last reply Reply Quote 0
                • A
                  anthonyglamis
                  last edited by anthonyglamis Jan 20, 2016, 3:28 PM Jan 20, 2016, 8:44 PM

                  @Arrowhead I have since attempted to migrate to the latest version of fog however I seem to be having issues. I am looking for the latest version now.

                  Upgrade was a success, version is 6038

                  J 1 Reply Last reply Jan 20, 2016, 9:32 PM Reply Quote 0
                  • J
                    JJ Fullmer Testers @anthonyglamis
                    last edited by Jan 20, 2016, 9:32 PM

                    @anthonyglamis 6038 is the latest version. That’s the git/svn revision number. It won’t say 1.3.0 until that version is officially released, so don’t worry about that.

                    For the image store corrupt error, did that go away after upgrading from 6032→6038?
                    If not check that image folder on the fog server with

                    ls /images/imageName 
                    

                    and make sure there’s a d1.mbr or something of that sort.
                    Also make sure the permissions are correct on the image store

                    sudo chmod -R 775 /images
                    

                    also what does /etc/exports say?

                    cat /etc/exports
                    

                    Have you tried the FogApi powershell module? It's pretty cool IMHO
                    https://github.com/darksidemilk/FogApi
                    https://fogapi.readthedocs.io/en/latest/
                    https://www.powershellgallery.com/packages/FogApi
                    https://forums.fogproject.org/topic/12026/powershell-api-module

                    1 Reply Last reply Reply Quote 2
                    • A
                      anthonyglamis
                      last edited by Jan 20, 2016, 9:36 PM

                      The error did not go away, and my laptops will not boot via the HDD any longer. I deleted the image I had on the fog server and am uploading another image. I will reply with the results.

                      Tom ElliottT 1 Reply Last reply Jan 20, 2016, 9:46 PM Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott @anthonyglamis
                        last edited by Jan 20, 2016, 9:46 PM

                        @anthonyglamis I don’t know what reimaging would do to get active directory working. With that said I really wish you hadn’t have deleted the image. I’ve been working to make the scripts that do the work of imaging quite a lot lately. While some of those changes likely caused the problem you were having, it would have been better to keep the “bad” image and upload a new image. This would’ve at least had you do both things and given a point that i can look at. But that is now gone 😞

                        Of course I can still help but it would’ve been nice to fix the original problem you had. Only if you’re having issues with uploading would I say to delete the image, especially if you’re running trunk. I am very frequent on the forums and most often fix issues as they come up here.

                        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

                        A 1 Reply Last reply Jan 20, 2016, 10:10 PM Reply Quote 3
                        • A
                          anthonyglamis
                          last edited by Jan 20, 2016, 10:07 PM

                          With Fog 6038 in the management console, Fog Configuration>Fog Settings> Active Directory I see that the plain text password gets automatically encrypted. Is Fogcrypt obsolete? It is still available via download @x.x.x.x/fog/client
                          Also I noticed in Group Management>Active Directory, as well as Host Management>Active Directory the auto generated encryption hashes are different. Will that be an issue when it comes time to attempt to auto join to AD?

                          J 2 Replies Last reply Jan 20, 2016, 10:12 PM Reply Quote 0
                          • A
                            anthonyglamis @Tom Elliott
                            last edited by Jan 20, 2016, 10:10 PM

                            @Tom-Elliott
                            AHHHHHHHH!!! You are so right, what was I thinking, I apologize. I will update the status after this image is complete. Maybe I can replicate the error? LOL hopefully not in my case. And yes I have been reading these forums for weeks now and you are basically on almost every Fog post 😉 Thanks for chiming in.

                            Tom ElliottT 1 Reply Last reply Jan 21, 2016, 4:36 AM Reply Quote 1
                            • J
                              JJ Fullmer Testers @anthonyglamis
                              last edited by Jan 20, 2016, 10:12 PM

                              @anthonyglamis Fogcrypt is essentially obsolete, yes. You can still put the fogcrypt output into the legacy input but I find the new auto-encrypt to work better. But yes I’m pretty sure that the fogcrypt tool is still there

                              I hadn’t noticed that the hashes were different before, so I checked mine and they are different. I haven’t had any problems though, so I would say it shouldn’t be an issue.

                              Have you tried the FogApi powershell module? It's pretty cool IMHO
                              https://github.com/darksidemilk/FogApi
                              https://fogapi.readthedocs.io/en/latest/
                              https://www.powershellgallery.com/packages/FogApi
                              https://forums.fogproject.org/topic/12026/powershell-api-module

                              W Tom ElliottT 2 Replies Last reply Jan 21, 2016, 12:16 AM Reply Quote 3
                              • J
                                JJ Fullmer Testers @anthonyglamis
                                last edited by Jan 20, 2016, 10:42 PM

                                @anthonyglamis So what is the current status? Did the new image upload and download successfully? Is AD working like magic with the new version?

                                Have you tried the FogApi powershell module? It's pretty cool IMHO
                                https://github.com/darksidemilk/FogApi
                                https://fogapi.readthedocs.io/en/latest/
                                https://www.powershellgallery.com/packages/FogApi
                                https://forums.fogproject.org/topic/12026/powershell-api-module

                                A 1 Reply Last reply Jan 20, 2016, 10:53 PM Reply Quote 1
                                • A
                                  anthonyglamis @JJ Fullmer
                                  last edited by anthonyglamis Jan 20, 2016, 5:16 PM Jan 20, 2016, 10:53 PM

                                  @Arrowhead-IT @Tom-Elliott

                                  OK image upload completed, I attempted to deploy to another Lenovo E431 and same error. I looked in the /images directory and sure enough there is no d1.mbr in my Lenovo E431 directory. I am showing the other 2 images I captured which are a Dell 3450, and a Lenovo E430 and they both have the d1.mbr file.

                                  Not sure if this helps but when creating the image in Image Management I selected Multiple Image Partition #2 and in Partition I selected #1

                                  I created those images in the previous fog version so is this a bug or am I not capturing the image correctly?
                                  Also I deleted those images (Dell3450, LenovoE430) however they are still on my linux box, can I get those back into the fog server?

                                  Tom ElliottT J 3 Replies Last reply Jan 20, 2016, 11:34 PM Reply Quote 0
                                  • Tom ElliottT
                                    Tom Elliott @anthonyglamis
                                    last edited by Jan 20, 2016, 11:34 PM

                                    @anthonyglamis Multiple image partition should be fine, but the “Partition” selection I’m guessing you’re wanting “All”. I don’t know though.

                                    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

                                    A 1 Reply Last reply Jan 20, 2016, 11:36 PM Reply Quote 0
                                    • A
                                      anthonyglamis @Tom Elliott
                                      last edited by Jan 20, 2016, 11:36 PM

                                      @Tom-Elliott Any idea why the d1.mbr file is not being captured in the process?

                                      Tom ElliottT 1 Reply Last reply Jan 20, 2016, 11:40 PM Reply Quote 0
                                      • Tom ElliottT
                                        Tom Elliott @anthonyglamis
                                        last edited by Jan 20, 2016, 11:40 PM

                                        @anthonyglamis I need to look further, but I’m pretty sure we don’t need the mbr for specific partitions. Meaning, if you tell it to use only partition 1, it doesn’t need the mbr because it’s only using one partition that is assumed (I’m not sure I didn’t create that particular feature) to already be created on the client receiving the image.

                                        If you can, please retry the upload but use “Partition All” or whatever the setting is. I believe you will see the d1.mbr file for that case. If not, let me know and maybe we can run a debug task to try figuring out what exactly the problem is. While I am editing the scripts, I am doing so mostly blind. I do attempt to test all the elements as I can, but i’m far from perfect.

                                        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 1
                                        • J
                                          JJ Fullmer Testers @anthonyglamis
                                          last edited by Jan 20, 2016, 11:48 PM

                                          @anthonyglamis said:

                                          I created those images in the previous fog version so is this a bug or am I not capturing the image correctly?
                                          Also I deleted those images (Dell3450, LenovoE430) however they are still on my linux box, can I get those back into the fog server?

                                          If they are still in the /images folder then yes. If they are in a different machine, still yes, just transfer the files to the new fog server /images folder.

                                          Just make new images in the fog gui with the same settings and point them to the file names and they should work. Does that make sense?

                                          Have you tried the FogApi powershell module? It's pretty cool IMHO
                                          https://github.com/darksidemilk/FogApi
                                          https://fogapi.readthedocs.io/en/latest/
                                          https://www.powershellgallery.com/packages/FogApi
                                          https://forums.fogproject.org/topic/12026/powershell-api-module

                                          W 1 Reply Last reply Jan 21, 2016, 12:19 AM Reply Quote 1
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 6
                                          • 2 / 6
                                          2 / 6
                                          • First post
                                            21/115
                                            Last post

                                          170

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project