IsAccountLocked and LDAP

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I think IsAcountBlocked does not work with Active Directory if the conection is an LDAP:// configuration. Am I right? Does someoe have an example with WinNT://

Thanks
Jason
 
I think IsAcountBlocked does not work with Active Directory if the conection is an LDAP:// configuration. Am I right?

It doesn't, since it's a property of the IADsUser OBJECT, not the AD
user object per se.

You will need to check the LDAP "lockoutTime" attribute to determine
whether the account is locked out or not.

I would STRONGLY recommend *NOT* to use the WinNT provider - it's
deprecated, and only provided for those very few cases where WinNT4
domain compatibility is still needed.

Marc

================================================================
Marc Scheuner May The Source Be With You!
Bern, Switzerland m.scheuner(at)inova.ch
 
Back
Top