Look at the Ppassword age of an account.  I don't have the code handy, but
providing you require users to change their passwords at regular intervals
(say...  45 days), it should do the trick.

Steven

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 6:02 AM
To: [EMAIL PROTECTED]
Subject: WIN32::NetAdmin - Disabling an account through PERL



I am using the NetAdmin - UserGetAttributes to query user stats from the
PDC.  I need to disable accounts that have not been used in the last 90
days.  Is there a function that I am overlooking in the NetAdmin module that
can perform this task for me?  If not, do you know of another module or
script that will disable an account?  Thank you for your time and knowledge,

Jonathan Keevis
Information Security
FRAS - Richmond
(804) 697-3761

"We can't get there from here..."
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to