Rick E
2006-08-04 19:41:01 UTC
I've read in KB305144 that for 2003 Windows Servers
ouser.msDS-User-Account-Control-Computed sample has replaced
oUser.UserAccountControl for detecting locked out accounts but I can't seem
to access it via my scripts. Does anyone have any good sample code to read
this value and report if the user is locked out? Assume you have a valid
LDAP user object. I'm assuming this should all work even if I'm running it
on and XP PC against a 2003 AD DC?
ouser.msDS-User-Account-Control-Computed sample has replaced
oUser.UserAccountControl for detecting locked out accounts but I can't seem
to access it via my scripts. Does anyone have any good sample code to read
this value and report if the user is locked out? Assume you have a valid
LDAP user object. I'm assuming this should all work even if I'm running it
on and XP PC against a 2003 AD DC?