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?