<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Search results matching tag 'iis authentication'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=iis+authentication&amp;orTags=0</link><description>Search results matching tag 'iis authentication'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>IIS Session Timeout problem</title><link>http://forums.iis.net/p/1160915/1916985.aspx#1916985</link><pubDate>Tue, 15 Sep 2009 10:36:52 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1916985</guid><dc:creator>Usman Sadjid</dc:creator><cs:applicationKey>security--1</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I am having problems trying to work out if it is possible to share iis session timouts accross web applications in the following scenario: -&lt;/p&gt;&lt;p&gt;In my environment there are 2 IIS Web Servers on the same network domain.&lt;/p&gt;&lt;p&gt;One of the servers will host a .NET web application.&amp;nbsp; The other will host a COTS document management system (OpenText Livelink Enterprise Server) which is not a .NET web application.&amp;nbsp; Both web applications will be using windows authentication.&lt;br /&gt;&lt;/p&gt;&lt;p&gt; The COTS system will access the .NET web application such that when a User logs on to the COTS system, the .NET web application is accessed either via a web service or through a .NET aspx webpage.&amp;nbsp; The problem we have is that our client has a requirement in order to maintain iis timeouts accross both applications such that the same timeout period will effectively timeout a user from both the COTS system and the .NET web application at the same time.&amp;nbsp; By timeout, I mean require the user to re-authenticate.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;My first question is, is it possible to pass an authentication token through from the COTS web application to the .NET web application in this scenario.&amp;nbsp; Secondly and more importantly, is it possible to handle iis session timeouts as described above?&amp;nbsp; If so, could you please direct me to any articles that may be of use, as I can&amp;#39;t seem to find anything.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Any help would be greatly appreciated. &lt;/p&gt;&lt;p&gt;Thanks in advance. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Virtual Directory Issue</title><link>http://forums.iis.net/p/1159221/1910194.aspx#1910194</link><pubDate>Tue, 14 Jul 2009 02:29:09 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910194</guid><dc:creator>bosepehr@hotmail.com</dc:creator><cs:applicationKey>iis7_-_security--1</cs:applicationKey><description>&lt;p&gt;Hi everyone,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m new to this forum and look forward to learning more about IIS and it&amp;#39;s members.&lt;/p&gt;
&lt;p&gt;I have a IIS&amp;nbsp;7&amp;nbsp;security problem ( at least I think it is a security issue) that&amp;nbsp;have been trying to solve and create a virtual directory, yet unsuccessful!! I&amp;#39;m hoping to find the solution with your help. &lt;/p&gt;
&lt;p&gt;I followed all the procedures from &lt;a href="http://msdn.microsoft.com/en-us/library/bb763173.aspx"&gt;http://msdn.microsoft.com/en-us/library/bb763173.aspx&lt;/a&gt;&amp;nbsp;and added the permissions to the&amp;nbsp;folder including NETWORK_SERVICE, IIS_IUSRS, IUSR, enabled Directory Browsing, Anonymous Authentication, ASP.NET Impersonation and still get the following error:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; 
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;3007&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;A compilation error has occurred.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;7/13/2009 5:28:27 PM&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;7/14/2009 12:28:27 AM&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;7bd08615fd6a4fe0ad7caf24c1a9cc02&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;3&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;1&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;0&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;/LM/W3SVC/1/ROOT/DotNetNuke-4-128920049056070000&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;Full&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;/DotNetNuke&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;C:\DotNetNuke\&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;My-PC&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;5936&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;w3wp.exe&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;NT AUTHORITY\NETWORK SERVICE&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;HttpCompileException&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;vbc : (0): error BC30138: Unable to create temp file in path &amp;#39;C:\Windows\TEMP\&amp;#39;: Access is denied. &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;http://localhost/DotNetNuke/default.aspx&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;/DotNetNuke/default.aspx&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;::1&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;False&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;NT AUTHORITY\NETWORK SERVICE&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;7&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;NT AUTHORITY\NETWORK SERVICE&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;False&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table class="" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td class="" style="FONT-SIZE:11px;VERTICAL-ALIGN:top;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;;"&gt;at System.Web.Compilation.AssemblyBuilder.Compile() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) at System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) at System.Web.Compilation.BuildManager.CompileCodeDirectories() at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I really appreciate your help and look forward to reply.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Problems with Kerberos/NTLM persistence</title><link>http://forums.iis.net/p/1158616/1907802.aspx#1907802</link><pubDate>Sun, 21 Jun 2009 20:36:42 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907802</guid><dc:creator>jongrg</dc:creator><cs:applicationKey>security--1</cs:applicationKey><description>&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;I am working on a project trying to improve performance for a web based system running on IIS 6.0 and Win Server 2003. All users are using IE 6&lt;br style="mso-special-character:line-break;" /&gt;&lt;br style="mso-special-character:line-break;" /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;The System consists of different parts. Both classic ASP and ASP.&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;NET&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;. The load on the server is not very heavy and it is a single server (no web farm) environment.&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;br /&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;System is utilized by users from different locations all over the world. (e.g. R.S.A.. &lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;Japan&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;, &lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;Chile&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;…) &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;Users on remote locations are suffering from latency and in some cases also poor bandwidth.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;System uses Integrated Windows Authentication with users on a Global Active Directory.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;By inspecting HTTP traffic and from observing log files we have seen that Kerberos has not been properly configured. User has been forced to re authenticate for each file requested (N.B. Not just every page requested but every file e.g. JS-files, gifs, css-files etc.) This problem we have been able to find a solution for. Setting the &lt;b style="mso-bidi-font-weight:normal;"&gt;EnableKerbAuthPersist &lt;/b&gt;entry took care of that problem.&lt;br /&gt;&lt;br /&gt;Not all users however authenticates with Kerberos. Users from some locations authenticates with NTLM. I know that there are limitations with Kerberos causing some users to utilize NTLM instead of Kerberos. For example some users may connect to the system behind a proxy or they may belong to a non trusted domain.&lt;br /&gt;&lt;br /&gt;For NTML it seems as authentication persistence has been enabled all the time.&lt;br /&gt;&lt;br /&gt;Still we have problems with, NTLM users, as well as Kerberos users having to reauthenticate after a sequence of successful requests.&lt;br /&gt;&lt;br /&gt;The reauthentication of request does not show a common pattern. We have not been able to find that it occurs after a certain time or after a certain number of bytes downloaded. It seems that reauthentication is always (we think) enforced for the same files for the same user. Other users however are being forced to re authenticate on different files.&lt;br /&gt;&lt;br /&gt;We have also noticed that for users authenticating with NTML it seems that persistence does not always work very well at all. At first it looks as persistence is not enabled on the IIS, because the user is being forced to reauthenticate for every request. When the user suddenly is redirected by the application from the part running classic ASP to another part running ASP.&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;NET&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt; then suddenly authentication persistency works as expected.&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;I know that the user is not supposed to have to re authenticate as long as the subsequent requests are being done on the same &lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;TCP&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt; session.&lt;br /&gt;&lt;br /&gt;It seems that in our case the &lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;TCP&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt; session is for some reason being closed. &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;I know that if the user is behind a proxy and the proxy is configured to use session pooling this could cause this behaviour. However I do not think that this is the problem in this case. The reason I find proxy session pooling unlikely to be the cause of the problems is that for the same user (always behind the same proxy) sometimes the persistence works well. If proxy session pooling would be the cause than the user would have to reauthnticate every request and that is not the case.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;strong&gt;My questions are:&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;When using IWA is this behaviour the best I could expect?&lt;br /&gt;What are the most likely causes of the &lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;TCP&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt; sessions being closed?&lt;br /&gt;Is there an IIS configuration that we could do to prevent this?&lt;br /&gt;If not known, what is the best way of finding the causes for this behaviour?&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Any help or suggestions would be greatly appreciated.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;TIA&lt;br /&gt;/Johan&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>password protect directory</title><link>http://forums.iis.net/p/1157298/1902394.aspx#1902394</link><pubDate>Thu, 30 Apr 2009 16:00:15 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1902394</guid><dc:creator>bshedenhelm</dc:creator><cs:applicationKey>security--1</cs:applicationKey><description>&lt;p&gt;I am trying to password protect a directory using IIS-6.&amp;nbsp; I have unchecked anonymous access for the site and I have added my domain group that i want to have access to the root directory of the site.&amp;nbsp; Here is the problem.&amp;nbsp; IIS prompts me to log in if i use the fully qualified name but not if i use just the site name.&amp;nbsp; example: in IE type intranet will go to site using anonymous login but type intranet.example.com and get prompted to login.&amp;nbsp; This only happens with internet explorer, if i try it with firefox or chrome it will prompt me everytime to login.&lt;/p&gt;
&lt;p&gt;Im pretty new&amp;nbsp;to IIS,&amp;nbsp;any ideas?&lt;/p&gt;</description></item><item><title>Access this computer from network and IUSR_machine</title><link>http://forums.iis.net/p/1157218/1902083.aspx#1902083</link><pubDate>Tue, 28 Apr 2009 09:29:08 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1902083</guid><dc:creator>Michael089</dc:creator><cs:applicationKey>security--1</cs:applicationKey><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;can anyone explain to me why IUSR_machine needs the &amp;quot;Access this computer from network&amp;quot; account right?&amp;nbsp;&lt;/p&gt;&lt;p&gt;As far as I understand IIS&amp;#39;s impersonation, the app pool identity (network service or whatever) impersonates this user to access local ressource (e.g. html file) during anonymous http requests.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Furthermore, MS says about &amp;quot;Access this computer from network&amp;quot;:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;quote&amp;gt;The ability to interact with remote Windows computers
					 requires the &lt;b&gt;Access this computer from network&lt;/b&gt; user right. Examples of such network operations include the
					 replication of Active Directory between domain controllers in a common domain
					 or forest, authentication requests to domain controllers from users and from
					 computers, and access to shared folders, to printers, and to other system
					 services that are located on remote computers on the network.&amp;lt;/quote&amp;gt; - see KB823659&lt;/p&gt;&lt;p&gt;&amp;nbsp;Another article on WindowsITPro even states (however, I don&amp;#39;t know how reliable this source is):&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;quote&amp;gt;&lt;span class="article"&gt;&lt;span id="intelliTxt"&gt;However the &lt;i&gt;Access this computer from the network&lt;/i&gt;
user right has no effect on services such as World Wide Web Publishing,
Telnet, and Terminal Services.&amp;lt;/quote&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;However, I tested removing the user/account right from IUSR_machine by explicitly setting the Deny access this computer from the network option. From that moment on I was not able to access my IIS site and got Logon failures (ID 534) in the event logs, which state that IIS_machine is missing the requested logon type.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Anyone knows why this user right is needed or what to change so that it is no longer needed? &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>System.Security.SecurityException: Request for the permission of type System.Security.Permissions.StrongNameIdentityPermission</title><link>http://forums.iis.net/p/1157193/1901964.aspx#1901964</link><pubDate>Mon, 27 Apr 2009 12:02:47 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1901964</guid><dc:creator>londons_lion007</dc:creator><cs:applicationKey>security--1</cs:applicationKey><description>&lt;p&gt;&lt;a class="author" href="http://social.msdn.microsoft.com/Forums/en-US/user?user=Londons_lion007" rel="nofollow"&gt;&lt;img src="http://i4.social.microsoft.com/Image.avatr?size=Small&amp;amp;user=Londons_lion007&amp;amp;id=00000000-0000-0000-0000-000000000000" alt="" /&gt;&lt;/a&gt;&lt;span class="fullbadge"&gt;&lt;a class="author" href="http://social.msdn.microsoft.com/Forums/en-US/user?user=Londons_lion007" rel="nofollow"&gt;&lt;span class="name"&gt;Londons_lion007&lt;/span&gt;&lt;/a&gt;&lt;span class="medals"&gt;&lt;img class="icon medaloff" alt="Users Medals" src="http://i4.social.microsoft.com/Forums/resources/images/trans.gif" /&gt;&lt;img class="icon medaloff" alt="Users Medals" src="http://i4.social.microsoft.com/Forums/resources/images/trans.gif" /&gt;&lt;img class="icon medaloff" alt="Users Medals" src="http://i4.social.microsoft.com/Forums/resources/images/trans.gif" /&gt;&lt;img class="icon medaloff" alt="Users Medals" src="http://i4.social.microsoft.com/Forums/resources/images/trans.gif" /&gt;&lt;img class="icon medaloff" alt="Users Medals" src="http://i4.social.microsoft.com/Forums/resources/images/trans.gif" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="date"&gt;Thursday, April 23, 2009 9:32:35 AM&lt;/span&gt; &lt;/p&gt;
&lt;div class="helpful"&gt;&lt;span&gt;&lt;img class="icon helpful" alt="Helpful Votes" src="http://i4.social.microsoft.com/Forums/resources/images/trans.gif" /&gt;&lt;span&gt;&lt;font size="4"&gt;0 votes&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="body"&gt;
&lt;h2&gt;&lt;em&gt;Hi&amp;nbsp; &lt;br /&gt;I have windows 2003 server with sp2 installed and using IIS 6.0 with .net framework 1.1.4322. When i try to view web page through iis i get following err. Can someone suggest me solution. I have gi ven full trust to all level&amp;nbsp; Enterprise, machine and user level then also&amp;nbsp;getting following error msg.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thanks In advance&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Londons_lion007 &amp;nbsp;&lt;br /&gt;Security Exception&lt;/em&gt;&lt;/h2&gt;&lt;span style="FONT-FAMILY:Arial, Helvetica, Geneva, SunSans-Regular, sans-serif;"&gt;&lt;strong&gt;&lt;span style="FONT-FAMILY:Verdana;"&gt;Description: &lt;/span&gt;&lt;/strong&gt;The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application&amp;#39;s trust level in the configuration file. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="FONT-FAMILY:Verdana;"&gt;Exception Details: &lt;/span&gt;&lt;/strong&gt;System.Security.SecurityException: Request for the permission of type System.Security.Permissions.StrongNameIdentityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="FONT-FAMILY:Verdana;"&gt;Source Error:&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;
&lt;table class="" bgcolor="#ffffcc"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;code&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="FONT-FAMILY:Verdana;"&gt;Stack Trace:&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;
&lt;table class="" bgcolor="#ffffcc"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;code&gt;&lt;pre&gt;[SecurityException: Request for the permission of type System.Security.Permissions.StrongNameIdentityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.]

   System.Xml.XmlTextReader..ctor(String url, XmlNameTable nt) +0

   System.Xml.XmlTextReader..ctor(String url) +65

   System.Web.Configuration.XmlUtil.OpenXmlTextReader() +129

   System.Web.Configuration.HttpConfigurationRecord..ctor(String filename, HttpConfigurationRecord parent, Boolean inheritable, String path, String mappedPhysicalPath) +823

&lt;/pre&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;
&lt;hr /&gt;
&lt;strong&gt;&lt;span style="FONT-FAMILY:Verdana;"&gt;Version Information:&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407 &lt;/span&gt;&lt;/div&gt;</description></item><item><title>Intergrated Windows Authentication fails if too many groups in AD account</title><link>http://forums.iis.net/p/1156336/1898183.aspx#1898183</link><pubDate>Wed, 25 Mar 2009 21:33:39 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1898183</guid><dc:creator>RayJG</dc:creator><cs:applicationKey>security--1</cs:applicationKey><description>&lt;p&gt;Hello all, &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve had this setup working for 2+ years now where IIS and Tomcat are on the same server and configured to eliminate the need for the user to have to log into the application.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;We area running, Windows 2003 Server, IIS 6.0 and &lt;br /&gt;Tomcat 5.5.17 (integrated into IIS via the isapi_redirect2.dll)&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Last week some users reported that they were getting prompted&amp;nbsp;for credientials, and if they entered their id and pw, they still could not get in. &lt;/p&gt;
&lt;p&gt;I am finding these errors in the IIS log&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;2009-03-25 20:03:26 W3SVC998577302 10.71.2.41 GET /jakarta/isapi_redirector2.dll - 80&amp;nbsp; ***domain/user Id Ip address commented out***&amp;nbsp;1Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506.30;+.NET+CLR+3.0.04506.648;+.NET+CLR+3.0.4506.2152;+.NET+CLR+3.5.30729) 500 0 0&lt;/p&gt;
&lt;p&gt;2009-03-25 20:03:26 W3SVC998577302 ******* GET /jakarta/isapi_redirector2.dll - 80 -&amp;nbsp;********** &amp;nbsp;Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506.30;+.NET+CLR+3.0.04506.648;+.NET+CLR+3.0.4506.2152;+.NET+CLR+3.5.30729) 401 1 0&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We discovered that the affected accounts recently had a lot of AD groups added to their account, and that if that account is a member of more than 76 groups, the login process fails as described above. &lt;/p&gt;
&lt;p&gt;If we remove a&amp;nbsp;group&amp;nbsp;(any group, or combinations of ) so that the&amp;nbsp;quantity they are a member of is less that 76, the login process works fine. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>IIS 7 on vista home premium</title><link>http://forums.iis.net/p/1155936/1896470.aspx#1896470</link><pubDate>Thu, 12 Mar 2009 08:06:22 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1896470</guid><dc:creator>jstallard</dc:creator><cs:applicationKey>iis7_-_security--1</cs:applicationKey><description>&lt;p&gt;I am playing around with IIS 7 on vista home premium to setup a website. &lt;/p&gt;
&lt;p&gt;I created a test.html page and placed it into the wwwroot directory. I can access it by navigating to localhost. However when accessing from a public network I keep getting the username and password logon window.&lt;/p&gt;
&lt;p&gt;I have configured anonymous authentication is enabled with&amp;nbsp;the ISS-IUSR account for anonymous access. with all other authentication disabled.&lt;/p&gt;
&lt;p&gt;This did not work, so I Created a local account with a password for the anonymous authentication, with the same results. &lt;/p&gt;
&lt;p&gt;Any suggestions on how to configure anonymous access to a web page would be helpful.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Allow local user on SSO forms–based authentication</title><link>http://forums.iis.net/p/1155171/1893014.aspx#1893014</link><pubDate>Wed, 11 Feb 2009 11:27:19 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1893014</guid><dc:creator>c21Vince</dc:creator><cs:applicationKey>security--1</cs:applicationKey><description>&lt;p&gt;&amp;nbsp;Hi all,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;m using IIS5.1 and am setting a forms–based authentication for a multi site platform. For now, I can make it work but still cannot manage to allow a local user to be allowed.&lt;/p&gt;&lt;p&gt;Eventhoug I config the web.config file this way by example:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;allow roles=&amp;quot;Administrators&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;allow roles=&amp;quot;.\Administrators&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;allow users=&amp;quot;.\Administrator&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;allow users=&amp;quot;.\administrator&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;deny users=&amp;quot;?&amp;quot;/&amp;gt; &lt;/p&gt;&lt;p&gt;The local user will just have a blank page without any redirection or direct access. &lt;/p&gt;&lt;p&gt;&amp;nbsp;I could not find any proof what I want to do is doable but I should, shouldn&amp;#39;t it?&lt;/p&gt;&lt;p&gt;What am I missing ?&lt;/p&gt;&lt;p&gt;Thanks a lot for any help.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Vince &lt;br /&gt;&lt;/p&gt;</description></item><item><title>COMException (0x80072020): An operations error occurred. HELP</title><link>http://forums.iis.net/p/1155010/1892505.aspx#1892505</link><pubDate>Thu, 05 Feb 2009 21:39:37 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1892505</guid><dc:creator>grub425</dc:creator><cs:applicationKey>security--1</cs:applicationKey><description>&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;I have an application that is using LDAP only with Single Sign On running on a windows 2003 server, running iis 6.0&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;My Domain Functional Level: Windows 2003 Server, Forest Functional level: Windows 2003&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;My web.config authentication is set:&lt;br /&gt;&amp;lt;authentication mode=&amp;quot;Windows&amp;quot;/&amp;gt;&lt;br /&gt;&amp;lt;identity impersonate=&amp;quot;true&amp;quot;/&amp;gt; &lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;Users login, retrieve a document and are logged off. In a 2 hrs period 1250 users will login and out of the application and 10 users will fail. The same user will have access documents minutes before the failure and minutes after the failure. Error message:&lt;br /&gt;Warning: GetUserDN(&amp;#39;testuser&amp;#39;) from &amp;#39;LDAP://DC=domain,DC=com&amp;#39;: System.Runtime.InteropServices.COMException (0x80072020): An operations error occurred. &lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;On the web server I will see the user authenticated with NTLM instead of Kerberos &lt;br style="mso-special-character:line-break;" /&gt;&lt;br style="mso-special-character:line-break;" /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;Bad Entry:&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;Logon Type: 3&lt;br /&gt;Logon Process: NtLmSsp &lt;br /&gt;Authentication Package: NTLM&lt;br /&gt;Workstation Name: TESTMACHINE&lt;br /&gt;Logon GUID: -&lt;br style="mso-special-character:line-break;" /&gt;&lt;br style="mso-special-character:line-break;" /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;Vs:&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;Good Entry: Logon Type: 3&lt;br /&gt;Logon Process: Kerberos&lt;br /&gt;Authentication Package: Kerberos&lt;br /&gt;Workstation Name: &lt;br /&gt;Logon GUID: {ad208202-d700-fcfc-5782-713441f31ef8} &lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;If I run and test webpage from the user workstation to retrieve the users credential It returns:&amp;nbsp; You have connected from your browser to IIS using Kerberos authentication and verifies that the SPN is ok.&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;Also the .ini file for the application open a login file which has modify rights for all users but when the login fails using a filemon trace I see an access denied error for the log. &lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;Kerberos settings in the domain are:&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;Policy Setting &lt;br /&gt;Enforce user logon restrictions Enabled &lt;br /&gt;Maximum lifetime for service ticket 60 minutes &lt;br /&gt;Maximum lifetime for user ticket 7 hours &lt;br /&gt;Maximum lifetime for user ticket renewal 10 days &lt;br /&gt;Maximum tolerance for computer clock synchronization 5 minutes &lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;Server and service accounts&amp;nbsp;have delegation set to trust this computer&amp;nbsp;for delegation to any service (kerberso only).&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;Below I have included the code for the function.&amp;nbsp; Any suggestions on what to try or set to resolve this? &lt;/font&gt;&lt;/span&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;font face="Times New Roman"&gt;&lt;span style="FONT-SIZE:10pt;COLOR:blue;FONT-FAMILY:Consolas;"&gt;Imports&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt; System.DirectoryServices&lt;/span&gt;&lt;/font&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:green;"&gt;&amp;#39;------------------------------------------------------------------------------------&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:green;"&gt;&amp;#39; Returns user distinguished and full names for given user account name.&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:green;"&gt;&amp;#39;------------------------------------------------------------------------------------&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;Private&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;Function&lt;/span&gt; GetUserDN(&lt;span style="COLOR:blue;"&gt;ByRef&lt;/span&gt; name &lt;span style="COLOR:blue;"&gt;As&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;String&lt;/span&gt;, &lt;span style="COLOR:blue;"&gt;ByRef&lt;/span&gt; outFullName &lt;span style="COLOR:blue;"&gt;As&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;String&lt;/span&gt;) &lt;span style="COLOR:blue;"&gt;As&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;String&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GetUserDN = &lt;span style="COLOR:blue;"&gt;String&lt;/span&gt;.Empty&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;Dim&lt;/span&gt; logMsg &lt;span style="COLOR:blue;"&gt;As&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;String&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:blue;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;Dim&lt;/span&gt; adsPath &lt;span style="COLOR:blue;"&gt;As&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;String&lt;/span&gt; = adsPathPrefix &amp;amp; searchNC&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logMsg = &lt;span style="COLOR:blue;"&gt;String&lt;/span&gt;.Format(&lt;span style="COLOR:#a31515;"&gt;&amp;quot;Searching &amp;#39;{0}&amp;#39; in &amp;#39;{1}&amp;#39;&amp;quot;&lt;/span&gt;, name, adsPath)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DbugLog(TypeName(&lt;span style="COLOR:blue;"&gt;Me&lt;/span&gt;), logMsg, gc_LogDebug4)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;Try&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;Dim&lt;/span&gt; searchRoot &lt;span style="COLOR:blue;"&gt;As&lt;/span&gt; DirectoryEntry = &lt;span style="COLOR:blue;"&gt;New&lt;/span&gt; DirectoryEntry(adsPath)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; searchRoot.AuthenticationType = authType &lt;span style="COLOR:green;"&gt;&amp;#39; default is AuthenticationTypes.Secure&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; searchRoot.Options.Referral = refChasingOption &lt;span style="COLOR:green;"&gt;&amp;#39; default is ReferralChasingOption.None&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;Dim&lt;/span&gt; searcher &lt;span style="COLOR:blue;"&gt;As&lt;/span&gt; DirectorySearcher = &lt;span style="COLOR:blue;"&gt;New&lt;/span&gt; DirectorySearcher(searchRoot) &lt;span style="COLOR:green;"&gt;//// THIS IS A .NET OBJECT, System.DirectoryServices.DirectorySearcher ////&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; searcher.Filter = &lt;span style="COLOR:blue;"&gt;String&lt;/span&gt;.Format(&lt;span style="COLOR:#a31515;"&gt;&amp;quot;(&amp;amp;(objectClass=user)(objectCategory=person)(sAMAccountName={0}))&amp;quot;&lt;/span&gt;, name)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; searcher.PropertiesToLoad.Add(&lt;span style="COLOR:#a31515;"&gt;&amp;quot;cn&amp;quot;&lt;/span&gt;)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; searcher.PropertiesToLoad.Add(&lt;span style="COLOR:#a31515;"&gt;&amp;quot;distinguishedName&amp;quot;&lt;/span&gt;)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; searcher.SearchScope = SearchScope.Subtree&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;Dim&lt;/span&gt; result &lt;span style="COLOR:blue;"&gt;As&lt;/span&gt; SearchResult = searcher.FindOne() &lt;span style="COLOR:red;"&gt;///// THIS CALL FAILS /////&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="COLOR:blue;"&gt;If&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;Not&lt;/span&gt; result &lt;span style="COLOR:blue;"&gt;Is&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;Nothing&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;Then&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFullName = result.Properties(&lt;span style="COLOR:#a31515;"&gt;&amp;quot;cn&amp;quot;&lt;/span&gt;)(0)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GetUserDN = result.Properties(&lt;span style="COLOR:#a31515;"&gt;&amp;quot;distinguishedName&amp;quot;&lt;/span&gt;)(0)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logMsg = &lt;span style="COLOR:blue;"&gt;String&lt;/span&gt;.Format(&lt;span style="COLOR:#a31515;"&gt;&amp;quot;Found &amp;#39;{0}&amp;#39;: CN=&amp;#39;{1}&amp;#39;, DN=&amp;#39;{2}&amp;#39;&amp;quot;&lt;/span&gt;, name, outFullName, GetUserDN)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;Else&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logMsg = &lt;span style="COLOR:blue;"&gt;String&lt;/span&gt;.Format(&lt;span style="COLOR:#a31515;"&gt;&amp;quot;&amp;#39;{0}&amp;#39; not found&amp;quot;&lt;/span&gt;, name)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;End&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;If&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DbugLog(TypeName(&lt;span style="COLOR:blue;"&gt;Me&lt;/span&gt;), logMsg, gc_LogDebug4)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;Catch&lt;/span&gt; ex &lt;span style="COLOR:blue;"&gt;As&lt;/span&gt; Exception&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logMsg = ex.ToString()&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logMsg = &lt;span style="COLOR:blue;"&gt;String&lt;/span&gt;.Format(&lt;span style="COLOR:#a31515;"&gt;&amp;quot;GetUserDN(&amp;#39;{0}&amp;#39;) from &amp;#39;{1}&amp;#39;: {2}&amp;quot;&lt;/span&gt;, name, adsPath, logMsg.Remove(logMsg.IndexOf(vbCrLf &amp;amp; vbCrLf)))&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DbugLog(TypeName(&lt;span style="COLOR:blue;"&gt;Me&lt;/span&gt;), logMsg, gc_LogWarning)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;End&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;Try&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;End&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;Function&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;The ”name” parameter is obtained from Windows as the name of the user the current thread is impersonating – the delegated end user. That’s how GetUserDN() is called:&lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;font size="3"&gt;&amp;nbsp;. . .&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;font size="3"&gt;&amp;nbsp;. . .&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span style="COLOR:blue;"&gt;If&lt;/span&gt; authName = &lt;span style="COLOR:#a31515;"&gt;&amp;quot;&amp;quot;&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;And&lt;/span&gt; authPassword = &lt;span style="COLOR:#a31515;"&gt;&amp;quot;&amp;quot;&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;Then&lt;/span&gt; &lt;span style="COLOR:green;"&gt;&amp;#39; Single Sign-On&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; userName = System.Security.Principal.WindowsIdentity.GetCurrent.Name&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logMsg = &lt;span style="COLOR:blue;"&gt;String&lt;/span&gt;.Format(&lt;span style="COLOR:#a31515;"&gt;&amp;quot;Will authenticate as &amp;#39;{0}&amp;#39; (no input credentials, using thread identity)&amp;quot;&lt;/span&gt;, userName)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; userName = userName.Remove(0, userName.LastIndexOf(&lt;span style="COLOR:#a31515;"&gt;&amp;quot;\&amp;quot;c&lt;/span&gt;) + 1)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;Else&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:#a6a6a6;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; userName = authName&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:#a6a6a6;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logMsg = String.Format(&amp;quot;Will authenticate as &amp;#39;{0}&amp;#39; (using input credentials)&amp;quot;, IIf(authDomain = &amp;quot;&amp;quot;, authName, authDomain &amp;amp; &amp;quot;\&amp;quot; &amp;amp; authName))&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;End&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;If&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DbugLog(TypeName(&lt;span style="COLOR:blue;"&gt;Me&lt;/span&gt;), logMsg, gc_LogDebug4)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:green;"&gt;&amp;#39; Bind to rootDSE with authentication&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rootDSE = BindToObject(&lt;span style="COLOR:#a31515;"&gt;&amp;quot;rootDSE&amp;quot;&lt;/span&gt;)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;If&lt;/span&gt; rootDSE &lt;span style="COLOR:blue;"&gt;Is&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;Nothing&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;Then&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;Exit&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;Function&lt;/span&gt; &lt;span style="COLOR:green;"&gt;&amp;#39; ====&amp;gt; Could not bind or authentincate - logon failed. &lt;/span&gt;&lt;span style="COLOR:red;"&gt;///// THIS CALL SUCCEEDS SINCE WE ALWAYS ENTER GetUserDN() BELOW ////&lt;/span&gt;&lt;span style="COLOR:green;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:green;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;If&lt;/span&gt; searchNC = &lt;span style="COLOR:#a31515;"&gt;&amp;quot;&amp;quot;&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;Then&lt;/span&gt; &lt;span style="COLOR:green;"&gt;&amp;#39; Find the default naming context. //// THIS IS THE SEARCHBASE, OPTIONALLY SET IN vssystem.ini: [LDAP] SEARCHBASE=your_base_DN ////&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; searchNC = rootDSE.Properties(&lt;span style="COLOR:#a31515;"&gt;&amp;quot;defaultNamingContext&amp;quot;&lt;/span&gt;)(0)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;End&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;If&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:blue;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:green;"&gt;&amp;#39; Find the user&amp;#39;s distinguished and full names&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;Dim&lt;/span&gt; fullName &lt;span style="COLOR:blue;"&gt;As&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;String&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;Dim&lt;/span&gt; userDN &lt;span style="COLOR:blue;"&gt;As&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;String&lt;/span&gt; = GetUserDN(userName, fullName)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;If&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;String&lt;/span&gt;.IsNullOrEmpty(userDN) &lt;span style="COLOR:blue;"&gt;Then&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;Exit&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;Function&lt;/span&gt; &lt;span style="COLOR:green;"&gt;&amp;#39; ====&amp;gt; User not found - logon failed.&lt;/span&gt;&lt;/font&gt;&lt;/span&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;font size="3"&gt;&amp;nbsp;. . .&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Consolas;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;font size="3"&gt;&amp;nbsp;. . .&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>