join active directory using fog on ubuntu /linux



  • I will try that and write back if I have any issues. Thanks! :)

    edit: I have configured a snapin pack (joindomain.sh and my keytab file) and specified the path to the executable. so far it looks quite good, but now I have another problem - my fog client on the client system (ubuntu 16.04) always starts as active (exited). restarting the service does not help changing this. because of that my snapins won’t work porperly. any ideas on this? :(

    this is my log file of the client installation:

     3/7/2017 1:38 PM Middleware::Communication Download: http://10.83.167.14/fog/management/other/ca.cert.der
     3/7/2017 1:39 PM Data::RSA Injecting root CA: 
    

    here is the output of service FOGService status:

    ● FOGService.service - FOGService
       Loaded: loaded (/lib/systemd/system/FOGService.service; enabled; vendor prese
       Active: active (exited) since Die 2017-03-07 13:42:15 CET; 39s ago
      Process: 933 ExecStart=/opt/fog-service/control.sh start (code=exited, status=
     Main PID: 933 (code=exited, status=0/SUCCESS)
       CGroup: /system.slice/FOGService.service
    
    Mär 07 13:42:15 foguser systemd[1]: Starting FOGService...
    Mär 07 13:42:15 foguser control.sh[933]: fog-service is running....Now Stopping
    Mär 07 13:42:15 foguser control.sh[933]: /opt/fog-service/control.sh: line 19: k
    Mär 07 13:42:15 foguser systemd[1]: Started FOGService.
    
    

    these are my fog client logs:

    
     3/7/2017 1:39 PM Main Overriding exception handling
     3/7/2017 1:39 PM Main Bootstrapping Zazzles
     3/7/2017 1:39 PM Controller Initialize
     3/7/2017 1:39 PM Zazzles Creating main thread
     3/7/2017 1:39 PM Zazzles Service construction complete
     3/7/2017 1:39 PM Controller Start
    
     3/7/2017 1:39 PM Service Starting service
     3/7/2017 1:39 PM Bus Became bus server
     3/7/2017 1:39 PM Bus {
      "self": true,
      "channel": "Status",
      "data": "{\n  \"action\": \"load\"\n}"
    }
     3/7/2017 1:39 PM Bus Emmiting message on channel: Status
     3/7/2017 1:39 PM Service Invoking early JIT compilation on needed binaries
    
    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     3/7/2017 1:39 PM Client-Info Version: 0.11.9
     3/7/2017 1:39 PM Client-Info OS:      Linux
     3/7/2017 1:39 PM Middleware::Authentication Waiting for authentication timeout to pass
     3/7/2017 1:39 PM Middleware::Communication Download: http://10.83.167.14/fog/management/other/ssl/srvpublic.crt
     3/7/2017 1:39 PM Middleware::Authentication ERROR: Could not authenticate
     3/7/2017 1:39 PM Middleware::Authentication ERROR: Value cannot be null.
    Parameter name: authority
    
    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     3/7/2017 1:39 PM Client-Info Version: 0.11.9
     3/7/2017 1:39 PM Client-Info OS:      Linux
     3/7/2017 1:39 PM Middleware::Authentication Waiting for authentication timeout to pass
    
    

    I installed the client according to the manual for “Debian 8+, Ubuntu 13.10+, and derivatives” from https://wiki.fogproject.org/wiki/index.php?title=FOG_Client without noticing any error.

    any ideas?


  • Senior Developer

    @justeverything If you install the FOG client on your linux image, you can use snapins to run a bash script that joins a machine to your domain (snapins automatically get deployed when a host is imaged).


Log in to reply
 

409
Online

6.6k
Users

14.0k
Topics

132.5k
Posts