|
That’s exactly the situation. Thank you very much!! J
Rich
From: Matjaž Ladava
[mailto:[EMAIL PROTECTED]
I have an interesting observation about this one. If by default your MaxPwd policy is set to 42 days, then you will get (using the LDAP) 0 for LowPart and -8640 for High Part. If you change your MaxPwd policy to something else (ex. 45 days), then you will get -1956036608 for LowPart and -9053 for HighPart. But if you change your policy back to 42 days, then you will get 178683904 for LowPart and -8449 for HighPart which is different from the original setting. Anyway, the calculation is always right if you omit is Lowpart=0 part of the script and use
MaxPwdAge = ABS((objMaxPwd.HighPart * 2^32) + objMaxPwd.LowPart)/(600000000 * 1440)
it should give you the right answer.
Regards
Matjaz Ladava, MCSE, MCSA, MCT, MVP
-------APPLEBEE'S INTERNATIONAL, INC. CONFIDENTIALITY NOTICE------- PRIVILEGED / CONFIDENTIAL INFORMATION may be contained in this message or any attachments. This information is strictly confidential and may be subject to attorney-client privilege. This message is intended only for the use of the named addressee. If you are not the intended recipient of this message, unauthorized forwarding, printing, copying, distribution, or using such information is strictly prohibited and may be unlawful. If you have received this in error, you should kindly notify the sender by reply e-mail and immediately destroy this message. Unauthorized interception of this e-mail is a violation of federal criminal law. Applebee's International, Inc. reserves the right to monitor and review the content of all messages sent to and from this e-mail address. Messages sent to or from this e-mail address may be stored on the Applebee's International, Inc. e-mail system. |
Title: [ActiveDir] maxPwdAge property on AD2003
- [ActiveDir] maxPwdAge property on AD2003 Rich Milburn
- Re: [ActiveDir] maxPwdAge property on AD2003 Matjaž Ladava
- Rich Milburn
