DSC: server rejected client credentials

asked 2017-06-15 16:57:04 -0600

xyker gravatar image

I am trying to use the DSC Puppet module to create a replicate domain controller. However when running dsc_xaddomaincontroller, I am returned with "The server has rejected the client credentials".

I am passing into "domainadministratorcredential" and "safemodeadministratorpassword" something similar to the following:

dscuser { ‘sampleadmin’: dscusername => 'Administrator', dscdescription => 'administrative’, dscensure => present, dscpassword => { 'user' => pwhash(‘sampledomain\administrator','SHA-512', 'mysalt'), 'password' => pwhash(‘SuperPassword’, 'SHA-512','mysalt') }, dscpasswordneverexpires => false, dsc_disabled => true, }

Any insight into this?

edit retag flag offensive close merge delete