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 Authentication not working with new code
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

RokDev3
Starting Member

6 Posts

Posted - 14 June 2007 :  12:19:18  Show Profile
Hello,

I have got a problem with nt authentication with the new Snitz ASP code - the old verision (3x) had no problems.

After a bit of investigation I notice that the mlev value is 0 (it should be 4 if it new that it was me and thereofore an admin.). Other interesting values returned are chkAccountReg=1, strAutoLogon=0, strLoginStatus= blank.

I would be grateful with some kind of direction as it's confusing me greatly.

Thanks,

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 14 June 2007 :  12:33:26  Show Profile  Send ruirib a Yahoo! Message
See if this can help: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=63181


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

RokDev3
Starting Member

6 Posts

Posted - 15 June 2007 :  06:37:00  Show Profile
I've tried this but to no avail.

Do you know of any differences between the old inc_functions.asp and the inc_func_common.asp files are? I'm assuming the problem lies within here. Reading up on this it seems that no significant changes have been made with the functions used for authentication. Maybe there's a rogue new variable name somewhere thati've missed.

Any further help would be much appreciated - thanks.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 15 June 2007 :  06:54:47  Show Profile  Send ruirib a Yahoo! Message
I really don't know. Maybe compare the two file versions... If you've never used it, try Beyond Compare, from http://www.scootersoftware.com
They have a trial version that can be used for 30 effective days of use.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

RokDev3
Starting Member

6 Posts

Posted - 15 June 2007 :  06:57:03  Show Profile
ok thanks - i'll give this a bash and hopefully I'll spot something.
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 15 June 2007 :  08:53:53  Show Profile  Visit AnonJr's Homepage
Let us know if you do. I'm sure someone else will find it helpful too.
Go to Top of Page

RokDev3
Starting Member

6 Posts

Posted - 27 June 2007 :  04:47:33  Show Profile
There are quite a few differences between the two so pretty difficult to find an obviosu difference. However, I think i'm closer to working out this perculiar authentication issue though.

1) Existing user profiles setup on the old snitz forum are not picked up by the new snitz forum. (either admin or normal user).
2) If I register a new account in the new forum (normal user) the user profile is again not picked up ("you are logge on as...").

Now for the strange bit.

3) If I upgrade the new profile to an admin user then the user profile is picked up.

My investigation continues.....
Go to Top of Page

RokDev3
Starting Member

6 Posts

Posted - 27 June 2007 :  05:40:26  Show Profile
I've figured it out!!!

For the new snitz code to work you need to ensure that the password field in the members table is not blank. All the memeber records need to be updated with a SQL script, inserting any password in the blank fields. The code is simply checking if a password exists - if it does authentication issues resolved and you are automatically logged in.

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 27 June 2007 :  05:48:10  Show Profile  Send ruirib a Yahoo! Message
Well done .


Snitz 3.4 Readme | Like the support? Support Snitz too
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.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07