Print Page | Close Window

Pass Thru authentication

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=5550
Printed Date: 03 April 2026 at 12:26am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Pass Thru authentication
Posted By: Tegwin
Subject: Pass Thru authentication
Date 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 ?

 

 




Replies:
Posted By: michael
Date 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.

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: Tegwin
Date 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



Posted By: michael
Date 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...



-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: Tegwin
Date Posted: 05 September 2003 at 2:42pm

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

 



Posted By: WebWiz-Bruce
Date 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.

-------------
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: Tegwin
Date 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 ?

 




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