kODAuthenticationTypeSetNTHash

Static kODAuthenticationTypeSetNTHash 

Source
pub unsafe static kODAuthenticationTypeSetNTHash: Option<&'static ODAuthenticationType>
Available on crate feature CFOpenDirectoryConstants only.
Expand description

Set the NT hash for a user.

Set the NT hash for a user. This method requires prior authentication. Setting the NT hash for an account instead of the plain text password can cause the Windows password to get out-of-sync with the password for other services. Therefore, this authentication method should only be used when there is no other choice.

Authentication array has following items in order: user name in UTF8 encoding, NT hash buffer

See also Apple’s documentation