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 (Closed)
 BUG+FIX (3.x): Problem changing from NT to DB
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 28 February 2001 :  21:31:49  Show Profile  Visit HuwR's Homepage
Ok, this was reported as problems with installing my code, I have checked the problem, and it exists in the forum code too.

Symptoms.
If you change from DB to NT authorisation, everything is fine, howver if you try to change back, it will not let you, keeps saying you must be the administrator.

Fix.
In admin_config_sytem.asp look for the two lines like this

mLev = cint(ChkUser2(Request.Cookies(strUniqueID & "User")("Name"), Request.Cookies(strUniqueID & "User")("Pword")))

change them to

mLev = cint(ChkUser2(strDBNTUsername, Request.Cookies(strUniqueID & "User")("Pword")))


That fixes the problem, basically chkuser2 was being passed the wrong username.

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 06 March 2001 :  21:04:34  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
fixed in the source of sf2k_32a5.zip

Reinsnitz (Mike)
><)))'> Need a Mod?
"Therefore go and make disciples of all nations,..." Matthew 28:19a
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07