Print Page | Close Window

Setting up Windows Authentification

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=19993
Printed Date: 29 March 2026 at 2:47am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Setting up Windows Authentification
Posted By: [NM] RaZ
Subject: Setting up Windows Authentification
Date Posted: 23 May 2006 at 9:11am

Hey all,

It's pretty much my first time trying anything like this, so try and keep your laughter down ;p
 
Basically, I've got a copy of WebWiz 8.01 running on my local machine and I'm trying to make it read the username and password table off another server on the domain, in the hope that we can force everyone to use the NT account details.
 
Now I'm guessing that it's currently trying to look up the account information on my local machine, seeing as that's where the forums and SQL server are currently located. However, the machine I'd like it to look for the account information on is actually called dc-primary. Is there an clear cut way of pointing the functions_windows_authentification.asp file to look for the data on that particular server?
 
Oh, the only change I have made to functions_windows_authentification.asp so far was changing Const blnWindowsAuthentication to True.
 
Thanks in advance for your help,
 
-RaZ



Replies:
Posted By: WebWiz-Bruce
Date Posted: 23 May 2006 at 9:55am
You shouldn't need to look at another server for the users NT login details.

If NT login is required to enter the site then these details can be parsed to the ASP

There isn't a way for ASP to read in account details from another server, you have to do it by using NT authentication login to view the site.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: [NM] RaZ
Date Posted: 23 May 2006 at 10:47am

In that case, how do you parse the details to the ASP?

-RaZ


Posted By: WebWiz-Bruce
Date Posted: 23 May 2006 at 11:26am
If you disable anonymous browsing on the web site and/or folder, in IIS and set it so that user need to use windows authentication to log into the site, then IIS can pass the users NT login username and password to ASP using:-

Request.ServerVariables("AUTH_USER")
Request.ServerVariables("AUTH_PASSWORD")

If you do a search on Google for this ASP method, I'm sure you can find many articles on it that can explain it allot better than I can.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: [NM] RaZ
Date Posted: 23 May 2006 at 1:36pm

boRg, that worked a charm - you're a legend! Just having some trouble with our satelite offices being able to connect now, but I think that's just a firewall issue :)

 
Thanks a lot!
 
-RaZ



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net