Joining a Windows domain

8 views
Skip to first unread message

Deo Breathnu

unread,
May 21, 2019, 8:06:59 PM5/21/19
to Puppet Users
I have use the Windows DSC module to add a window 2016 server to a domain. 

dsc_xcomputer { 'domain_membership':
  dsc_name       => $facts['hostname'],
  dsc_domainname => $domain_name,
  dsc_credential => {
   'user'     => "${username}@${domain_name}",        
   'password' => $sensitive_password      
   },      
  dsc_joinou     => $machine_ou,
   }
    reboot { 'after_domain_membership' :
    subscribe => Dsc_xcomputer['domain_membership'],
}
}
   
   
   After the reboot the Server joins the domain, but I am unable to log in with my domain credentials to the server. 
   I am part of the admin group for the domain. Looking at the active directory it appears that the server has joined, but that I don't seem to have rights to remote access this server.  
   If I join the domain manually without puppet, I have no problem accessing the server.  
   Any idea's?
Reply all
Reply to author
Forward
0 new messages