Author |
Topic |
|
Gossamer
Starting Member
USA
22 Posts |
Posted - 21 November 2000 : 16:00:00
|
I am having a problem with creating new forums under NT Authorization.
I have set up administrator accounts for a couple of ppl. They can create new catagories but when they try to create a forum under the catagory they get the Invalid Password or UserName error page.
Can anyone help me with this problem?
|
|
Kal Corp
Average Member
USA
878 Posts |
Posted - 21 November 2000 : 23:17:25
|
What Version You Using?
Edited by - kal corp on 21 November 2000 23:17:42 |
|
|
ngrundy
Starting Member
Australia
1 Posts |
Posted - 27 November 2000 : 00:25:14
|
I am having the same problem my version is Snitz Forums 2000 Version 3.1 Service Release 2
i'm rummaging through the asp atm but if someone knows what the problem is it would be a great help :)
Edited by - ngrundy on 27 November 2000 00:26:17 |
|
|
BasQue
Starting Member
Netherlands
21 Posts |
Posted - 27 November 2000 : 04:30:13
|
Hi, I think I found something:
First check the first 2 reply's on this topic: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=609&FORUM_ID=48&CAT_ID=10 Do exactly what Ferd and Kal Corp say. After doing this, I found that the problem was not completely solved, because I use 2 different names for "UserName" and "User Account" within my profile.("username" works as an alias, and "account" is the NT account) When you post a new forum, the account is validated by the alias name in stead of the NT account. I did the following which seems to solve it: <b><font color=red>NOTE thate I didn't completely test the application after the change!</b> To me it looks like it can have major impact on the entire app., but so far no strange things happened after the change</font id=red>
In the SUB "NTUser()" in the "inc_functions.asp" change the following line: Response.Cookies(strCookieURL & "User")("Name") = rs_chk("M_NAME") into: Response.Cookies(strCookieURL & "User")("Name") = rs_chk("<font color=red>M_USERNAME</font id=red>")
Maybe this will cause some other functions not to work, but I thing I at least found something to work on for the developers...<img src=icon_smile_approve.gif border=0 align=middle>
Edited by - BasQue on 27 November 2000 05:03:07 |
|
|
Gossamer
Starting Member
USA
22 Posts |
Posted - 27 November 2000 : 09:29:22
|
I got to work by just making the username and useraccount/nt account as the same. This way no changing of code so no guessing if it messes anything else up.
|
|
|
BasQue
Starting Member
Netherlands
21 Posts |
Posted - 27 November 2000 : 10:48:57
|
Gossamer, You're right, this also works, but I just had to get this work also with the alias name.
Only one word needs to be changed in the code to get this work correctly! This change even seems to solve some other issues like when you are administrator and you need to change someone's profile; with the original code it displays a textbox filled with the aliasname, you had to change this to the NT account name to get through the verification. This is now solved.
<img src="http://www.casema.net/~basvl/basque.gif" border=0> |
|
|
Gossamer
Starting Member
USA
22 Posts |
Posted - 27 November 2000 : 13:14:15
|
mmmmm Well since you are reporting no trouble with the change I will do the same. I would rather have the alias working correctly instead of posting the user id when someone post.
Thanks
|
|
|
Gossamer
Starting Member
USA
22 Posts |
Posted - 27 November 2000 : 15:28:10
|
I did the changes that you have indicated however the problem still persist for me.
Any other solution that you may have would be helpful. For now I am going back to using NT Account name for the user account.
|
|
|
BasQue
Starting Member
Netherlands
21 Posts |
Posted - 27 November 2000 : 17:05:20
|
Hmm...That's really strange! Did you completely close en reopen your browser after making the change? (when I made the change, in the first place it looked like my browser somehow worked with cached settings or something.) After closing my browser, it worked immediately!
I tested the whole it it as follows: ==================================== In the post.asp I changed the form method into "get"
original: <form action="post_info.asp" method="post" name="PostTopic">
new value: (for testing only!) <form action="post_info.asp" method="<font color=red>get</font id=red>" name="PostTopic">
now, after pressing the submit button, the post_info.asp will open, and in the addressbar of the browser you will see somewhere in the string: "Username=<i>YourAliasName</i>". When you made the change in the NTUSER() sub in the INC_Functions.asp as I mensioned, you will see your NTAccount in this string, which is the correct account. =====================================
After this test I knew for sure that somewhere in the script a mix-up was done between the alias-name and the NT account.
My advise for now is to make sure to close all open browser windows and try this again. In your situation it does harm you to make the change, because you do use the same accounts. (aliasname and NT account are the same)
Good luck, please let me know if it works. BTW, did you also make the changes that Ferd and Kal Corp proposed? It's important that you do!
<img src="http://www.casema.net/~basvl/basque.gif" border=0> |
|
|
Gossamer
Starting Member
USA
22 Posts |
Posted - 29 November 2000 : 17:29:24
|
I finally got it to working.
Thanks BasQue
|
|
|
BasQue
Starting Member
Netherlands
21 Posts |
Posted - 30 November 2000 : 02:53:49
|
Good to hear it's working Gossamer!
<img src="http://www.casema.net/~basvl/basque.gif" border=0> |
|
|
Gossamer
Starting Member
USA
22 Posts |
Posted - 01 December 2000 : 17:01:38
|
Ok have another problem. I have no trouble creating the categories and forums now. However when I have them created they are locked and when I try to unlock them it tells me that I do not have permission to unlock them. Any ideas?
|
|
|
BasQue
Starting Member
Netherlands
21 Posts |
|
|
Topic |
|