• 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.3k
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
    JJ Fullmer Testers @anthonyglamis
    last edited by Jan 21, 2016, 6:46 PM

    @anthonyglamis I like scripting things. And I like sharing. Here’s how I do my fog updates with one command.
    If you stick with svn, you can just change the git function in the script to do svn up instead of git pull and change the path variables too in the variable setting function. Or just use git, because sourceforge likes to crash.
    https://forums.fogproject.org/topic/6331/automating-git-updates-for-fog

    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
    • T
      Tom Elliott @anthonyglamis
      last edited by Jan 21, 2016, 7:02 PM

      @anthonyglamis you can but the new client is actually msi and has support for cli arguments to define configuration of the client. This means you can create a GPO to install the new client. Of course you still have to remove the old client first but I believe there’s a forum posting that discuss how to do 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! 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
      • A
        anthonyglamis
        last edited by anthonyglamis Jan 21, 2016, 2:56 PM Jan 21, 2016, 8:27 PM

        OK update time. I updated Fog to 6048. Captured 2 images with updated client service. Operating systems are Windows 7 pro. Models are Lenovo E431, and Dell Latitude 3450. The d1.mbr file was captured for both images.

        The Dell 3450 just finished, however it did not join to AD. Attached is the log. I am getting an authentication error again. Not too sure what I might be doing wrong. I reset the encryption data for each host before the capture. I noticed that is an option in the group setting as well. Should I have done that?
        0_1453407792520_3450fog.log

        The Lenovo E431 partclone process didn’t even start. The error is “problem opening# Error is 2” Partition file missing /images/E431I3/d1p.img* the specified file does not exist.
        In my /images directory that file is there, but it is named as follows:
        itadmin@fogserver:/images/E431I3$ ls
        d1.fixed_size_partitions d1.original.fstypes d1p2.img
        d1.mbr d1.original.swapuuids d1p3.img
        d1.minimum.partitions d1p1.img d1.partitions
        Is this just a matter of renaming those files to what fog is looking for? Lol it will not boot not since the initial partclone process wipes the mbr. I’m bricking things left and right! Woop Woop!

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

          Updated to Fog 6050, installed the latest client service and installed the certificate from my server in my certificate store just to be sure. The dell 3450 instantly rebooted and joined to AD. I am starting over from scratch with new cert and client installed. Am taking two more captures now, and will deploy as soon as I’m done. Operating system Win 7 Pro, models are Dell3450-I5/Lenovo E431-I3.
          I will update if these images work and join to AD.

          1 Reply Last reply Reply Quote 1
          • A
            anthonyglamis
            last edited by anthonyglamis Jan 21, 2016, 8:46 PM Jan 22, 2016, 2:30 AM

            Apparently I have no idea what I am doing. I captured both images, tried to deploy them and I get this error
            “an error has been detected no partition type passed (perform non resize restore)”
            I don’t get what I might be doing wrong. Any ideas?

            The Dell 1d.mbr is 32Kb
            Upon inspection of the d1.mbr file for my Lenovo E431 captured image it is 1 MB according to the Fog Wiki it should be 32 KB

            The option Single disk, multiple partition will manage to upload/deploy all the partition of the disk. The OStype setted to Linux will copy a 32256 bytes MBR.

            NOTE: setting a Windows 7 OStype, will clone a 512 bytes MBR: at the boot the system will show the string GRUB and then will hang!

            With this configuration, after the image upload, in the directory /images of the fog server there should be a directory with the name selected for the image containing:

            d1.mbr (the MBR: should be 32256 bytes)
            d1p1.img
            d1p2.img
            d1p4.img
            

            there are 1 file for partition, with the exception of the swap partition.

            1 Reply Last reply Reply Quote 0
            • G
              george1421 Moderator
              last edited by george1421 Jan 21, 2016, 9:03 PM Jan 22, 2016, 3:01 AM

              I realize you had a long and troubled day. So my questions may put you over the top.

              Can you create a truth table from your testing thus far? (dell, full disk cap = No, dell, resizeable cap = Yes, Lenovo =No) there has to be some rational here.

              Do you have one system that you can capture and deploy successfully?

              Your issues are seeming to be multiple. The first is of course capture and deploy and then once deployed connecting to AD.

              Its not clear quite yet in my mind is your issue with the new way fog is trying to capture images or the hardware them selves. Both of these systems are pretty new with new next gen components. If they are not reliable, do you have older systems you to setup a baseline with? I have seen recently with some of the newer lenovo, they have a built in small hard drive (16GB in size M.2 SSD) that seems to be causing some capture issues with other people. I’m not saying that is the issue with your lenovo its just one possibility.

              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!

              A 1 Reply Last reply Jan 22, 2016, 4:21 AM Reply Quote 0
              • A
                anthonyglamis @george1421
                last edited by Jan 22, 2016, 4:21 AM

                @george1421
                George it is odd to say the least. The images are indeed capturing but I’m really not sure how fog captures them, and if the problem lies there. In the images folder the 1d.mbr mbr file as well as all respective partitions are there. When creating new image I am choosing #2 single disk multiple partition. Next option #1 everything. Deploying fails every time.
                The reason I am doing 2 different models is obviously for testing. I want to replicate errors or success across more than one platform.
                In all reality I should be focused on the Lenovo E431 platform because the company I work for has these deployed the most. So it will be beneficial for me to get this image working. I am new to Linux so I am learning but I am certain I can pick this up.
                After a capture why would fog fail if I am trying to deploy to another CPU that is the same model platform? Is it not capturing a complete image in general? That is my guess.
                To answer your other question I have been able to successfully deploy images but those were all in older versions of fog. I have since updated to trunk. The AD/client service is working now, just not the imaging process.
                I apologize if I didn’t answer all of your questions in full detail.

                T 1 Reply Last reply Jan 22, 2016, 10:31 AM Reply Quote 0
                • T
                  Tom Elliott @anthonyglamis
                  last edited by Jan 22, 2016, 10:31 AM

                  @anthonyglamis are you running the latest trunk?

                  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 2 Replies Last reply Jan 22, 2016, 3:19 PM Reply Quote 0
                  • A
                    anthonyglamis @Tom Elliott
                    last edited by Jan 22, 2016, 3:19 PM

                    @Tom-Elliott I am running 6050, but will update today to the latest.

                    1 Reply Last reply Reply Quote 0
                    • A
                      anthonyglamis @Tom Elliott
                      last edited by Jan 22, 2016, 8:41 PM

                      @Tom-Elliott I just updated to 6064. Do I also need to download the client every time there is a new revision?

                      J 1 Reply Last reply Jan 22, 2016, 8:42 PM Reply Quote 0
                      • J
                        JJ Fullmer Testers @anthonyglamis
                        last edited by Jan 22, 2016, 8:42 PM

                        @anthonyglamis Nope. The installer will auto download the latest client to your server and you don’t need to maually update your hosts with the new client. I think it’s supposed to update itself even, if I remember right

                        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 22, 2016, 10:35 PM

                          Update. I reran the deployment of the 2 images I captured and they imaged on both models. 🙂 They did not auto join to AD though 😞 I am receiving the same authentication error in the log. This is odd as before capturing both images I installed the client service 0.9.10 as well as the certificate from http://192.168.1.243/fog/management/other/ssl/svrpublic.crt
                          Post deployment I uninstalled the client service, and removed the log file. Restarted. Installed the client service again. Restarted, and they auto joined to AD. Obviously I only did that for testing purposes. Am I missing something in the pre-deployment phase?
                          Should I have reset the encryption data in Group Management?

                          J 1 Reply Last reply Jan 22, 2016, 10:55 PM Reply Quote 1
                          • J
                            JJ Fullmer Testers @anthonyglamis
                            last edited by Jan 22, 2016, 10:55 PM

                            @anthonyglamis This sounds like a client issue, any thoughts @Jbob

                            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
                            • J
                              Joe Schmitt Senior Developer
                              last edited by Jan 23, 2016, 12:46 AM

                              @anthonyglamis Can you post the new client log with the error?

                              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 1
                              • W
                                Wayne Workman @anthonyglamis
                                last edited by Wayne Workman Jan 22, 2016, 9:30 PM Jan 23, 2016, 3:30 AM

                                @anthonyglamis Do you see anything when you go to http://192.168.1.243/fog/management/other/ssl/srvpublic.crt

                                Also, please fill jbob’s request below.

                                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/

                                A 1 Reply Last reply Jan 25, 2016, 5:26 PM Reply Quote 0
                                • A
                                  anthonyglamis @Wayne Workman
                                  last edited by anthonyglamis Jan 25, 2016, 11:27 AM Jan 25, 2016, 5:26 PM

                                  @Wayne-Workman @jbob @Arrowhead-IT

                                  I can download the cert but only in Chrome. Firefox says there is no data, and IE states page cannot be found.

                                  I was searching through threads and came across a thread in which Arrowhead-IT was having basically the same issues I am. The client works just fine if you install it after an image is deployed. This deployment is with the client service installed on an image and then deployed to a client.
                                  Attached are 2 logs.
                                  The 1st displays the authentication error being logged.
                                  The 2nd log is displays what is logged after I uninstall and re-install the client service on the same machine. Everything starts to work fine after that.

                                  0_1453742762067_LE431_1.log

                                  0_1453742772815_LE431.txt

                                  W 1 Reply Last reply Jan 25, 2016, 6:31 PM Reply Quote 0
                                  • W
                                    Wayne Workman @anthonyglamis
                                    last edited by Wayne Workman Jan 25, 2016, 12:32 PM Jan 25, 2016, 6:31 PM

                                    @anthonyglamis said:

                                    after I uninstall and re-install the client service on the same machine. Everything starts to work fine after that.

                                    If it works fine after you uninstall/reinstall, can you make a new image, and on your golden image before you capture, can you uninstall and then reinstall and then capture the image? Then try out the new image?

                                    You can make the new image from your old one (just download it but disable domain joining).

                                    You don’t have to overwrite your current image, just make a new one with a new name.

                                    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 Jan 25, 2016, 7:08 PM

                                      @anthonyglamis I am in agreement with @Wayne-Workman. That log file you posted indicates that your image has the wrong certificates. This could have been caused by a server re-install / key re-generation after making your image. Simply updating your image with a re-installed client should fix 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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                      A 1 Reply Last reply Jan 25, 2016, 8:02 PM Reply Quote 1
                                      • A
                                        anthonyglamis @Joe Schmitt
                                        last edited by anthonyglamis Jan 25, 2016, 2:03 PM Jan 25, 2016, 8:02 PM

                                        @Jbob @Wayne-Workman Workman

                                        For testing purposes I did exactly what you suggested. I have a new image compiled. Uninstalled the client service, ensured it was talking to the server and captured the imaged. I am attempting to deploy it now. I will update with the status. The only thing I am confused about it every time I update my revision I will have to create another image? Interesting. There is a new revision almost everyday.

                                        J W 2 Replies Last reply Jan 25, 2016, 8:05 PM Reply Quote 0
                                        • J
                                          JJ Fullmer Testers @anthonyglamis
                                          last edited by Jan 25, 2016, 8:05 PM

                                          @anthonyglamis No, you don’t need to create a new image for a new revision. It’s only if you reinstalled fog completely, regenerating the ca certs.

                                          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 25, 2016, 9:06 PM Reply Quote 1
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 6
                                          • 4 / 6
                                          4 / 6
                                          • First post
                                            72/115
                                            Last post

                                          205

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project