Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Pass Thru authentication
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Pass Thru authentication

 Post Reply Post Reply
Author
Tegwin View Drop Down
Senior Member
Senior Member


Joined: 03 September 2003
Location: United Kingdom
Status: Offline
Points: 430
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tegwin Quote  Post ReplyReply Direct Link To This Post Topic: Pass Thru authentication
    Posted: 05 September 2003 at 10:51am

Hello me again, sorry for all the question, I have just started using this system and after showing a few people in the company. They want it now.  :-)

I would like to know, if there is(or will be) anyway of using passthru authentication, i.e I would like to use the accounts that we currently have setup in Active Directory, the database can be populated with this information from AD, then if a users details change in AD they will change in here too.

Is this possible ? Any plans ?

 

 

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2003 at 11:02am
I would not recommend an automatic update using ADSI as it might become slow, thus do it manually. It is no problem populating the database with all memebers of ie a group. To enable Windows authentication, do a search on this forum, it has been discussed a few times.
Back to Top
Tegwin View Drop Down
Senior Member
Senior Member


Joined: 03 September 2003
Location: United Kingdom
Status: Offline
Points: 430
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tegwin Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2003 at 1:29pm

Ok I have had a look at the post on authentication, there is only one.

Has anyone made the changes already that can give me a copy of them (I am still new to ASP) and dont really want to make too many changes. It would be nice to see a check box in the admin screen on this

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2003 at 1:57pm

I agree would be nice if the possibility is built in as it is not hard to do at all. I don't have any code for you but maybe someone can send you the mod he made, I believe Bruce did it at some point...

Back to Top
Tegwin View Drop Down
Senior Member
Senior Member


Joined: 03 September 2003
Location: United Kingdom
Status: Offline
Points: 430
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tegwin Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2003 at 2:42pm

Yeah that would be cool. Bruce could you send me the mod  please ?

 

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: 06 September 2003 at 3:15am
I never madea mod to do this but as it only require the change of two lines of code in the common.asp file I did make a post sometime ago detailing which line to change and to what.
Back to Top
Tegwin View Drop Down
Senior Member
Senior Member


Joined: 03 September 2003
Location: United Kingdom
Status: Offline
Points: 430
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tegwin Quote  Post ReplyReply Direct Link To This Post Posted: 06 September 2003 at 2:42pm

Ok I made the change to the following 2 lines, and I am still not able to get this working. It still asks me to enter a UN and Password.

In the common.asp I changed :

'strLoggedInUserCode = Trim(Mid(Request.Cookies("Forum")("UserID"), 1, 44))

to

strLoggedInUserCode = Trim(Request.ServerVariables("AUTH_USER"))

and

strSQL = strSQL & "WHERE " & strDbTable & "Author.User_code = '" & strLoggedInUserCode & "';"

To

strSQL = strSQL & "WHERE " & strDbTable & "Author.Username = '" & strLoggedInUserCode & "';"

There is only one post in the forums when you look up Windows authentication. The comments are not very clear as to exactly which one to change.

Any ideas ?

 

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.