Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Setting up Windows Authentification
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Setting up Windows Authentification

 Post Reply Post Reply
Author
[NM] RaZ View Drop Down
Newbie
Newbie
Avatar

Joined: 23 May 2006
Location: United Kingdom
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote [NM] RaZ Quote  Post ReplyReply Direct Link To This Post Topic: Setting up Windows Authentification
    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


Edited by [NM] RaZ - 23 May 2006 at 10:45am
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
[NM] RaZ View Drop Down
Newbie
Newbie
Avatar

Joined: 23 May 2006
Location: United Kingdom
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote [NM] RaZ Quote  Post ReplyReply Direct Link To This Post Posted: 23 May 2006 at 10:47am

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

-RaZ
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.


Edited by -boRg- - 23 May 2006 at 11:26am
Back to Top
[NM] RaZ View Drop Down
Newbie
Newbie
Avatar

Joined: 23 May 2006
Location: United Kingdom
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote [NM] RaZ Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.