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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Authentication: NT
 Bug with NT Authentication..
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Hace
Starting Member

1 Posts

Posted - 31 May 2004 :  05:46:47  Show Profile  Visit Hace's Homepage
Just wanted to let Snitz know the following.

When installing and setting NT Authentication on, and also disable the group setting with version Snitz Forums 2000 v3.4.04 there is a bug going.

When a new NT-user logs into the forum, the pages default.asp and register.asp are repeatedly following each other and the username (NT-name) of the user is continuously entered into FORUM_MEMBERS.
After the user is added about 50 times with the same M_NAME, IIS throws an IIS-error.
Anyway, the bug is, that M_USERNAME is not filled.

I found out that changing a line of code solves the bug so that NT-authentication works and that users do not have to register to the forum.

In [register.asp] from lines 455, I changed:

if strAuthType = "nt" then
strSql = strSql & ", " & "'" & chkString(strNTUserFullName,"SQLString") & "'"
end if

to:

if strAuthType = "nt" then
strSql = strSql & ", '" & chkString(Session(strCookieURL & "strNTUserFullName"),"SQLString") & "'"
end if


Which solved this bug... I hope the developers of Snitz appreciate this contribution.

Have fun,

Edited by - Davio on 06 January 2008 17:09:38

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 20 September 2004 :  20:00:14  Show Profile
can anyone confirm this bug/fix ? I don't use NT Authentication...
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 21 September 2004 :  01:20:05  Show Profile
I will take a look at it.

Support Snitz Forums
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 21 September 2004 :  15:27:30  Show Profile
I'm not sure what Hace is talking about. I registered as a new user and logged in ok using nt authourization. I can't even find the code he is reffering to, in the register.asp file, from the 3.4.04 version.

The closest I come to his code is line 440 - 442:
if strAuthType = "nt" then
	strSql = strSql & ", " & "'" & chkString(strDBNTUserName,"SQLString") & "'"
end if
But he has strNTUserFullName in his code.

Maybe he modified his code previously? I'm unable to reproduce this.

Support Snitz Forums
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000 Version 3.4.07