Re: Email Password Expire Notifications
- From: "George Evans" <noreply@xxxxxxxxxxxxx>
- Date: Fri, 18 Aug 2006 12:33:27 -0700
I've checked it out, nice program but it doesn't seem to be able to write to
a text file nor is there any way to easily notify users. I'm not looking to
write code but a off the shelf solution.
I'm pretty surprised that someone hasn't written something or that Microsoft
hasn't included this option.
"Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx> wrote
in message news:uBMl7DvwGHA.3264@xxxxxxxxxxxxxxxxxxxxxxx
If you want to write a script, Windows comes with pretty decent SMTP
client COM object library called cdosys.dll that is easy to incorporate in
a script. The documentation on using it begins here:
http://msdn.microsoft.com/library/?url=/library/en-us/cdosys/html/f928be29-59e2-4341-86c9-31842075775a.asp?frame=true
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services
Programming"
http://www.directoryprogramming.net
--
"George Evans" <noreply@xxxxxxxxxxxxx> wrote in message
news:OZIyf9uwGHA.4576@xxxxxxxxxxxxxxxxxxxxxxx
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.
.
- Follow-Ups:
- Re: Email Password Expire Notifications
- From: Paul Williams [MVP]
- Re: Email Password Expire Notifications
- From: Herb Martin
- Re: Email Password Expire Notifications
- References:
- Email Password Expire Notifications
- From: George Evans
- Re: Email Password Expire Notifications
- From: Joe Kaplan \(MVP - ADSI\)
- Re: Email Password Expire Notifications
- From: Joe Richards [MVP]
- Re: Email Password Expire Notifications
- From: George Evans
- Re: Email Password Expire Notifications
- From: Joe Kaplan \(MVP - ADSI\)
- Email Password Expire Notifications
- Prev by Date: Re: Folder Redirection
- Next by Date: Re: Interforest trust
- Previous by thread: Re: Email Password Expire Notifications
- Next by thread: Re: Email Password Expire Notifications
- Index(es):
Relevant Pages
|