Re: Email Password Expire Notifications



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.







.



Relevant Pages

  • Re: Email Password Expire Notifications
    ... I haven't looked at Joe's tool suggestion but most command ... Co-author of "The .NET Developer's Guide to Directory Services ... Joe Richards Microsoft MVP Windows Server Directory Services ... write a script, it will probably be easier for you to use a tool like ...
    (microsoft.public.windows.server.active_directory)
  • Re: Send notification before PWDs expire
    ... that isn't as easy to do in script, ... Joe Kaplan-MS MVP Directory Services Programming ... take place in a production environment. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Query for accounts that will expire
    ... If I may -- go ahead and post one Joe, ... Dean Wells [MVP / Directory Services] ... doing this query in .NET is particularly easy too. ... Please post back if 1) you're interested in the script and 2) you ...
    (microsoft.public.windows.server.active_directory)
  • Re: NT4 password limited to 14 characters ?
    ... Joe K. ... Joe Kaplan-MS MVP Directory Services Programming ... characters length. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Oh.... Im just wondering whos seen this stumper...
    ... You can use the email for this message or get me at joe at my domain of joeware.net. ... Joe Richards Microsoft MVP Windows Server Directory Services ... at the time of the failure audit. ...
    (microsoft.public.windows.server.active_directory)