Re: Email Password Expire Notifications



I have used Blat and Postie SMTP mailers in the past.

--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

http://www.joeware.net/win/ad3e.htm


George Evans wrote:
Very nice. I got an exported this, just need to figure out how to email this information. I guess a command line SMTP program.

Any thoughts?


"Joe Richards [MVP]" <humorexpress@xxxxxxxxxxx> wrote in message news:uZk06auwGHA.4576@xxxxxxxxxxxxxxxxxxxxxxx
For something like this I would recommend using findexpacc instead of oldcmp, I set it up specifically to be scripted for cases like this...

http://www.joeware.net/win/free/tools/findexpacc.htm




--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

http://www.joeware.net/win/ad3e.htm


Joe Kaplan (MVP - ADSI) wrote:
My company uses a scheduled task that runs some .NET code that finds the expiring passwords and emails the users based on our business rules for expiration notification. This code is implemented based on the code we show for finding password expiration on our book (see link below). The implementation of this is detailed in ch 10, which happens to be the freebie download chapter from the publisher. It is linked on the main page of the site. The code samples may also be downloaded for free.

If you don't want to write a little .NET app for this and would rather write a script, it will probably be easier for you to use a tool like Joe Richard's oldcmp tool (from www.joeware.net) than to try to execute the queries directly in script, as formating the queries is a little painful in VBS. You would just take the output from Joe's tool to feed that into your script for doing the notifications.

You might also be able to buy something if you don't want to write anything yourself. I can understand that, although I don't have an immediate recommendation. Part of the trick with this kind of thing is that you generally need to send your users to a website where they can change their password (since they don't log into the domain, they'll need some sort of UI for this!), so you'll need at least a little configuration flexibility with whatever tool you end up with.

HTH,

Joe K.



.



Relevant Pages


Loading