Maybe we can hope to see "Monad-o-matic" come out from the scripting guys
:-) Robert Williams -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of joe Sent: Wednesday, December 21, 2005 1:51 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] password changer > I could also argue that automation one of most important tasks > in system administration and therefore scripting is a 'must know' > for nearly every sys admin Hi, I'm joe, I guess we haven't met. For this exercise you may call me the choir. > (think about MSH - it will IMO _enforce_ this requirement) I completely disagree. MSH will not make it any easier or push any more people into scripting unless MS does something to significantly simply it, specifically the object model. It is more geared towards existing scripters or programmers. Its big benefit, IMO, will be to make it so things that previously had to be done via compiled code can be done in script. Something I have recommended to Iain M. in email is that they have all GUI tools output MONAD output for every operation so that non-scripters (and heck scripters too) can get a ready made script of what they just did and then tweak it to do other things. joe -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Suhovey Sent: Wednesday, December 21, 2005 1:34 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] password changer > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:ActiveDir- > [EMAIL PROTECTED] On Behalf Of joe > Sent: Tuesday, December 20, 2005 6:39 AM > To: ActiveDir@mail.activedir.org > Subject: RE: [ActiveDir] password changer > > I think AlM is pointing out that it isn't generic. Everyone would need to > encode their rules into the script which quite frankly and sadly is well > beyond the capability of a majority of the admins. Your pint is (unfortunately) all valid. However, since OP is already using VBScript, it would be not too much of an effort to make yourself comfortable with regexp's. I could also argue that automation one of most important tasks in system administration and therefore scripting is a 'must know' for nearly every sys admin (think about MSH - it will IMO _enforce_ this requirement). But this would be well out of the scope of the topic. > Oh, the API call is NetValidatePasswordPolicy > > http://msdn.microsoft.com/library/default.asp?url=/library/en- > us/netmgmt/net > mgmt/netvalidatepasswordpolicy.asp I'm not a programmer so I can't say for sure but it seems that this function does not return specific information about which exactly part of complexity requirements a password does not comply with. Since we are talking about custom app here it would be nice to provide an app user with such information. Manual input validation with regexp's addresses this at least partially (save password history). -- Al List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/