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: General / Classic ASP versions(v3.4.XX)
 BUG: NT vs DB Authentication (v 3.4.05)
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Zakuska
Starting Member

3 Posts

Posted - 07 February 2006 :  13:22:31  Show Profile
Using v 3.4.05.

NOTE: I have mod'ed my Code slightly so the lines might be off by a few.

I have my forum set to DB Authentication. I also have an Admin account that has both M_NAME and M_USERNAME set to "Administrator".

I am able to Login as Administrator no problem. (Because M_NAME and M_USERNAME are Identical.)

However... All other users fail Login. I traced this down to the following section in the Config.ASP (Lines ~ 398-404)

if strAuthType = "db" then
strDBNTSQLName = "M_NAME"
strAutoLogon = "0"
strNTGroups = "0"
else
strDBNTSQLName = "M_USERNAME"
end if


I believe the M_NAME and M_USERNAME are swapped. By switching them everything appears to be working fine.

if strAuthType = "db" then
strDBNTSQLName = "M_USERNAME"
strAutoLogon = "0"
strNTGroups = "0"
else
strDBNTSQLName = "M_NAME"
end if



Edited by - Zakuska on 07 February 2006 13:23:56

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 07 February 2006 :  13:43:04  Show Profile  Send ruirib a Yahoo! Message
If you are not using NT authentication, you should not even use M_USERNAME. That field is only to be used with NT Auth. So, it's not a bug, since your problem happens because you use a field in a way it was not meant to be used.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 07 February 2006 :  13:47:51  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Yes, it is correct the way it is.

M_NAME is the field used by DB authentication, M_USERNAME by NT authentication.

Alot of people would have experienced problems if this wouldn't be set up right.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
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.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07