Author |
Topic |
|
ADSaunders
Starting Member
United Kingdom
22 Posts |
Posted - 14 March 2003 : 08:39:08
|
Hello, I've been going round in circles this morning! I have a situation where, although I can log into my forum using NT auto login, and get access to the admin options, every time that I try to log in through admin_login.asp, I am refused access. I have run Gremlin's admin_passreset.asp, and i know my admin password (I hadn't forgotten it anyway). I hit the problem when I took the forum down for some work, then couldn't get it up again 'cos I couldn't log in! I seem to be ok as long as I don't have to clear my cookies, my login cookie soesn't expire, and I don't need to take the forum down! Any ideas please? Unfortunately, I can't give you an URL for my forum as it's on a closed Intranet, but my security configuation is as follows
- Authorisation - set to NT
- Cookie type set to forum
- Prohibit new members - off
- Require registration on
- Username filter - off
- Secure Admin mode - on
- Non cookie mode - off
- NT Groups - on
- NT Autologon - on (this is why I can use admin features normally?)
- email component - CDOSYS (working)
- email mode on or off (it doesn't matter but used 'on' to reset password)
- Require unique email - off
- email validation - on
- Restrict registration - off
- Require logon for sending email - on
Forum is running on Windows 2000 server with Mysql and IIS5
Enough info? if not please ask. Regards .. Alan |
Edited by - ruirib on 17 March 2003 05:32:49 |
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
ADSaunders
Starting Member
United Kingdom
22 Posts |
Posted - 17 March 2003 : 04:53:43
|
I think so. Certainly I have an application 'forum' with a session timeout of 20 mins. Is this correct? Sorry If I sound thick, but although having been a programmer for almost 30 years, this is my first foray into the world of IIS and ASP! BTW, having checked this, then going into the forum, and then entering 'forum/admin_login.asp' in the nav window, enter name and password I get :
There has been a problem!
You are not allowed access.
If you think you have reached this message in error, please try again.
Still dunno where I'm going.
.. Alan |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 17 March 2003 : 05:32:27
|
Well there is one thing here that I missed when I first read your post - you're using NT Authentication, which is something I'm not familiar with the NT Authentication process. Sorry.
I'm moving this to the NT Authentication forum. Hopefully someone more knowledgeable about the NT auth process can help. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
ASPDude
Starting Member
United Kingdom
41 Posts |
Posted - 22 March 2003 : 05:57:46
|
The NT problem is caused probably due to you not changing the intAdminMemberID variable in config.asp.
Open your database and see what member id you have been given (Admin is normally 1 but you want your own number). Then open config.asp and seacrh for:
Const intAdminMemberID =
then change the number at the end of this to your member id and you should get the Admin Options link under your name at the top right of the page. You may have to refresh your browser to get it to work. |
|
|
ADSaunders
Starting Member
United Kingdom
22 Posts |
Posted - 24 March 2003 : 04:12:49
|
Thanks ASPDude, but I already do have admin access. The problem only hits me when I take the board down. At any other time, I can click the Admin Options link, and get there ok. When the board is down however, I'm faced with a login script that won't take any username password combination! I had to create an up.asp script (after much examination of the down.asp source) in order to get my board back on line.
.. Alan |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 24 March 2003 : 12:02:48
|
But when you're using NT Authentication, you don't need to be logging into your admin options. So going to admin_login.asp is irrelevant. Just go to admin_home.asp instead, from the admin_login.asp page. The Admin Options link should be shown for you. The admin_login.asp page is for DB Authorization, not NT Authrization.
I would consider this a bug. I'll post an official fix for it. |
Support Snitz Forums
|
|
|
ADSaunders
Starting Member
United Kingdom
22 Posts |
Posted - 25 March 2003 : 03:43:32
|
Thanks Davio. As I said in my previous post, the problem only occurs when the forum is down. Then, going into the forum redirects to the 'down' page and I'm stuck. .. Alan |
Edited by - ADSaunders on 25 March 2003 03:44:17 |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 25 March 2003 : 14:52:12
|
Alan, if you are logged in using the NT Account that has admin rights on the forum, then you will have the Admin Options link, after you go to the admin_login.asp page. You will be able to go to down.asp after that.
But try this bit of code. In admin_login.asp, after the include files at the top, add this bit of code:<!--#INCLUDE FILE="inc_header.asp" -->
<%
if strAuthType = "nt" and Session(strCookieURL & "Approval") = "15916941253" then
Response.Redirect request.querystring("target")
end if It should take you to down.asp when you go back to the forum and you click on the "Administrator Login" link. |
Support Snitz Forums
|
Edited by - Davio on 25 March 2003 14:54:26 |
|
|
ADSaunders
Starting Member
United Kingdom
22 Posts |
Posted - 26 March 2003 : 03:48:56
|
Thanks Davio. When I access the board now (after taking it down), it puts me straight into the forum. However, if I click on the header padlock icon (shut down the forum) it takes me to down.asp with the option to start the board. At least I'm no longer locked out! Thanks again.
.. Alan |
|
|
rubberman
Starting Member
Singapore
3 Posts |
Posted - 15 April 2003 : 09:27:02
|
i have a problem here, i try to log in to my forum but it can't i try register a normal 1 and still can't log in! i can only log in when i open my data base, my forum is at www.forumanime.cjb.net please help me solve the problem and the button are not showing up after i set the back ground picture, like it become http://boomspeed.com/fff/fff.jpg/icon/folder.jpg and the file is actually is /icon/folder.jpg only! please help |
|
|
rubberman
Starting Member
Singapore
3 Posts |
Posted - 15 April 2003 : 09:37:11
|
ok, for the button question i have solve already, but what i am finding is how to make the login thing works? sometime it does log in but sometime no matter how u try , it will say after i log in, Login was successful! and then auto go back to forum or click on the go back to forum thing, after it return to forum, it become need to login page again! and it continue and continue for all the time, sorry my english was poor, please help! |
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
|
rubberman
Starting Member
Singapore
3 Posts |
Posted - 16 April 2003 : 06:34:43
|
no! i am not using frame, even normal user can't log in ! |
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 16 April 2003 : 15:24:22
|
What does this have to do with NT Authentication? |
Support Snitz Forums
|
|
|
|
Topic |
|