Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Bug Reports (Open)
 NT Authentication in 3.4.07 causing failure + fix
 New Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Jonathan8146
Starting Member

21 Posts

Posted - 20 April 2009 :  04:25:36  Show Profile  Reply with Quote
I have a fresh installation of version 3.4.07. I have set up the tables in MS SQL OK and everything is working fine as the administrator.

When I check the "Use NT AutoLogon" box to On (Groups is off) no other users can access the forum, instead they get "Page cannot be found" error. If I set "Use NT AutoLogon" to Off they can get to the default page OK, but obviously then have to register.

The IIS server is on an NT4 box (I have no control over this).

I will continue to test today, but if anyone can shed some light I'd be grateful.

PS
Does this still apply, http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=63181

Edited by - AnonJr on 27 April 2009 08:31:20

AnonJr
Moderator

United States
5768 Posts

Posted - 20 April 2009 :  06:46:33  Show Profile  Visit AnonJr's Homepage
I'll try to re-create this at work, but I'm willing to bet the problem is NT4. Work had (well, still has - but I'm not on it anymore) an ancient NT4 web server and there were all sorts of odd issues associated with it. I'm trying to remember if it even supported some of the later features of ASP/VBScript...
Go to Top of Page

Jonathan8146
Starting Member

21 Posts

Posted - 20 April 2009 :  08:37:08  Show Profile
I just managed to test this on an XP Pro server and it still fails. I think the error is somewhere in register.asp, it looks like it may be looping, but that may be a false lead.
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 20 April 2009 :  17:22:55  Show Profile  Visit AnonJr's Homepage
I have been able to reproduce the error on the modified version of 3.4.07 we've been trying to deploy (not enough hours in a day...) so I'll post as soon as I figure out what went wrong.

The same person testing got "Page not found" and some weird error about an endless re-direct... I'll post more as I find more.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 20 April 2009 :  17:39:44  Show Profile  Visit HuwR's Homepage
try replacing the register.asp file of 3.4.07 with the one from 3.4.06, the only difference is all the antispam stuff for registration which probably isn't needed with NT Auth
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 21 April 2009 :  17:17:01  Show Profile  Visit AnonJr's Homepage
Try changing register.asp, circa line 211 from this:
		Err_Msg = ""
		if Request(encFieldname) <> "" then
			'# Form checks out, reset app variable
			Application("FormChecker") = ""
		else
			Response.redirect "default.asp"
		end if
		if strAutoLogon <> 1 then
			if trim(Request.Form("Name")) = "" then
				Err_Msg = Err_Msg & "<li>You must choose a UserName</li>"
			end if
			if Len(trim(Request.Form("Name"))) < 3 then
				Err_Msg = Err_Msg & "<li>Your UserName must be at least <strong>3</strong> characters long</li>"
			end if
		end if


to this:
		Err_Msg = ""
		if strAutoLogon <> 1 then
			if Request(encFieldname) <> "" then
				'# Form checks out, reset app variable
				Application("FormChecker") = ""
			else
				Response.redirect "default.asp"
			end if		
			if trim(Request.Form("Name")) = "" then
				Err_Msg = Err_Msg & "<li>You must choose a UserName</li>"
			end if
			if Len(trim(Request.Form("Name"))) < 3 then
				Err_Msg = Err_Msg & "<li>Your UserName must be at least <strong>3</strong> characters long</li>"
			end if
		end if


The office is empty and I don't have a spare account to try it out with...
Go to Top of Page

Jonathan8146
Starting Member

21 Posts

Posted - 22 April 2009 :  04:48:16  Show Profile
I'll give it a try, although I'm not back in the office until Monday, I'm afraid, so can't try until then.
Go to Top of Page

Jonathan8146
Starting Member

21 Posts

Posted - 27 April 2009 :  04:35:11  Show Profile
Just managed to give it a try and it appears to have registered a user OK, so I think you've fixed it.

Thanks for the prompt resolution.
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 27 April 2009 :  08:30:37  Show Profile  Visit AnonJr's Homepage
Your welcome. Let me know if there's any other problems.

I'm moving this over to the bug forum so the Dev team can roll this into the next version.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07