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
 NT Admin can't lock topics
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

klunde
Starting Member

Norway
26 Posts

Posted - 22 February 2001 :  06:55:59  Show Profile
Hi!

I have a problem with this NT authentication. I'm using NT auth and I have set my user ID to level 3 in the database (MySQL) but if I try to lock a topic it pops up with a window stating my NT login ID and then refuses to accept me as an admin.

I can't see what I have done wrong

I have manually entered my NT password in my database.


Blade
New Member

66 Posts

Posted - 22 February 2001 :  09:27:24  Show Profile
I had the same problem. Here is the fix I came up with:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=4690&FORUM_ID=96&CAT_ID=1&Topic_Title=BUG%2BFIX+%283%2E1sr4%29%3A+Problem+w%2F+lock%2Funlock+%26+NT+auth&Forum_Title=DEV+Bug+Reports+%28Closed%29



-------------------------

=>Blade<=
Go to Top of Page

mketech
Starting Member

7 Posts

Posted - 23 February 2001 :  16:54:06  Show Profile
quote:

I had the same problem. Here is the fix I came up with:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=4690&FORUM_ID=96&CAT_ID=1&Topic_Title=BUG%2BFIX+%283%2E1sr4%29%3A+Problem+w%2F+lock%2Funlock+%26+NT+auth&Forum_Title=DEV+Bug+Reports+%28Closed%29



-------------------------

=>Blade<=


I also had to change all references from

mLev = cint(ChkUser(Request.Form("user"), Request.Form("Pass")))
to
mLev = cint(ChkUser2(STRdbntUserName, Request.Form("Pass")))

Why are some statements using ChkUser and others ChkUser2? When I used find and replace to make changes per above I still wasn't able to UNlock topics without my change.

Go to Top of Page

Blade
New Member

66 Posts

Posted - 23 February 2001 :  21:39:21  Show Profile
All lines should be:

mLev = cint(ChkUser2(STRdbntUserName, Request.Form("Pass")))

When I changed mine, I did a search for "mlev" and replaced the lines. I didn't notice that some used ChkUser instead of ChkUser2. I guess I should have said to replace all lines that read:

mLev = cint(ChkUser(Request.Form("user"), Request.Form("Pass")))

or

mLev = cint(ChkUser2(Request.Form("user"), Request.Form("Pass")))

to

mLev = cint(ChkUser2(STRdbntUserName, Request.Form("Pass")))


Good call. This should be fixed in SR5.



-------------------------

=>Blade<=
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.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07