Fail

Const HOSTING_OU  = "OU=Users,OU=Main,dc=myinternaldomain,dc=org"

I've tried variations too, like just "OU=Users, OU=Main"

Looks like it's failing on this line:
Set objRoot = GetObject ("LDAP://RootDSE")
 strDomainDN = objRoot.Get ("defaultNamingContext")

Going back to just "main" (not OU=Main, just 'main') always works but it's too 
broad for my needs.

From: Michael B. Smith [mailto:mich...@smithcons.com]
Sent: Friday, July 23, 2010 7:18 PM
To: NT System Admin Issues
Subject: RE: No upcoming password expiration notice for VPN users

You have to do it in LDAP format, not x500 format.

OU=Users,OU=Main etc.etc.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: David Lum [mailto:david....@nwea.org]
Sent: Friday, July 23, 2010 6:50 PM
To: NT System Admin Issues
Subject: RE: No upcoming password expiration notice for VPN users

Thanks!  I tried to specify a 2nd level OU and it didn't work

This works:
Const HOSTING_OU  = "Main"

This doesn't:
Const HOSTING_OU  = "Main\Users"

Dave

From: Michael B. Smith [mailto:mich...@smithcons.com]
Sent: Friday, July 23, 2010 12:20 PM
To: NT System Admin Issues
Subject: RE: No upcoming password expiration notice for VPN users

Correct.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: David Lum [mailto:david....@nwea.org]
Sent: Friday, July 23, 2010 3:18 PM
To: NT System Admin Issues
Subject: RE: No upcoming password expiration notice for VPN users

So it doesn't need to run on an Exchange server, just a box with CDO?
http://www.microsoft.com/downloads/details.aspx?familyid=e17e7f31-079a-43a9-bff2-0a110307611e&displaylang=en#Requirements


Dave

From: Michael B. Smith [mailto:mich...@smithcons.com]
Sent: Friday, July 23, 2010 12:07 PM
To: NT System Admin Issues
Subject: RE: No upcoming password expiration notice for VPN users

<http://theessentialexchange.com/blogs/michael/archive/2007/11/13/sending-an-e-mail-to-users-whose-password-is-about-to-expire.aspx>

You need CDO installed on the computer where you run the script.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: David Lum [mailto:david....@nwea.org]
Sent: Friday, July 23, 2010 3:02 PM
To: NT System Admin Issues
Subject: RE: No upcoming password expiration notice for VPN users


 *   Anyone know if this one: 
http://www.windowsitpro.com/article/passwords/how-can-i-use-a-script-to-determine-password-expiration-dates-for-users-in-a-domain-or-an-organizational-unit-ou-and-send-an-email-message-to-accounts-whose-passwords-expire-soon-.aspx
Works on E2K7?

Dave

From: Andrew S. Baker [mailto:asbz...@gmail.com]
Sent: Thursday, July 08, 2010 7:51 AM
To: NT System Admin Issues
Subject: Re: No upcoming password expiration notice for VPN users

See also:  http://support.microsoft.com/kb/937011

You can script password expiration notices to your users, or provide them with 
alternate solutions:

 *   http://www.sharewareconnection.com/netwrix-password-expiration-notifier.htm
 *   
http://pcwin.com/Utilities/System_Utilities/JiJi_Password_Expiration_Notification/screen.htm
 *   
http://www.windowsitpro.com/article/passwords/how-can-i-use-a-script-to-determine-password-expiration-dates-for-users-in-a-domain-or-an-organizational-unit-ou-and-send-an-email-message-to-accounts-whose-passwords-expire-soon-.aspx


-ASB: http://XeeSM.com/AndrewBaker
On Thu, Jul 8, 2010 at 10:31 AM, David Lum 
<david....@nwea.org<mailto:david....@nwea.org>> wrote:
How do you guys handle VPN users not getting a "password will expire in xx 
days", or have any of you seen this behavior? Someone on Expert's Exchange 
describes our issue perfectly: "I have remote user's running Windows XP Home 
and they use VPN to connect to my Win2000 Server running Small Business Server 
2000.  When they connect they enter their username/password.  All of this works 
just fine.  The problem I'm having is that they don't get notified that their 
password is going to expire until it is expired.  They can change it at that 
time, but I want them to get the warning. "

Which took me here: http://support.microsoft.com/kb/221977

We have Exchange 2007 and I'm wondering if this still applies.
David Lum // SYSTEMS ENGINEER
NORTHWEST EVALUATION ASSOCIATION
(Desk) 971.222.1025 // (Cell) 503.267.9764






























~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to