I guess what I want to know is what attrib you can set to just lock it out...
Thanks
On 4/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> wrote:
When testing, I simply use a "net use" command and provide the correct userID but wrong pw. Repeat until the account locks.Simple but effective :)neil
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Tom Kern
Sent: 18 April 2006 14:31
To: activedirectory
Subject: [ActiveDir] lockout account
How can you programatically lockout an account?Do i have to manipulate the userAccountControl attribute or lockoutTime attrib?Can you just do this using Adsiedit.msc or LDP.exe as well?Just curious.ThanksPLEASE READ: The information contained in this email is confidential andintended for the named recipient(s) only. If you are not an intendedrecipient of this email please notify the sender immediately and delete yourcopy from your system. You must not copy, distribute or take any furtheraction in reliance on it. Email is not a secure method of communication andNomura International plc ('NIplc') will not, to the extent permitted by law,accept responsibility or liability for (a) the accuracy or completeness of,or (b) the presence of any virus, worm or similar malicious or disablingcode in, this message or any attachment(s) to it. If verification of thisemail is sought then please request a hard copy. Unless otherwise statedthis email: (1) is not, and should not be treated or relied upon as,investment research; (2) contains views or opinions that are solely those ofthe author and do not necessarily represent those of NIplc; (3) is intendedfor informational purposes only and is not a recommendation, solicitation oroffer to buy or sell securities or related financial instruments. NIplcdoes not provide investment services to private customers. Authorised andregulated by the Financial Services Authority. Registered in Englandno. 1550505 VAT No. 447 2492 35. Registered Office: 1 St Martin's-le-Grand,London, EC1A 4NP. A member of the Nomura group of companies.