reports "msDS-ExpirePasswordsOnSmartCardOnlyAccounts is not set" although it set correctly in AD
PingCastle 3.4.1.38 reports "msDS-ExpirePasswordsOnSmartCardOnlyAccounts is not set" although this attribute it set correctly to TRUE in the Active Directory configuration.
This powershell script reports the AD configuration
` $rootDN = (Get-ADRootDSE).configurationNamingContext $dirServicePath = "CN=Directory Service,CN=Windows NT,CN=Services,$rootDN"
Get-ADObject -Identity $dirServicePath -Properties msDS-ExpirePasswordsOnSmartCardOnlyAccounts | Select-Object DistinguishedName, msDS-ExpirePasswordsOnSmartCardOnlyAccounts `
as
` DistinguishedName msDS-ExpirePasswordsOnSmartCardOnlyAccounts
CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration,DC=CONTOSO,DC=COM True `
which shows msDS-ExpirePasswordsOnSmartCardOnlyAccounts is set corretly (domain name was obfuscated by me).