Author |
Topic  |
|
dhag
Starting Member
6 Posts |
Posted - 10 January 2002 : 16:50:31
|
Okey dokey. I'm implementing Snitz forums for an internal LAN at my company. I've installed it on a Win2k Terminal Server box. I am using SQL Server 2000 as the db server.
I was able to set everything up fine (****ed fast.. way to go folks!). I logged into the admin user and set it to NT authentication.
Now, when I enter the forum I am administrator. But when I attempt to enter the admin options it will bring up the password form. What do I enter now? It used to be the default admin/admin, but this no longer works. I attempted to use my NT login but this wouldn't work either.
So, now I'm locked out of my administrator functions... not nice :P
Furthermore, I had the foresight to create another user as an administrator. I had logged into the forums with another user, and set him up as an administrator. But I get a similar problem. I try to enter the admin default password admin/admin, it says something like "you have logged in successfully", but then in about 1 second the password form comes up again. So I still can't get into the admin functions....
HELP!!
Thanks in advance :)
|
|
earlclaus
Starting Member
30 Posts |
|
dhag
Starting Member
6 Posts |
Posted - 11 January 2002 : 14:28:52
|
That is a nice FAQ but didn't really help me. I have no problem logging on with other users etc. They all auto login perfectly. The ONLY problem I'm having is with the Admin user. The username/password that I have to enter in order to get into the Admin options gets screwed up whenever I'm using NT authentication.
Now, maybe I'm wrong and your FAQ is what I need.. I'll have a look. But I don't think so, as all other users have no problems at all.
Thanks for the response though, it got me thinking of some things.
|
 |
|
dhag
Starting Member
6 Posts |
Posted - 11 January 2002 : 15:05:26
|
quote:
That is a nice FAQ but didn't really help me. I have no problem logging on with other users etc. They all auto login perfectly. The ONLY problem I'm having is with the Admin user. The username/password that I have to enter in order to get into the Admin options gets screwed up whenever I'm using NT authentication.
Now, maybe I'm wrong and your FAQ is what I need.. I'll have a look. But I don't think so, as all other users have no problems at all.
Thanks for the response though, it got me thinking of some things.
Actually, after playing with things for a bit now.. the problem SPECIFICALLY happens ONLY after I try to edit or even just VIEW my admin profile.
Once I do this I'm screwed to put it bluntly. I still have admin rights in that I can manipulate the board with no problem, but I can no longer ever get into the admin options...
As for the other admin user that I set up. He still can't get into the admin options either, although like the main admin user, he can manipulate the board with no problem (ie: add remove forums, etc. etc.).
This is just a tad frustrating....
|
 |
|
Kal Corp
Average Member
  
USA
878 Posts |
Posted - 11 January 2002 : 17:39:25
|
yes you will still have to enter the name and password.
admin admin should work if you didnt change that account.
if you did then try useing the SQL and look in the database for that account and set it back.
|
 |
|
earlclaus
Starting Member
30 Posts |
Posted - 12 January 2002 : 01:36:25
|
Is it possible that NT Groups and autologin work to allow users to access the forums, but when he wants to use the Admin Section, he must use database login for the admin?
Earl Claus, Web Master http://www.InternetRemoteBase.com
|
 |
|
in10se
Starting Member
2 Posts |
Posted - 18 January 2002 : 14:42:36
|
Actually, I found what seems to be a bug in the code. When using NT authentication, the userfullname property of the NT user object is placed in the M_NAME field and the username is placed in the M_USERNAME field in the FORUM_MEMBERS table. While this is not a problem, the SQL query used when logging into the admin_login.asp page is
"SELECT MEMBER_ID FROM FORUM_MEMBERS WHERE M_NAME='" & Name & "' AND M_PASSWORD='" & Password & "' AND M_LEVEL=3"
But the form asks you to enter your username, NOT your name.
I replaced M_NAME with M_USERNAME and this seemed to fix the problem.
P.S. - Your password should just be left blank unless you changed it in your profile prior to switching to NT mode.
Edited by - in10se on 18 January 2002 14:47:05
Edited by - in10se on 18 January 2002 14:59:55 |
 |
|
|
Topic  |
|