Author |
Topic |
|
grantw
Starting Member
Australia
3 Posts |
Posted - 15 June 2009 : 02:37:10
|
Hi all,
Been mucking around with Snitz today and have set up a working forum on our AD2003 / IIS6 / SQL05 infrastructure.
All working well except for one issue. Administration.
I want to make a user a forum administrator, so I have edited their account, and set the type to Administrator. When this user tries to access the administration pages though, they are prompted to a username and login.
No known username and password works here.
Am I missing a fundamental step in the setup, or does this just not work?
Cheers, Grant |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 15 June 2009 : 05:25:42
|
If you want TWO OR MORE people to act as forum administrators, follow these steps: You'll need to replace several lines of code in a lot of the "admin_*.asp" files.
Note: This degrades security a bit, it allows all members with administrator-level access to modify your forum.
If you simply want to CHANGE the administrator to someone else, follow these steps instead:
In "config.asp", there's a place to set a user number for the Forum Administrator (there is only one position). In Snitz 3.4.07 within "config.asp":
Save "config.asp". Have the member sign in and try again. Should fix it. |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 15 June 2009 : 13:05:00
|
Carefree, that's great for the Super Admin account... though I suspect that isn't related to this problem.
quote: When this user tries to access the administration pages though, they are prompted to a username and login.
Is it the server prompting or the forum? Also, are you using the NT Authentication or DB Authentication?
Since I've been working with this particular bit of code recently I suspect its a server configuration issue. What is the Authentication level on the server? (Integrated, Basic, Digest, etc. - and is "Allow Anonymous Access" checked?)
You mention using AD, did you change the NT Authentication code or are you using Snitz "out of the box"? |
|
|
grantw
Starting Member
Australia
3 Posts |
Posted - 16 June 2009 : 20:42:39
|
Thanks for the advice guys, will try your solution Carefree and post back with results.
AnonJr, the Snitz forum is presenting a login box at this occasion, not the server.
Authentication type is NT.
As for server config, anonymous access is disabled. Authentication level is integrated.
Also, Snitz has only been unzipped and configured. I haven't begun any code hacking yet, but I am sure this will follow.
Cheers. Grant |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 16 June 2009 : 22:05:06
|
If Authentication is set to NT, then it (the Snitz forum) shouldn't be prompting for a password at all... it may show a button to submit credentials, but it shouldn't be asking for a password.
First thing I would check is if the configuration changes were saved. If you look in the FORUM_CONFIG_NEW table, check and see what strAuthType is set to.
Not knowing how long you've been a server admin, or what your skill level is, please don't take this wrong - I've seen some people confused by the server's credential prompt and taking it for the forum prompting - if possible, a screen-shot of what you're looking at might help too. It could be that the browser isn't configured properly and its not automatically sending the credentials (which, now that I think about it, only works with IE... are you using a different browser?).
And yes, sooner or later we all succumb to the need to tweak. |
|
|
grantw
Starting Member
Australia
3 Posts |
Posted - 16 June 2009 : 23:41:05
|
Hi AnonJr,
No offense taken, but it was definitely a Snitz prompt for password.
strAuthType is set to NT
Pass through authentication is definitely working, Snitz identifies the user automatically at the top right of the screen, it just prompts for a password when you click on the Admin Options link.
Edit: Carefree, your solution seems to let the user into the Admin Options pages, but they still can't edit administrator accounts. |
Edited by - grantw on 16 June 2009 23:52:39 |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 17 June 2009 : 08:26:10
|
The screen-shot keeps timing out here at work, so I'll check in again when I get home tonight. Its still odd that its prompting for a password with NT Authentication... I'm using it here at work and I've not seen that behaviour except as a server issue.
I'm sure the screen-shot will clarify. |
|
|
|
Topic |
|