<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Send email notification for password expiration to &#8220;remote&#8221; users</title>
	<atom:link href="http://www.flobee.net/send-email-notification-for-password-expiration-to-remote-users/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flobee.net/send-email-notification-for-password-expiration-to-remote-users/</link>
	<description>The consequence of not having six hydrocoptic marzelvanes.</description>
	<lastBuildDate>Thu, 01 Dec 2011 16:35:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Neal</title>
		<link>http://www.flobee.net/send-email-notification-for-password-expiration-to-remote-users/comment-page-1/#comment-1161</link>
		<dc:creator>Neal</dc:creator>
		<pubDate>Tue, 09 Nov 2010 16:25:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.flobee.net/?p=9#comment-1161</guid>
		<description>I have around 100 users in 1 OU. The code is working fine for 1 user if I eliminate the for loop as follows:

Set objGroup = GetObject(&quot;LDAP://&quot; &amp; GROUPDN)
objFile.WriteLine &quot;Executed at &quot; &amp; Now() &amp; vbCRLF
objFile.WriteLine &quot;Enumerating members of &quot; &amp; objGroup.distinguishedName &amp; &quot;:&quot; &amp; vbCRLF
&#039;For Each member in objGroup.member
	Set objMember = GetObject(&quot;LDAP://CN=Tom,OU=Dev,DC=BKEXCH,DC=COM&quot; &amp; member) 
	objFile.WriteLine objMember.distinguishedname
	strDomain = Mid(objMember.distinguishedname,InStr(objMember.distinguishedname, &quot;DC=&quot;))
	numdays = GetMaximumPasswordAge (strDomain)
	Call ProcessUser (numDays)
&#039;Next</description>
		<content:encoded><![CDATA[<p>I have around 100 users in 1 OU. The code is working fine for 1 user if I eliminate the for loop as follows:</p>
<p>Set objGroup = GetObject(&#8220;LDAP://&#8221; &amp; GROUPDN)<br />
objFile.WriteLine &#8220;Executed at &#8221; &amp; Now() &amp; vbCRLF<br />
objFile.WriteLine &#8220;Enumerating members of &#8221; &amp; objGroup.distinguishedName &amp; &#8220;:&#8221; &amp; vbCRLF<br />
&#8216;For Each member in objGroup.member<br />
	Set objMember = GetObject(&#8220;LDAP://CN=Tom,OU=Dev,DC=BKEXCH,DC=COM&#8221; &amp; member)<br />
	objFile.WriteLine objMember.distinguishedname<br />
	strDomain = Mid(objMember.distinguishedname,InStr(objMember.distinguishedname, &#8220;DC=&#8221;))<br />
	numdays = GetMaximumPasswordAge (strDomain)<br />
	Call ProcessUser (numDays)<br />
&#8216;Next</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.flobee.net/send-email-notification-for-password-expiration-to-remote-users/comment-page-1/#comment-1160</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Tue, 09 Nov 2010 15:47:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.flobee.net/?p=9#comment-1160</guid>
		<description>Neal, how many users do you have in the group?  If there is only one member in a group, it won&#039;t be returned as a collection.  You can work around this by retrieving the attribute with the GetEx method, which always returns the value(s) as an array.  If there is only one member in the group you can verify the existing code by simply adding someone else to it.</description>
		<content:encoded><![CDATA[<p>Neal, how many users do you have in the group?  If there is only one member in a group, it won&#8217;t be returned as a collection.  You can work around this by retrieving the attribute with the GetEx method, which always returns the value(s) as an array.  If there is only one member in the group you can verify the existing code by simply adding someone else to it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neal</title>
		<link>http://www.flobee.net/send-email-notification-for-password-expiration-to-remote-users/comment-page-1/#comment-1159</link>
		<dc:creator>Neal</dc:creator>
		<pubDate>Tue, 09 Nov 2010 10:00:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.flobee.net/?p=9#comment-1159</guid>
		<description>Hi Scott,
I am trying to implement the above code but I am getting the following error at line 30 i.e. For each member in objGroup.member
ERROR: Object not a collection
Code: 800A01C3
Source: Microsoft VBScript runtime error</description>
		<content:encoded><![CDATA[<p>Hi Scott,<br />
I am trying to implement the above code but I am getting the following error at line 30 i.e. For each member in objGroup.member<br />
ERROR: Object not a collection<br />
Code: 800A01C3<br />
Source: Microsoft VBScript runtime error</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.flobee.net/send-email-notification-for-password-expiration-to-remote-users/comment-page-1/#comment-1152</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Wed, 06 Oct 2010 15:18:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.flobee.net/?p=9#comment-1152</guid>
		<description>There are multiple ways to get the dn, but a non-scripting method is to just use ADSI Edit, navigate to the object, open the properties, and scroll to the distinguishedName attribute.  You can just copy and paste it from there.</description>
		<content:encoded><![CDATA[<p>There are multiple ways to get the dn, but a non-scripting method is to just use ADSI Edit, navigate to the object, open the properties, and scroll to the distinguishedName attribute.  You can just copy and paste it from there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://www.flobee.net/send-email-notification-for-password-expiration-to-remote-users/comment-page-1/#comment-1151</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Wed, 06 Oct 2010 14:17:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.flobee.net/?p=9#comment-1151</guid>
		<description>Can you tell us how we can located the DN of the group we wish to enumerate?</description>
		<content:encoded><![CDATA[<p>Can you tell us how we can located the DN of the group we wish to enumerate?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scott</title>
		<link>http://www.flobee.net/send-email-notification-for-password-expiration-to-remote-users/comment-page-1/#comment-275</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Thu, 20 Aug 2009 19:18:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.flobee.net/?p=9#comment-275</guid>
		<description>It is included in IIS6, but not in IIS7.  Users can still change their password in IIS7 through OWA, but I believe it doesn&#039;t use the iisadmpwd files that are in \windows\system32\inetsrv.  Originally, I did customize the aexp2b.asp page to obfuscate it from hacker attempts and to allow only authorized users in a particular group to change their password.  I have since opened it to everyone that has logged into OWA.  There are articles about implementing iisadmpwd in IIS6 for OWA.  If you can&#039;t find them, or still need help, let me know.</description>
		<content:encoded><![CDATA[<p>It is included in IIS6, but not in IIS7.  Users can still change their password in IIS7 through OWA, but I believe it doesn&#8217;t use the iisadmpwd files that are in \windows\system32\inetsrv.  Originally, I did customize the aexp2b.asp page to obfuscate it from hacker attempts and to allow only authorized users in a particular group to change their password.  I have since opened it to everyone that has logged into OWA.  There are articles about implementing iisadmpwd in IIS6 for OWA.  If you can&#8217;t find them, or still need help, let me know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://www.flobee.net/send-email-notification-for-password-expiration-to-remote-users/comment-page-1/#comment-274</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Thu, 20 Aug 2009 16:14:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.flobee.net/?p=9#comment-274</guid>
		<description>Thank you for this script. How did you make the webpage that you use to have users change their own passwords? I am needing to do something similar. Thank you.</description>
		<content:encoded><![CDATA[<p>Thank you for this script. How did you make the webpage that you use to have users change their own passwords? I am needing to do something similar. Thank you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

