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

Active Directory Mac OS X

Scheduled Pinned Locked Moved Solved
Mac Problems
5
26
11.6k
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.
  • N
    Nicolas Bricet
    last edited by Nicolas Bricet May 25, 2016, 3:53 AM May 25, 2016, 9:33 AM

    Hello,

    I have a concern for my Imac integrate into my Active Directory with the SVN version 7827.

    My machines rename well but integration with Active Direcrory not done. The computer detects that he must do well and restarts but nothing happens.

    ------------------------------------------------------------------------------^M
    --------------------------------Authentication--------------------------------^M
    ------------------------------------------------------------------------------^M
     25/05/2016 11:03 Client-Info Version: 0.10.6^M
     25/05/2016 11:03 Client-Info OS:      Mac^M
     25/05/2016 11:03 Middleware::Authentication Waiting for authentication timeout to pass^M
     25/05/2016 11:05 Middleware::Communication Download: http://@IP/fog/management/other/ssl/srvpublic.crt^M
     25/05/2016 11:05 Data::RSA FOG Server CA cert found^M
     25/05/2016 11:05 Middleware::Authentication Cert OK^M
     25/05/2016 11:05 Middleware::Communication POST URL: http://@IP/fog/management/index.php?sub=requestClientInfo&authorize&newService^M
     25/05/2016 11:05 Middleware::Response Success^M
    
    ------------------------------------------------------------------------------^M
    --------------------------------HostnameChanger-------------------------------^M
    ------------------------------------------------------------------------------^M
     25/05/2016 11:05 Client-Info Client Version: 0.10.6^M
     25/05/2016 11:05 Client-Info Client OS:      Mac^M
     25/05/2016 11:05 Client-Info Server Version: 7827^M
     25/05/2016 11:05 Middleware::Response Success^M
     25/05/2016 11:05 HostnameChanger Checking Hostname^M
     25/05/2016 11:05 HostnameChanger Hostname is correct^M
     25/05/2016 11:05 Power Creating shutdown command in 60 seconds^M
     25/05/2016 11:05 Bus {
      "self": true,
      "channel": "Power",
      "data": "{\n  \"action\": \"request\",\n  \"period\": 60,\n  \"options\": 2,\n  \"command\": \"-r +0 \\\"Host joined to Active Directory, restart required\\\"\",\n  \"message\": \"This computer needs to perform maintenance.\"\n}"
    

    Do you have an idea to solve this problem?

    I thank you in advance.
    Cordially.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by May 25, 2016, 9:43 AM

      Mind trying to update to latest first and see if the issue is more properly addressed yet?

      I’m also seeing it’s saying that it joined AD and it’s waiting for a restart. Is it not rebooting? Is it continuously joining AD?

      Is the host setup for “Perform changes even when users are logged on?”

      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 0
      • N
        Nicolas Bricet
        last edited by May 25, 2016, 9:52 AM

        Yes the command is allowed if users are connected.

        The computer restarts well but the computer does not integrate in the Active Directory and after it reboots every three minutes because it fails to incorporate the machine.

        0_1464169851237_domain_macosx.PNG

        I am sure that this domain account is working to integrate computers and I can not find LOG could explain to me where the error occurred.

        T 1 Reply Last reply May 25, 2016, 9:55 AM Reply Quote 0
        • T
          Tom Elliott @Nicolas Bricet
          last edited by May 25, 2016, 9:55 AM

          @Nicolas-Bricet What I’m asking is not whether or not the host is joining, the messages you gave us seem to prove that they are working. I’m asking if you reboot the client, does it show that it is now joined?

          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 0
          • N
            Nicolas Bricet
            last edited by Nicolas Bricet May 25, 2016, 6:08 AM May 25, 2016, 10:05 AM

            I tried to restart the client by:
            sudo launchctl unload -w /Library/LaunchDaemons/org.freeghost.daemon.plist
            sudo launchctl load -w /Library/LaunchDaemons/org.freeghost.daemon.plist

            After a few seconds it detects that the machine must incorporate the active directory but on reboot nothing was done

            Should we make specific settings for Imac for integrating machines into Active Direcory?

            By testing manually on my Imac I did aps worries to reach the area with the same information entered in the FOG interface (domain login + password + authorized way of “OU”)

            1 Reply Last reply Reply Quote 0
            • J
              Joe Schmitt Senior Developer
              last edited by May 25, 2016, 4:50 PM

              @Nicolas-Bricet what version of OS X? Is it Yosemite?

              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.

              N 1 Reply Last reply May 25, 2016, 10:16 PM Reply Quote 0
              • N
                Nicolas Bricet @Joe Schmitt
                last edited by May 25, 2016, 10:16 PM

                @Jbob Yes

                1 Reply Last reply Reply Quote 0
                • J
                  Joe Schmitt Senior Developer
                  last edited by Joe Schmitt May 25, 2016, 4:18 PM May 25, 2016, 10:18 PM

                  Yosemite has a bug with launchd where daemons don’t receive PATH. This is affecting our OS X domain binding code. Next version of the client should patch 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.

                  W 1 Reply Last reply May 25, 2016, 10:22 PM Reply Quote 0
                  • W
                    Wayne Workman @Joe Schmitt
                    last edited by May 25, 2016, 10:22 PM

                    @Jbob and when Apple patches it, will the client still work?

                    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 May 25, 2016, 10:34 PM

                      @Wayne-Workman yep. The patch is to have the smart installer dump the path to the settings file, and then the daemon will use that as PATH. While it can become out-of-date if the user updated path, it should be good enough until Yosemite is fixed.

                      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.

                      N 1 Reply Last reply May 31, 2016, 11:49 AM Reply Quote 0
                      • N
                        Nicolas Bricet
                        last edited by May 26, 2016, 6:52 AM

                        Thank you for your answer. The current client he works well on dernieère version of Mac OS X (El Capitan) or should also expect a future version of the client?

                        1 Reply Last reply Reply Quote 0
                        • N
                          Nicolas Bricet @Joe Schmitt
                          last edited by May 31, 2016, 11:49 AM

                          @Joe-Schmitt
                          Hello

                          We can work around the problem without waiting for the client update?
                          I just tested with version “El Capitan” I have the same worries.

                          Thank you for your help.
                          Have a good day.

                          1 Reply Last reply Reply Quote 0
                          • J
                            Joe Schmitt Senior Developer
                            last edited by May 31, 2016, 6:03 PM

                            @Nicolas-Bricet possibly… How many Mac’s do you have with the FOG Service installed on?

                            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.

                            N 2 Replies Last reply Jun 1, 2016, 7:01 AM Reply Quote 0
                            • N
                              Nicolas Bricet @Joe Schmitt
                              last edited by Jun 1, 2016, 7:01 AM

                              Hello,

                              Nothing on a single iMac with version “El captain” in order to make a master to deploy it in a room of 15 computers.
                              I have the same worries as Yosemite, it detects that the computer must integrate the area but after restarting it does not and it integrates done this repeatedly.

                              Thank you for your help, good day.

                              1 Reply Last reply Reply Quote 0
                              • N
                                Nicolas Bricet @Joe Schmitt
                                last edited by Jun 6, 2016, 9:46 AM

                                @Joe-Schmitt
                                Hello,

                                So it was not until the next version of the client, I can not do anything in the meantime?

                                Have a good day.
                                Cordially.

                                1 Reply Last reply Reply Quote 0
                                • J
                                  Joe Schmitt Senior Developer
                                  last edited by Joe Schmitt Jun 6, 2016, 7:22 PM Jun 7, 2016, 1:22 AM

                                  @Nicolas-Bricet if you manually stop the service you can apply the patch.

                                  Once stopped, edit /opt/fog-service/fog.daemon
                                  Add the line

                                  eval `/usr/libexec/path_helper -s`
                                  

                                  right after the #!/bin/bash line.

                                  The next time the service is started, it should join the domain properly.

                                  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.

                                  N 1 Reply Last reply Jun 7, 2016, 7:59 AM Reply Quote 0
                                  • N
                                    Nicolas Bricet @Joe Schmitt
                                    last edited by Nicolas Bricet Jun 7, 2016, 2:00 AM Jun 7, 2016, 7:59 AM

                                    Hello,

                                    That still does not work, here is the file that I modified and the LOG file when it tries to integrate the computer Actire Directory.
                                    There always comes aps, the computer reboots again.

                                    Meci advance.
                                    Cordially.

                                    #!/bin/bash
                                    eval `/usr/libexec/path_helper -s`
                                    ▒~@~K
                                    function startDaemon() {
                                            /opt/fog-service/control.sh start
                                            tail -f /dev/null &
                                            wait $!
                                    }
                                    ▒~@~K
                                    ▒~@~K
                                    function killDaemon() {
                                            /opt/fog-service/control.sh stop
                                            exit 0
                                    }
                                    ▒~@~K
                                    trap killDaemon SIGTERM
                                    trap killDaemon SIGKill
                                    ▒~@~K
                                    startDaemon;
                                    
                                    ------------------------------------------------------------------------------^M
                                    --------------------------------HostnameChanger-------------------------------^M
                                    ------------------------------------------------------------------------------^M
                                     07/06/2016 09:52 Client-Info Client Version: 0.10.6^M
                                     07/06/2016 09:52 Client-Info Client OS:      Mac^M
                                     07/06/2016 09:52 Client-Info Server Version: 7937^M
                                     07/06/2016 09:52 Middleware::Response Success^M
                                     07/06/2016 09:52 HostnameChanger Checking Hostname^M
                                     07/06/2016 09:52 HostnameChanger Hostname is correct^M
                                     07/06/2016 09:52 Power Creating shutdown command in 60 seconds^M
                                     07/06/2016 09:52 Bus {
                                      "self": true,
                                      "channel": "Power",
                                      "data": "{\n  \"action\": \"request\",\n  \"period\": 60,\n  \"options\": 2,\n  \"command\": \"-r +0 \\\"Host joined to Active Directory, restart required\\\"\",\n  \"message\": \"This computer needs to perform maintenance.\"\n}"
                                    }^M
                                     07/06/2016 09:52 Bus Emmiting message on channel: Power^M
                                    ------------------------------------------------------------------------------^M
                                    ^M
                                     07/06/2016 09:52 Service Power operation being requested, checking back in 30 seconds^M
                                     07/06/2016 09:53 Service Power operation being requested, checking back in 30 seconds^M
                                     07/06/2016 09:53 Power Creating shutdown request^M
                                     07/06/2016 09:53 Power Parameters: -r +0 "Host joined to Active Directory, restart required"^M
                                     07/06/2016 09:53 Bus {
                                      "self": true,
                                      "channel": "Power",
                                      "data": "{\n  \"action\": \"shuttingdown\"\n}"
                                    }^M
                                     07/06/2016 09:53 Bus Emmiting message on channel: Power^M
                                     07/06/2016 09:53 Service Power operation being requested, checking back in 30 seconds^M
                                     07/06/2016 09:53 Controller Stop^M
                                     07/06/2016 09:53 Service Stop requested^M
                                     07/06/2016 09:53 Bus {
                                      "self": true,
                                      "channel": "Status",
                                      "data": "{\n  \"action\": \"unload\"\n}"
                                    }^M
                                     07/06/2016 09:53 Bus Emmiting message on channel: Status^M
                                     07/06/2016 09:55 Main Overriding exception handling^M
                                     07/06/2016 09:55 Main Bootstrapping Zazzles^M
                                     07/06/2016 09:55 Controller Initialize^M
                                     07/06/2016 09:55 Entry Creating obj^M
                                     07/06/2016 09:55 Controller Start^M
                                    ^M
                                     07/06/2016 09:55 Service Starting service^M
                                     07/06/2016 09:55 Bus Became bus server^M
                                     07/06/2016 09:55 Bus {
                                      "self": true,
                                      "channel": "Status",
                                      "data": "{\n  \"action\": \"load\"\n}"
                                    }^M
                                     07/06/2016 09:55 Bus Emmiting message on channel: Status^M
                                    ^M
                                    ------------------------------------------------------------------------------^M
                                    --------------------------------Authentication--------------------------------^M
                                    ------------------------------------------------------------------------------^M
                                     07/06/2016 09:55 Client-Info Version: 0.10.6^M
                                     07/06/2016 09:55 Client-Info OS:      Mac^M
                                     07/06/2016 09:55 Middleware::Authentication Waiting for authentication timeout to pass^M
                                     07/06/2016 09:55 Middleware::Communication Download: http://@IP/fog/management/other/ssl/srvpublic.crt^M
                                     07/06/2016 09:55 Middleware::Communication ERROR: Could not download file^M
                                     07/06/2016 09:55 Middleware::Communication ERROR: Error: ConnectFailure (Network is unreachable)^M
                                     07/06/2016 09:55 Middleware::Authentication ERROR: Could not authenticate^M
                                     07/06/2016 09:55 Middleware::Authentication ERROR: Could not find file "/opt/fog-service/tmp/public.cer".^M
                                    ^M
                                    ------------------------------------------------------------------------------^M
                                    --------------------------------Authentication--------------------------------^M
                                    ------------------------------------------------------------------------------^M
                                     07/06/2016 09:55 Client-Info Version: 0.10.6^M
                                     07/06/2016 09:55 Client-Info OS:      Mac^M
                                     07/06/2016 09:55 Middleware::Authentication Waiting for authentication timeout to pass^M
                                     07/06/2016 09:56 Controller Stop^M
                                     07/06/2016 09:56 Service Stop requested^M
                                     07/06/2016 09:56 Middleware::Authentication ERROR: Could not authenticate^M
                                     07/06/2016 09:56 Middleware::Authentication ERROR: ^M
                                     07/06/2016 09:56 Bus {
                                      "self": true,
                                      "channel": "Status",
                                      "data": "{\n  \"action\": \"unload\"\n}"
                                    
                                    
                                    T 1 Reply Last reply Jun 7, 2016, 9:06 PM Reply Quote 0
                                    • T
                                      Tom S Developer @Nicolas Bricet
                                      last edited by Tom S Jun 7, 2016, 3:06 PM Jun 7, 2016, 9:06 PM

                                      @Nicolas-Bricet Just out of curiosity: could you try adding the device to the domain using just the admins name so:
                                      administrator
                                      not
                                      domain\administrator
                                      OS X sometimes does not like the appending of the domain. Along with the above recommendation could you please remove any OU settings you may have entered into FOG. This is for testing purposes, if it works then we can get started seeing why things went wrong. If this does not work I will send you a copy of a script to try to see if it can be done at all. I will try and test tomorrow at work on my domain.

                                      Good luck and please post your results!

                                      -T

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        Joe Schmitt Senior Developer
                                        last edited by Joe Schmitt Jun 19, 2016, 4:27 PM Jun 19, 2016, 10:27 PM

                                        v0.11.0 is released and should address some of the issues with Mac domain binding. Can you test when you get a chance?

                                        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.

                                        N 2 Replies Last reply Jun 20, 2016, 6:59 AM Reply Quote 0
                                        • N
                                          Nicolas Bricet @Joe Schmitt
                                          last edited by Jun 20, 2016, 6:59 AM

                                          @Joe-Schmitt

                                          Hello,

                                          That makes 10 days that could not make fasting test (being on several sites).
                                          The solution Tom S. has not worked.
                                          Possibility to have the final customer without reinstalling the latest version of SVN please?.

                                          Thank you in advance, good day.
                                          Cordially.

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          • First post
                                            Last post

                                          198

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project