AD . , DC , , MD4, MD5, PBKDF2 (4096 * SHA1) . , (NTLM, Kerberos, Digest,...) -, AD .
AD: unicodePwd, dBCSPwd, lmPwdHistory, ntPwdHistory Credentials. LDAP ADSI. PowerShell, :
Get-ADReplAccount -SamAccountName John -Domain Contoso -Server LON-DC1
MD4 ( AKA NT) AD SAMR. , , PowerShell.
NT, PowerShell:
$hash = ConvertTo-NTHash (Read-Host -AsSecureString)
, , NT AD:
Set-SamAccountPasswordHash -SamAccountName john -Domain ADATUM -NTHash $hash -Server dc1.adatum.com
These commands can be used to transfer passwords between local and domain accounts or between AD and Samba. But be careful, Kerberos-AES and WDigest authentication will not work with this account, only NTLM and Kerberos-RC4.
source
share