• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • S
    Sebastian Roth Moderator
    last edited by Jun 6, 2016, 1:04 PM

    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 Jun 6, 2016, 1:06 PM Reply Quote 0
    • J
      jhuesser @Sebastian Roth
      last edited by Jun 6, 2016, 1:06 PM

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

      W 1 Reply Last reply Jun 6, 2016, 1:41 PM Reply Quote 0
      • W
        Wayne Workman @jhuesser
        last edited by Jun 6, 2016, 1:41 PM

        @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 Jun 6, 2016, 2:17 PM Reply Quote 2
        • J
          jhuesser @Wayne Workman
          last edited by Jun 6, 2016, 2:17 PM

          @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?

          W 1 Reply Last reply Jun 6, 2016, 2:39 PM Reply Quote 0
          • W
            Wayne Workman @jhuesser
            last edited by Jun 6, 2016, 2:39 PM

            @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 Jun 6, 2016, 2:42 PM Reply Quote 0
            • J
              jhuesser @Wayne Workman
              last edited by Jun 6, 2016, 2:42 PM

              @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.

              W 1 Reply Last reply Jun 6, 2016, 2:47 PM Reply Quote 0
              • W
                Wayne Workman @jhuesser
                last edited by Jun 6, 2016, 2:47 PM

                @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 Jun 6, 2016, 3:01 PM Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Jun 6, 2016, 2:59 PM

                  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 Jun 6, 2016, 3:07 PM Reply Quote 0
                  • J
                    jhuesser @Wayne Workman
                    last edited by Jun 6, 2016, 3:01 PM

                    @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 Jun 6, 2016, 3:07 PM

                      @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 Jun 6, 2016, 3:32 PM

                        @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
                        
                        T 1 Reply Last reply Jun 6, 2016, 3:33 PM Reply Quote 0
                        • T
                          Tom Elliott @jhuesser
                          last edited by Jun 6, 2016, 3:33 PM

                          @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 Jun 6, 2016, 3:35 PM Reply Quote 1
                          • J
                            jhuesser @Tom Elliott
                            last edited by Jun 6, 2016, 3:35 PM

                            @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.

                            T 1 Reply Last reply Jun 6, 2016, 3:35 PM Reply Quote 0
                            • T
                              Tom Elliott @jhuesser
                              last edited by Jun 6, 2016, 3:35 PM

                              @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 Jun 6, 2016, 3:37 PM Reply Quote 1
                              • J
                                jhuesser @Tom Elliott
                                last edited by jhuesser Jun 6, 2016, 9:38 AM Jun 6, 2016, 3:37 PM

                                @Tom-Elliott like this?

                                UPDATE hosts SET hostPubKey="", hostSecToken="", hostSecTime="0000-00-00 00:00:00";
                                
                                T W 2 Replies Last reply Jun 6, 2016, 3:43 PM Reply Quote 0
                                • T
                                  Tom Elliott @jhuesser
                                  last edited by Jun 6, 2016, 3:43 PM

                                  @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 Jun 6, 2016, 3:59 PM Reply Quote 0
                                  • W
                                    Wayne Workman @jhuesser
                                    last edited by Wayne Workman Jun 6, 2016, 9:45 AM Jun 6, 2016, 3:44 PM

                                    @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 Jun 6, 2016, 3:59 PM

                                      @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
                                      • J
                                        jhuesser
                                        last edited by Jun 6, 2016, 4:07 PM

                                        Hey guys, thank you for your help until here. Unfortunally I need to go and I’m back in office at Thursday. If something changes here, I will try that immediately!

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          jhuesser
                                          last edited by Jun 9, 2016, 6:57 AM

                                          So now I’ve updated to trunk 8046 and deployed the target again. But still it doesn’t work.

                                          In the first try I got the error

                                          Middleware::Response Invalid security token
                                          

                                          again. So i reseted the encryption data for the group and tried it again, but the error still appears. Here is the complete log:

                                           09.06.2016 08:46 Main Overriding exception handling
                                           09.06.2016 08:46 Main Bootstrapping Zazzles
                                           09.06.2016 08:46 Controller Initialize
                                           09.06.2016 08:46 Entry Creating obj
                                           09.06.2016 08:46 Controller Start
                                          
                                           09.06.2016 08:46 Service Starting service
                                           09.06.2016 08:46 Bus Became bus server
                                           09.06.2016 08:46 Bus {
                                            "self": true,
                                            "channel": "Status",
                                            "data": "{\r\n  \"action\": \"load\"\r\n}"
                                          }
                                           09.06.2016 08:46 Bus Emmiting message on channel: Status
                                          
                                          ------------------------------------------------------------------------------
                                          --------------------------------Authentication--------------------------------
                                          ------------------------------------------------------------------------------
                                           09.06.2016 08:46 Client-Info Version: 0.10.6
                                           09.06.2016 08:46 Client-Info OS:      Windows
                                           09.06.2016 08:46 Middleware::Authentication Waiting for authentication timeout to pass
                                           09.06.2016 08:46 Middleware::Communication Download: http://10.20.2.60/fog/management/other/ssl/srvpublic.crt
                                           09.06.2016 08:46 Data::RSA FOG Server CA cert found
                                           09.06.2016 08:46 Middleware::Authentication Cert OK
                                           09.06.2016 08:46 Middleware::Communication POST URL: http://10.20.2.60/fog/management/index.php?sub=requestClientInfo&authorize&newService
                                           09.06.2016 08:46 Middleware::Response Invalid security token
                                          
                                          ------------------------------------------------------------------------------
                                          --------------------------------Authentication--------------------------------
                                          ------------------------------------------------------------------------------
                                           09.06.2016 08:46 Client-Info Version: 0.10.6
                                           09.06.2016 08:46 Client-Info OS:      Windows
                                           09.06.2016 08:46 Middleware::Authentication Waiting for authentication timeout to pass
                                           09.06.2016 08:48 Middleware::Communication Download: http://10.20.2.60/fog/management/other/ssl/srvpublic.crt
                                           09.06.2016 08:48 Data::RSA FOG Server CA cert found
                                           09.06.2016 08:48 Middleware::Authentication Cert OK
                                           09.06.2016 08:48 Middleware::Communication POST URL: http://10.20.2.60/fog/management/index.php?sub=requestClientInfo&authorize&newService
                                           09.06.2016 08:48 Middleware::Response Invalid security token
                                          
                                          ------------------------------------------------------------------------------
                                          --------------------------------Authentication--------------------------------
                                          ------------------------------------------------------------------------------
                                           09.06.2016 08:48 Client-Info Version: 0.10.6
                                           09.06.2016 08:48 Client-Info OS:      Windows
                                           09.06.2016 08:48 Middleware::Authentication Waiting for authentication timeout to pass
                                           09.06.2016 08:50 Middleware::Communication Download: http://10.20.2.60/fog/management/other/ssl/srvpublic.crt
                                           09.06.2016 08:50 Data::RSA FOG Server CA cert found
                                           09.06.2016 08:50 Middleware::Authentication Cert OK
                                           09.06.2016 08:50 Middleware::Communication POST URL: http://10.20.2.60/fog/management/index.php?sub=requestClientInfo&authorize&newService
                                           09.06.2016 08:50 Middleware::Response Invalid security token
                                          
                                          ------------------------------------------------------------------------------
                                          --------------------------------Authentication--------------------------------
                                          ------------------------------------------------------------------------------
                                           09.06.2016 08:50 Client-Info Version: 0.10.6
                                           09.06.2016 08:50 Client-Info OS:      Windows
                                           09.06.2016 08:50 Middleware::Authentication Waiting for authentication timeout to pass
                                           09.06.2016 08:53 Main Overriding exception handling
                                           09.06.2016 08:53 Main Bootstrapping Zazzles
                                           09.06.2016 08:53 Controller Initialize
                                           09.06.2016 08:53 Entry Creating obj
                                           09.06.2016 08:53 Controller Start
                                          
                                           09.06.2016 08:53 Service Starting service
                                           09.06.2016 08:53 Bus Became bus server
                                           09.06.2016 08:53 Bus {
                                            "self": true,
                                            "channel": "Status",
                                            "data": "{\r\n  \"action\": \"load\"\r\n}"
                                          }
                                           09.06.2016 08:53 Bus Emmiting message on channel: Status
                                          
                                          ------------------------------------------------------------------------------
                                          --------------------------------Authentication--------------------------------
                                          ------------------------------------------------------------------------------
                                           09.06.2016 08:53 Client-Info Version: 0.10.6
                                           09.06.2016 08:53 Client-Info OS:      Windows
                                           09.06.2016 08:53 Middleware::Authentication Waiting for authentication timeout to pass
                                           09.06.2016 08:53 Middleware::Communication Download: http://10.20.2.60/fog/management/other/ssl/srvpublic.crt
                                           09.06.2016 08:54 Data::RSA FOG Server CA cert found
                                           09.06.2016 08:54 Middleware::Authentication Cert OK
                                           09.06.2016 08:54 Middleware::Communication POST URL: http://10.20.2.60/fog/management/index.php?sub=requestClientInfo&authorize&newService
                                           09.06.2016 08:54 Middleware::Response Invalid security token
                                          
                                          ------------------------------------------------------------------------------
                                          --------------------------------Authentication--------------------------------
                                          ------------------------------------------------------------------------------
                                           09.06.2016 08:54 Client-Info Version: 0.10.6
                                           09.06.2016 08:54 Client-Info OS:      Windows
                                           09.06.2016 08:54 Middleware::Authentication Waiting for authentication timeout to pass
                                          
                                          T 1 Reply Last reply Jun 9, 2016, 9:34 AM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 1 / 3
                                          1 / 3
                                          • First post
                                            15/45
                                            Last post

                                          199

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project