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

    Active Directory join fails

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    7
    45
    14.1k
    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.
    • Q
      Quazz Moderator @jhuesser
      last edited by

      @jhuesser Not 100% but I believe the script file needs to be called SetupComplete.cmd

      J 1 Reply Last reply Reply Quote 0
      • J
        jhuesser @Quazz
        last edited by

        @Quazz oh, yes thank you, this is i typo. called it SetupComplete.cmd on the system and it works fine (enables the service after setup).

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          Ok, marking this solved. Thanks @Quazz for finding this.

          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

          J 1 Reply Last reply Reply Quote 0
          • J
            jhuesser @Sebastian Roth
            last edited by

            @Sebastian-Roth no this is not solved. It was a typo i nthis post, but correct on the system.

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

              @jhuesser The error says invalid security token. Step one is to ensure the time is set, correct, in the same time zone, and syncronized on 1. The fog server, 2. The domain controller(s), and 3. on the hosts you’re trying to join.

              After verifying that, you can try to “reset encryption” for the problematic host and see if that fixes it.

              Note that simply clicking the “reset encryption” button when time is not synchronized will not fix your issue.

              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/

              J 1 Reply Last reply Reply Quote 2
              • J
                jhuesser @Wayne Workman
                last edited by

                @Wayne-Workman thank you for your answer. Selected mit timezone in FOG_TZ_INFO.
                The command date displays the correct time in the shell. DC is also fine, Client too. The logfile looks like this now:

                0_1465222630314_fog.log

                It says

                 06.06.2016 16:08 HostnameChanger Users still logged in and enforce is disabled, delaying any further actions
                

                But still, after a reboot it doesn’t do anything. Also i set the tick in FOG_ENFORCE_HOST_CHANGES and on the host settings at Make changes even when users are logged on?

                So it should do the steps, even if a user is logged on, shouldn’t it?

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

                  @jhuesser Yes. The last thing to check is to ensure all the client services are enabled for the problematic host.

                  Can you post the entire log 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/

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    jhuesser @Wayne Workman
                    last edited by

                    @Wayne-Workman hmm are you unable to open it? posted it here and works for me

                    @jhuesser said in Active Directory join fails:

                    0_1465222630314_fog.log

                    It’s to big to embeed it as plain text.

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

                      @jhuesser I can read that one, I must have just overlooked the other.

                      The user tracker area says invalid time:
                      06.06.2016 16:08 Middleware::Response Invalid time

                      I wonder if that has anything to do with 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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

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

                        What happens if you update?

                        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

                        J 2 Replies Last reply Reply Quote 0
                        • J
                          jhuesser @Wayne Workman
                          last edited by

                          @Wayne-Workman hmm true, didn’t saw that. but the histogram on the fog start page shows the correct time. I don’t know where this error comes from…

                          1 Reply Last reply Reply Quote 0
                          • J
                            jhuesser @Tom Elliott
                            last edited by

                            @Tom-Elliott You mean updating fog to the latest trunk? will try that, but first make a backup.

                            1 Reply Last reply Reply Quote 0
                            • J
                              jhuesser @Tom Elliott
                              last edited by

                              @Tom-Elliott So now I’m on trunk 7981.

                              Still doesn’t work. This is my logfile:

                               06.06.2016 17:24 Main Overriding exception handling
                               06.06.2016 17:24 Main Bootstrapping Zazzles
                               06.06.2016 17:24 Controller Initialize
                               06.06.2016 17:24 Entry Creating obj
                               06.06.2016 17:24 Controller Start
                              
                               06.06.2016 17:24 Service Starting service
                               06.06.2016 17:24 Bus Became bus server
                               06.06.2016 17:24 Bus {
                                "self": true,
                                "channel": "Status",
                                "data": "{\r\n  \"action\": \"load\"\r\n}"
                              }
                               06.06.2016 17:24 Bus Emmiting message on channel: Status
                              
                              ------------------------------------------------------------------------------
                              --------------------------------Authentication--------------------------------
                              ------------------------------------------------------------------------------
                               06.06.2016 17:24 Client-Info Version: 0.10.6
                               06.06.2016 17:24 Client-Info OS:      Windows
                               06.06.2016 17:24 Middleware::Authentication Waiting for authentication timeout to pass
                               06.06.2016 17:24 Middleware::Communication Download: http://10.20.2.60/fog/management/other/ssl/srvpublic.crt
                               06.06.2016 17:24 Data::RSA FOG Server CA cert found
                               06.06.2016 17:24 Middleware::Authentication Cert OK
                               06.06.2016 17:24 Middleware::Communication POST URL: http://10.20.2.60/fog/management/index.php?sub=requestClientInfo&authorize&newService
                               06.06.2016 17:24 Middleware::Response Invalid security token
                              
                              ------------------------------------------------------------------------------
                              --------------------------------Authentication--------------------------------
                              ------------------------------------------------------------------------------
                               06.06.2016 17:24 Client-Info Version: 0.10.6
                               06.06.2016 17:24 Client-Info OS:      Windows
                               06.06.2016 17:24 Middleware::Authentication Waiting for authentication timeout to pass
                               06.06.2016 17:26 Middleware::Communication Download: http://10.20.2.60/fog/management/other/ssl/srvpublic.crt
                               06.06.2016 17:26 Data::RSA FOG Server CA cert found
                               06.06.2016 17:26 Middleware::Authentication Cert OK
                               06.06.2016 17:26 Middleware::Communication POST URL: http://10.20.2.60/fog/management/index.php?sub=requestClientInfo&authorize&newService
                               06.06.2016 17:26 Middleware::Response Invalid security token
                              
                              ------------------------------------------------------------------------------
                              --------------------------------Authentication--------------------------------
                              ------------------------------------------------------------------------------
                               06.06.2016 17:26 Client-Info Version: 0.10.6
                               06.06.2016 17:26 Client-Info OS:      Windows
                               06.06.2016 17:26 Middleware::Authentication Waiting for authentication timeout to pass
                               06.06.2016 17:28 Main Overriding exception handling
                               06.06.2016 17:28 Main Bootstrapping Zazzles
                               06.06.2016 17:28 Controller Initialize
                               06.06.2016 17:28 Entry Creating obj
                               06.06.2016 17:28 Controller Start
                              
                               06.06.2016 17:28 Service Starting service
                               06.06.2016 17:28 Bus Became bus server
                               06.06.2016 17:28 Bus {
                                "self": true,
                                "channel": "Status",
                                "data": "{\r\n  \"action\": \"load\"\r\n}"
                              }
                               06.06.2016 17:28 Bus Emmiting message on channel: Status
                              
                              ------------------------------------------------------------------------------
                              --------------------------------Authentication--------------------------------
                              ------------------------------------------------------------------------------
                               06.06.2016 17:28 Client-Info Version: 0.10.6
                               06.06.2016 17:28 Client-Info OS:      Windows
                               06.06.2016 17:28 Middleware::Authentication Waiting for authentication timeout to pass
                               06.06.2016 17:28 Middleware::Communication Download: http://10.20.2.60/fog/management/other/ssl/srvpublic.crt
                               06.06.2016 17:28 Data::RSA FOG Server CA cert found
                               06.06.2016 17:28 Middleware::Authentication Cert OK
                               06.06.2016 17:28 Middleware::Communication POST URL: http://10.20.2.60/fog/management/index.php?sub=requestClientInfo&authorize&newService
                               06.06.2016 17:28 Middleware::Response Invalid security token
                              
                              ------------------------------------------------------------------------------
                              --------------------------------Authentication--------------------------------
                              ------------------------------------------------------------------------------
                               06.06.2016 17:28 Client-Info Version: 0.10.6
                               06.06.2016 17:28 Client-Info OS:      Windows
                               06.06.2016 17:28 Middleware::Authentication Waiting for authentication timeout to pass
                               06.06.2016 17:30 Middleware::Communication Download: http://10.20.2.60/fog/management/other/ssl/srvpublic.crt
                               06.06.2016 17:30 Data::RSA FOG Server CA cert found
                               06.06.2016 17:30 Middleware::Authentication Cert OK
                               06.06.2016 17:30 Middleware::Communication POST URL: http://10.20.2.60/fog/management/index.php?sub=requestClientInfo&authorize&newService
                               06.06.2016 17:30 Middleware::Response Invalid security token
                              
                              ------------------------------------------------------------------------------
                              --------------------------------Authentication--------------------------------
                              ------------------------------------------------------------------------------
                               06.06.2016 17:30 Client-Info Version: 0.10.6
                               06.06.2016 17:30 Client-Info OS:      Windows
                               06.06.2016 17:30 Middleware::Authentication Waiting for authentication timeout to pass
                              
                              

                              Now I have this again:

                               06.06.2016 17:30 Middleware::Response Invalid security token
                              
                              Tom ElliottT 1 Reply Last reply Reply Quote 0
                              • Tom ElliottT
                                Tom Elliott @jhuesser
                                last edited by

                                @jhuesser said in Active Directory join fails:

                                06.06.2016 17:24 Client-Info Version: 0.10.6
                                06.06.2016 17:24 Client-Info OS: Windows
                                06.06.2016 17:24 Middleware::Authentication Waiting for authentication timeout to pass
                                06.06.2016 17:24 Middleware::Communication Download: http://10.20.2.60/fog/management/other/ssl/srvpublic.crt
                                06.06.2016 17:24 Data::RSA FOG Server CA cert found
                                06.06.2016 17:24 Middleware::Authentication Cert OK
                                06.06.2016 17:24 Middleware::Communication POST URL: http://10.20.2.60/fog/management/index.php?sub=requestClientInfo&authorize&newService
                                06.06.2016 17:24 Middleware::Response Invalid security token

                                06.06.2016 17:24 Client-Info Version: 0.10.6
                                06.06.2016 17:24 Client-Info OS: Windows
                                06.06.2016 17:24 Middleware::Authentication Waiting for authentication timeout to pass
                                06.06.2016 17:24 Middleware::Communication Download: http://10.20.2.60/fog/management/other/ssl/srvpublic.crt
                                06.06.2016 17:24 Data::RSA FOG Server CA cert found
                                06.06.2016 17:24 Middleware::Authentication Cert OK
                                06.06.2016 17:24 Middleware::Communication POST URL: http://10.20.2.60/fog/management/index.php?sub=requestClientInfo&authorize&newService
                                06.06.2016 17:24 Middleware::Response Invalid security token

                                Also, I notice the time, is it actually 17:24 there?

                                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

                                J 1 Reply Last reply Reply Quote 1
                                • J
                                  jhuesser @Tom Elliott
                                  last edited by

                                  @Tom-Elliott Hmmm i just deployed it. I recived the “Image Task Completed”-Mail at 17:21 and then logged in. So I guess 17:24 could be true. Now it’s 17:34 local time.

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

                                    @jhuesser Can you reset the encryption data on this host?

                                    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

                                    J 1 Reply Last reply Reply Quote 1
                                    • J
                                      jhuesser @Tom Elliott
                                      last edited by jhuesser

                                      @Tom-Elliott like this?

                                      UPDATE hosts SET hostPubKey="", hostSecToken="", hostSecTime="0000-00-00 00:00:00";
                                      
                                      Tom ElliottT Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                                      • Tom ElliottT
                                        Tom Elliott @jhuesser
                                        last edited by

                                        @jhuesser Right from the host edit area on the interface. If the data’s been setup, you will have a button that states “Reset Encryption Data”.

                                        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

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

                                          @jhuesser That is the manual method to reset it for all hosts, which is entirely not necessary.

                                          You can do this on an individual host via the web interface, or through groups. On the “General/Basic” page, it’s a huge button that says “Reset encryption”, you cannot miss 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!
                                          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
                                            jhuesser @Tom Elliott
                                            last edited by

                                            @Tom-Elliott @Wayne-Workman hmmm only saw the button on the group setting (chrome / firefox). But resetted the encryption.

                                            Still doesn’t work. This is the log now.

                                            0_1465228729307_fog.log

                                            Hostnamechanger says

                                             06.06.2016 17:55 HostnameChanger Users still logged in and enforce is disabled, delaying any further actions
                                            

                                            and Authentification:

                                             06.06.2016 17:55 Middleware::Response Invalid time
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post

                                            171

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project