<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Web Wiz Support and Community Forums : Playing with NT authentication and AD</title>
  <link>https://forums.webwiz.net/</link>
  <description><![CDATA[This is an XML content feed of; Web Wiz Support and Community Forums : Web Wiz Forums : Playing with NT authentication and AD]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 08 Apr 2026 17:57:37 +0000</pubDate>
  <lastBuildDate>Fri, 27 Oct 2006 18:08:00 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.08</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forums.webwiz.net/RSS_post_feed.asp?TID=20557</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Web Wiz Support and Community Forums]]></title>
   <url>https://forums.webwiz.net/forum_images/web_wiz_forums.png</url>
   <link>https://forums.webwiz.net/</link>
  </image>
  <item>
   <title><![CDATA[Playing with NT authentication and AD : Just tried out that change, and...]]></title>
   <link>https://forums.webwiz.net/playing-with-nt-authentication-and-ad_topic20557_post116282.html#116282</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=25052">synistyr</a><br /><strong>Subject:</strong> 20557<br /><strong>Posted:</strong> 27&nbsp;October&nbsp;2006 at 6:08pm<br /><br /><DIV></DIV>Just tried out that change, and it seems to be working great!<DIV>&nbsp;</DIV><DIV>Many thanks!</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 27 Oct 2006 18:08:00 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/playing-with-nt-authentication-and-ad_topic20557_post116282.html#116282</guid>
  </item> 
  <item>
   <title><![CDATA[Playing with NT authentication and AD : Lonissa in the first post had...]]></title>
   <link>https://forums.webwiz.net/playing-with-nt-authentication-and-ad_topic20557_post114267.html#114267</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=24799">Jono</a><br /><strong>Subject:</strong> 20557<br /><strong>Posted:</strong> 19&nbsp;September&nbsp;2006 at 5:10pm<br /><br /><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Lonissa in the first post had a requirement for not displaying the Student’s number (which was their logon ID &#091;SAMaccountName&#093;). The following code modified from version 8.04 should utilise the “FullName” attribute from the WinNT provider. It works on my test network, which isn’t particularly hardened. <EM>Watch out for line wrap!</EM></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>&nbsp;</FONT></o:p></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>I’ve also got some idea’s on utilising Active Directory to populate other information such as email address and then running a script to ensure that information in the two databases are synchronised (i.e. people deleted from AD can be disabled/removed from the Forum and will sync name changes/email addresses, etc.) – this would require an account on AD as IIS6 (Win2003) is more secure than 5.1 (win2000).</FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>&nbsp;</FONT></o:p></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>&nbsp;</FONT></o:p></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT face="Verdana, Arial, Helvetica, sans-serif"><FONT size=2><B style="mso-bidi-font-weight: normal">Issue</B>: When Active Directory integration is enabled, the user’s SAMaccountName is displayed– this makes it difficult to identify the user.</FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>&nbsp;</FONT></o:p></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT face="Verdana, Arial, Helvetica, sans-serif"><FONT size=2><B style="mso-bidi-font-weight: normal">Solution</B>: This can be changed by modifying the code in “functions_windows_authentication.asp” starting at line 137 from:</FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'">'Use the last part of the windows authentication (bit without domain) as the forum username<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'">If InStrRev(strAuthenticatedUser, "\") = 0 Then<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>strUserName = strAuthenticatedUser<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'">Else<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>strUserName = Mid(strAuthenticatedUser, InStrRev(strAuthenticatedUser, "\")+1, Len(strAuthenticatedUser))<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'">End If<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>To:</FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'">'* This change utilises the WINNT provider to obtain the user's "FullName" rather than SAMaccountName<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'">'* NOTE: Variable declarations are within the modified to contain all changes<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'">'Set error trapping<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'">On Error Resume Next<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'">'Declare the object to hold user information<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'">Dim objUser<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'">'Bind to the object - we need to swap \ with / for binding<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'">Set objUser = GetObject("WinNT://" &amp; replace(strAuthenticatedUser,"\","/"))<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'">'If an error has occured while binding, use SAMaccountName<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'">If Err.Number &lt;&gt; 0 Then<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>'Use the last part of the windows authentication (bit without domain) as the forum username<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>If InStrRev(strAuthenticatedUser, "\") = 0 Then<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>strUserName = strAuthenticatedUser<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Else<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lucida C&#111;nsole'"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>strUserName = Mid(strAuthenticatedUser, InStrRev(strAuthenticatedUser, "\")+1, Len(strAuthenticatedUser))<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: 'Lu]]>
   </description>
   <pubDate>Tue, 19 Sep 2006 17:10:11 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/playing-with-nt-authentication-and-ad_topic20557_post114267.html#114267</guid>
  </item> 
  <item>
   <title><![CDATA[Playing with NT authentication and AD : looks like the code got trimmed.this...]]></title>
   <link>https://forums.webwiz.net/playing-with-nt-authentication-and-ad_topic20557_post110603.html#110603</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=9949">dpyers</a><br /><strong>Subject:</strong> 20557<br /><strong>Posted:</strong> 11&nbsp;July&nbsp;2006 at 6:07pm<br /><br />looks like the code got trimmed.<br>this should have been on the bottom og f it<br><br><br>Select Case VarType(CurrentUser.MemberOf)<br>&nbsp;&nbsp;&nbsp; Case 8<br>&nbsp; strGroups = LCase(CurrentUser.MemberOf)<br>&nbsp;&nbsp;&nbsp; Case 8204<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; strGroups = LCase(Join(CurrentUser.MemberOf))<br>End Select<br><br>Response.Write strGroups<br><br>]]>
   </description>
   <pubDate>Tue, 11 Jul 2006 18:07:20 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/playing-with-nt-authentication-and-ad_topic20557_post110603.html#110603</guid>
  </item> 
  <item>
   <title><![CDATA[Playing with NT authentication and AD : I hate to tell you this, but the...]]></title>
   <link>https://forums.webwiz.net/playing-with-nt-authentication-and-ad_topic20557_post110586.html#110586</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=24281">Lonissa</a><br /><strong>Subject:</strong> 20557<br /><strong>Posted:</strong> 11&nbsp;July&nbsp;2006 at 2:05pm<br /><br />I hate to tell you this, but the Windows Scripting Host network object has nothing to do with active directory.&nbsp; In fact, we used this in our logon scripts back in an NT 4 environment.<br><br>Your code is simply reading the username and computer name from the network object, you can't use that to find out what AD group someone belongs to.<br><br>Here is the code I'm using to connect to AD:<br><br><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> Set strConn = Server.CreateObject("ADODB.Connection")<br>strConn.provider ="ADsDSOObject"<br>strConn.Properties("User ID") = "username"<br>strConn.Properties("Password") = "password"<br>strConn.open "Active Directory Provider"<br><br>strSQL = "SELECT displayname, mail, telephonenumber, title, department FROM 'GC://OU=Staff,OU=People,DC=domain,DC=com' WHERE name ='" &amp; strAuthenticatedUser &amp; "'"</td></tr></table><br><br><br>]]>
   </description>
   <pubDate>Tue, 11 Jul 2006 14:05:16 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/playing-with-nt-authentication-and-ad_topic20557_post110586.html#110586</guid>
  </item> 
  <item>
   <title><![CDATA[Playing with NT authentication and AD :  I ran across this code today...]]></title>
   <link>https://forums.webwiz.net/playing-with-nt-authentication-and-ad_topic20557_post110552.html#110552</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=9949">dpyers</a><br /><strong>Subject:</strong> 20557<br /><strong>Posted:</strong> 11&nbsp;July&nbsp;2006 at 3:41am<br /><br />I ran across this code today for determining what AD groups someone belongs to<br><table width="99%"><tr><td><pre class="BBcode"><br>Dim COURTHOUSE, WshNetwork, existingDrives, ADSysInfo, CurrentUser, <br>UserName, ComputerName<br>Dim strGroups, oGroup,x<br><br>Set WshNetwork = CreateObject("WScript.Network")<br><br>Set existingDrives = WshNetwork.EnumNetworkDrives<br><br>Set ADSysInfo = CreateObject("ADSystemInfo")<br>Response.Write ADSysInfo.UserName &amp; "&lt;BR&gt;&lt;BR&gt;"<br>Set CurrentUser = GetObject("LDAP://" &amp; ADSysInfo.UserName)&nbsp;&nbsp;&nbsp; <br><br>UserName = LCase(wshNetwork.UserName)<br><br>ComputerName = LCase(WshNetwork.ComputerName)<br><br>Response.Write UserName &amp; " " &amp; ComputerName<br></pre></td></tr></table><br><span style="font-size:10px"><br /><br />Edited by dpyers - 11&nbsp;July&nbsp;2006 at 3:42am</span>]]>
   </description>
   <pubDate>Tue, 11 Jul 2006 03:41:20 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/playing-with-nt-authentication-and-ad_topic20557_post110552.html#110552</guid>
  </item> 
  <item>
   <title><![CDATA[Playing with NT authentication and AD : Hmm, I don&amp;#039;t want all my...]]></title>
   <link>https://forums.webwiz.net/playing-with-nt-authentication-and-ad_topic20557_post110255.html#110255</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=24281">Lonissa</a><br /><strong>Subject:</strong> 20557<br /><strong>Posted:</strong> 06&nbsp;July&nbsp;2006 at 3:45pm<br /><br />Hmm, I don't want all my users to be moderators.&nbsp; I've made some users administrators and moderators by changing the group_id field in tblAuthor.<br><br>The problem is, only the default Admin account can get to the admin control panel (but not change member profile settings) and only the users I've set to admins/moderators are able to change member profiles (but not access the admin control panel).<br><br>I think what I'll have to do is bypass the admin login for the control panel, and have it simply check if the group_id is 1 to allow them in...<br>]]>
   </description>
   <pubDate>Thu, 06 Jul 2006 15:45:36 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/playing-with-nt-authentication-and-ad_topic20557_post110255.html#110255</guid>
  </item> 
  <item>
   <title><![CDATA[Playing with NT authentication and AD : Lonissa, I&amp;#039;m having the same...]]></title>
   <link>https://forums.webwiz.net/playing-with-nt-authentication-and-ad_topic20557_post110251.html#110251</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=24279">kastigeer</a><br /><strong>Subject:</strong> 20557<br /><strong>Posted:</strong> 06&nbsp;July&nbsp;2006 at 2:56pm<br /><br />Lonissa, I'm having the same issue as you and am also keen to get this working - I've managed to get AD users in the moderators group (by making this the default selected group) and this should do most of what we want...<DIV>&nbsp;</DIV><DIV>There appear to be two issues at the moment - the reverting to the AD autologon user when trying to use admin functions (as you have already mentioned) as well as the system appears to not recognise the group that an AD user is in when the logon (at least I suspect...) - even though I can logon with an AD user who is in the moderators group (it shows this in the Members admin area) they don't have moderators permissions (checking the blnModerator field and it shows as false)</DIV><DIV>&nbsp;</DIV><DIV>I hope we can get something working here as this is the best looking forum I have found (and I've done a lot of looking!) and would like to support the development.</DIV><DIV>&nbsp;</DIV><DIV>Barry</DIV>]]>
   </description>
   <pubDate>Thu, 06 Jul 2006 14:56:24 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/playing-with-nt-authentication-and-ad_topic20557_post110251.html#110251</guid>
  </item> 
  <item>
   <title><![CDATA[Playing with NT authentication and AD :  I have been using admin.asp...]]></title>
   <link>https://forums.webwiz.net/playing-with-nt-authentication-and-ad_topic20557_post110240.html#110240</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=24281">Lonissa</a><br /><strong>Subject:</strong> 20557<br /><strong>Posted:</strong> 06&nbsp;July&nbsp;2006 at 12:42pm<br /><br />I have been using admin.asp to log in.&nbsp; Sometimes I'm able to enter the Administrator username, sometimes it autopopulates the username field with the authenticated username.<br><br>When I am able to log in as administrator, I can't change any member profile information, the Administrator and Moderator functions is missing (I think opening a new window causes it to revert back to the logged in user, not administrator).<br><br>I'll play around with AUTH_PASSWORD today and let you know the results.&nbsp; I&nbsp; may have to pull the password from AD instead, but I don't really like that idea.<br><br>Thanks for your quick replies :)<br><br>Edit: When I make a windows authenticated user an admin and try to log in to the admin control panel, it changes the user_code field for some reason (from domain/user format to userxxxxx).&nbsp; Then I get an error because it tries to re-add the domain/user that doesn't exist in the DB and it won't create a duplicate.<br><br>From what I've read, AUTH_PASSWORD only has a value if you've enabled Basic Authentication (password is sent in clear text).&nbsp; I'd rather not go that route, but now that I think of it, having no password is probably best when we get users changing passwords in NT, otherwise I'd have to find some way to update the password in the DB every time they change their password.<br><span style="font-size:10px"><br /><br />Edited by Lonissa - 06&nbsp;July&nbsp;2006 at 2:37pm</span>]]>
   </description>
   <pubDate>Thu, 06 Jul 2006 12:42:48 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/playing-with-nt-authentication-and-ad_topic20557_post110240.html#110240</guid>
  </item> 
  <item>
   <title><![CDATA[Playing with NT authentication and AD : 1. To login as the forum admin...]]></title>
   <link>https://forums.webwiz.net/playing-with-nt-authentication-and-ad_topic20557_post110217.html#110217</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 20557<br /><strong>Posted:</strong> 06&nbsp;July&nbsp;2006 at 9:43am<br /><br />1. To login as the forum admin navigate directly to the file admin.asp, the&nbsp; login as the forum administrator<br><br>2. AUTH_PASSWORD should get the password, if not it maybe that your AD system is setup slightly different and you may need to find an alternative way to get the password.]]>
   </description>
   <pubDate>Thu, 06 Jul 2006 09:43:06 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/playing-with-nt-authentication-and-ad_topic20557_post110217.html#110217</guid>
  </item> 
  <item>
   <title><![CDATA[Playing with NT authentication and AD : First off, I&amp;#039;d like to say...]]></title>
   <link>https://forums.webwiz.net/playing-with-nt-authentication-and-ad_topic20557_post110189.html#110189</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=24281">Lonissa</a><br /><strong>Subject:</strong> 20557<br /><strong>Posted:</strong> 05&nbsp;July&nbsp;2006 at 8:48pm<br /><br />First off, I'd like to say that I love this forum software.&nbsp; To be able to modify it however we need to is a big bonus for us.<br><br>I work in a community college, and we have a rule that student numbers cannot be viewed by the public.<br><br>This created a bit of a problem for me using NT authentication, since users log in with their student number, but we'd like the author display to use their real name.<br><br>What I've done is added some code to functions_windows_authentication.asp that gets the user's real name and email address from Active Directory and inserts that into the Real_name and Author_Email fields.<br><br>I plan on going through and replacing all instances of displayed usernames with real_name instead.<br><br>The problems I've had so far are:<br><br>1)&nbsp; how do you log in as administrator with NT authentication enabled?&nbsp; I've changed a test user in the database to admin manually to get around it.<br><br>2)&nbsp; the AUTH_PASSWORD server variable doesn't seem to hold the password.&nbsp; I can remove passwords from the DB altogether and not have problems, but can't log in to the admin control panel, I get an incorrect password error.<br><br>Any ideas how I can get around this?<br><br>Thanks!<br>]]>
   </description>
   <pubDate>Wed, 05 Jul 2006 20:48:42 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/playing-with-nt-authentication-and-ad_topic20557_post110189.html#110189</guid>
  </item> 
 </channel>
</rss>