I am trying to get SetupConfiguration command to work on OSX. I send the admin name and password to the device. The device recognizes the account and asks for the password, however for some reason it is not accepting the password that we enter. I am using the same password that was used in creation of the passwordHash key, sent in the SetupConfiguration command.
I think there is something I am missing while creating the passwordHash and would like to know if somebody had successfully tried this and could post an example of the SetupConfiguration command containing the passwordHash along with the password used to create the hash.
Here's what I have in my plist:
<key>passwordHash</key>
<dict>
<key>SALTED-SHA512-PBKDF2</key>
<dict>
<key>entropy</key>
<string>[PBKDF2 key derivation of a supplied password]</string>
<key>salt</key>
<string>[32 byte randomized salt]</integer>
<key>iterations</key>
<integer>20000</integer>
</dict>
</dict>
Hi I'm facing this Exact issue when I try implementing AccountConfiguration command for macOS may I know could you able to implement this and what have u done FYI: I'm using C# .NET