• 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 @Wayne Workman
      last edited by

      @Wayne-Workman Wayne, thank you for the reply. I apologize but what do you mean by “bound to the domain”? This is what my .fogsettings file looks like.

      Created by the FOG Installer

      Version: 6124

      Install time: Thu 14 Jan 2016 04:05:49 PM CST

      ipaddress=“192.168.1.243”;
      interface=“eth0”;
      routeraddress=" option routers 192.168.1.1;“;
      plainrouter=“192.168.1.1”;
      dnsaddress=” option domain-name-servers 192.168.20.5; “;
      dnsbootimage=“192.168.20.5”;
      password=“0ea409”;
      osid=“2”;
      osname=“Debian”;
      dodhcp=“n”;
      bldhcp=“0”;
      installtype=“N”;
      snmysqluser=”"
      snmysqlpass=“”;
      snmysqlhost=“”;
      installlang=“0”;
      donate=“0”;
      fogupdateloaded=“1”
      submask=‘’
      blexports=‘1’
      storageLocation=‘/images’
      storageftpuser=‘’
      storageftppass=‘’
      docroot=‘/var/www/html/’
      webroot=‘fog/’
      caCreated=‘’
      startrange=‘’
      endrange=‘’
      bootfilename=‘’
      packages=‘apache2 php5 php5-json php5-gd php5-cli php5-curl mysql-server mysql-client tftpd-hpa tftp-hpa nfs-kernel-server vsftpd net-tools wget xinetd sysv-rc-conf tar gzip build-essential cpp gcc g++ m4$
      noTftpBuild=’’
      notpxedefaultfile=‘’

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @anthonyglamis
        last edited by Wayne Workman

        @anthonyglamis said:

        caCreated=“”

        @Tom-Elliott will need to confirm/deny if that is right… normally when the CA has been created, this is set to yes and if it’s blank, this might be why you get authentication errors every time you update… because it’s remaking the CA every time. I’d say it’s probably safe to type yes inbetween those quotes.

        In my /opt/fog/.fogsettings file, the yes is between double quotes. like this:
        caCreated="yes";

        About the image bound question, that’s just a generic term I use, “Bound”. Meaning already joined to a domain. In the Apple world, it’s called “Binding”… but anyways…

        Download your image to a computer, but before you do, disable domain joining for just that particualr computer. You can do this from the host computer’s menu on the left, there’s a link labeled “Active Directory”, in there you can just uncheck the “Join” checkbox and then save that, then deploy your image to this machine.

        After it’s deployed, just look to see if the computer is already joined to the domain or not. If it is, that’s what’s causing your trust relationship error.

        FYI, never capture from a computer that is joined to a domain. Good advice: Never capture an OS build from a computer that has ever been joined to the domain. Joining mucks with settings on the image and all you’ll be doing is begging for complications down the road, even if you later unjoin it and then capture.

        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 Reply Quote 0
        • A
          anthonyglamis @Wayne Workman
          last edited by

          @Wayne-Workman Thanks for the quick response. Yes the image baseline I used was at a certain point on the domain. I removed it from the domain in order to create a baseline as I do not have a volume license with Microsoft so I have nothing else to go off of. I can try a new windows 7 license though. I have one copy. That might be my best bet. Start from scratch.
          I am deploying the image now as you suggested. With the new client 0.9.10 do the new clients intended to be deployed and auto joined to the domain need to be created in AD before deployment?

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @anthonyglamis
            last edited by Wayne Workman

            @anthonyglamis said:

            With the new client 0.9.10 do the new clients intended to be deployed and auto joined to the domain need to be created in AD before deployment?

            No. When they join, they will appear in the default OU, whatever that’s configured as. On an unchanged AD setup, this is the “computers” OU. I always change mine 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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            A 1 Reply Last reply Reply Quote 1
            • A
              anthonyglamis @Wayne Workman
              last edited by

              @Wayne-Workman So what if I restore one of my laptops to factory default? The reason I say is we don’t use WAIK, or sysprep. Let’s say I create a master golden image, but it is time to update it for instance adding an additional program. Once the image is created can I manipulate it if I ever had to?

              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @anthonyglamis
                last edited by

                @anthonyglamis said:

                Once the image is created can I manipulate it if I ever had to?

                In a way, yes.

                You’d un-check the domain joining checkbox for a host, download your image, make your changes, and then re-upload.

                When you re-upload, if you do not change the image assigned, it will write over your old image. You can create a new image and assign the new image to the host, and upload to that if you want. That way lets you keep both the old image and the new image - but it takes up space. This is what I do, if you were wondering. Space is cheap.

                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 Reply Quote 0
                • A
                  anthonyglamis @Wayne Workman
                  last edited by

                  @Wayne-Workman Just deployed my image. I unchecked add to domain and it imaged and did not join to AD. The log output states: “Authentication error. CA is not from the fog server”. Any suggestions on next testing steps?
                  I can attempt to perform a factory reset for my most heavily used model, build an image, install the client service , register the host and capture.

                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @anthonyglamis
                    last edited by Wayne Workman

                    @anthonyglamis No need, just uninstall the fog client and then reinstall. Reboot a few times and see if the errors go away.

                    Make sure you set your /opt/fog/.fogsettings caCreated to yes so this doesn’t happen again.

                    Also, I forgot to ask earlier, but is there a reason why your fog ftp credentials are blank in that file?

                    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 Reply Quote 0
                    • A
                      anthonyglamis @Wayne Workman
                      last edited by

                      @Wayne-Workman I updated the .fogsettings file to reflect “yes”;
                      The ftp credentials were left blank upon install. If I change this does it also have to be changed on the fog server?

                      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman @anthonyglamis
                        last edited by

                        @anthonyglamis yes. There’s a article all about ftp. “Troubleshoot FTP” in the wiki.

                        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 3 Replies Last reply Reply Quote 1
                        • A
                          anthonyglamis @Wayne Workman
                          last edited by anthonyglamis

                          @Wayne-Workman Currently I am not receiving an error file not found, but I assume I want a password in that field for added security. Thanks again for the input. 👍

                          Now I am curious. Would FTP mismatch in credentials cause the error “image store corrupt”? I know what happened. The d1.mbr file was not created on that image. Duh…at least I’m starting to recognize some of these issues. Capturing again. This time I am trying Single disk (re sizable)

                          1 Reply Last reply Reply Quote 0
                          • A
                            anthonyglamis @Wayne Workman
                            last edited by

                            @Wayne-Workman I just finished reading your post and the FTP WIKI. I apologize I don’t think I was understanding what you were referring to. So in my storage node settings the FTP path must match, as well as the user name and password. Thanks for the heads up. I have updated all the info. Straight from the WIKI.

                            Web Interface -> Storage Management -> Your storage node -> Management Username & Management Password
                            
                            Web Interface -> FOG Configuration -> FOG Settings -> TFTP Server -> FOG_TFTP_FTP_USERNAME & FOG_TFTP_FTP_PASSWORD
                            
                            The local 'fog' user's password on the Linux FOG server
                            
                            /opt/fog/.fogsettings -> storageftpuser & storageftppass (For recent FOG Trunk versions only. 1.2.0 does not have this setting. 1.3.0 will though.)
                            
                            1 Reply Last reply Reply Quote 0
                            • A
                              anthonyglamis @Wayne Workman
                              last edited by anthonyglamis

                              @Wayne-Workman @Arrowhead-IT @Tom-Elliott
                              Just wanted to update. I noticed the capture on my “golden” image yesterday did not capture or create the 1d.mbr file. I updated Fog today to the latest revision, 6136 (I just noticed there is another) recaptured, and checked for the 1d.mbr file and to my surprise the d1.partions file was there as well. Fog deployed this image to another laptop with success as well as auto joining to AD. I think I am getting the hang of Fog. I want to test a few more platforms. I will update, and if successful we can set this thread as solved!
                              Once I determine that capturing and deploying is stable I will perform my own write up. I understand that most of the info is in the WIKI, but some of it is outdated. The instructions still list fog 0.32, which if you remember the beginning of this thread, that’s what I started with 😉

                              Wayne WorkmanW 1 Reply Last reply Reply Quote 2
                              • Wayne WorkmanW
                                Wayne Workman @anthonyglamis
                                last edited by

                                @anthonyglamis said:

                                Once I determine that capturing and deploying is stable I will perform my own write up.

                                Good documentation is a vital part of any software solution - open source or not.

                                So is a helpful and acive forums 🙂

                                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 Reply Quote 2
                                • A
                                  anthonyglamis @Wayne Workman
                                  last edited by

                                  @Wayne-Workman Update. OK I have been able to test further. Capturing, deploying, and auto join to AD is working fine. Thank you everyone for all your help! This is a pretty powerful program. I am having printer setup issues, however I will either start another thread or jump in on an ongoing printer thread. You can set this thread as solved. 👍

                                  1 Reply Last reply Reply Quote 1
                                  • 1
                                  • 2
                                  • 3
                                  • 4
                                  • 5
                                  • 6
                                  • 6 / 6
                                  • First post
                                    Last post

                                  213

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project