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: General / Previous versions
 auto logon trouble
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

klunde
Starting Member

Norway
26 Posts

Posted - 23 April 2007 :  07:54:45  Show Profile
Hi

I'm running v3.1SR 4 and I have my forum on a server in NT Domain. I have autologin eneabled and that works fine, but now I've added access to a trusted w2k3 domain and when users from that domain tries to access the forum I get some error with the authentication. The errormessage I get is error '80005004' in /forum/inc_functions.asp, line 1299.

The code around there is:
if strAutoLogon="1" then
		strNTUserFullName = Session(strCookieURL & "strNTUserFullName")
		if Session(strCookieURL & "strNTUserFullName") = "" then
			Set strNTUserInfo = GetObject("WinNT://"+strNTUser)
			strNTUserFullName=strNTUserInfo.FullName
			Session(strCookieURL & "strNTUserFullName") = strNTUserFullName
		end if
	end if


Line 1299 refers to
"Set strNTUserInfo = GetObject("WinNT://"+strNTUser)"

Does anyone know how to update / change this sub to enable two different domains?

AnonJr
Moderator

United States
5768 Posts

Posted - 23 April 2007 :  20:25:19  Show Profile  Visit AnonJr's Homepage
Its going to depend a lot on how the domain is set up.... with some of the newer Win2K3 stuff I don't think you can use 'GetObject(WinNT://' - I seem to remember stumbling across it in the MSDN a while back, but the meds have me a little fuzzy at the moment.
Go to Top of Page

klunde
Starting Member

Norway
26 Posts

Posted - 24 April 2007 :  02:55:19  Show Profile
Hmmmm.. that's a pity. I took a look at the code in the current version to see if I could find some updated routines, but it was mostly the same code for this as in my version. So that tells me that autologin doesn't work against a w2k3 domain, or...?
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 29 April 2007 :  11:29:23  Show Profile  Visit AnonJr's Homepage
It would require some modifications. It can work, but finding help over at the MSDN is rather ... interesting ... to say the least. I'd guess that there aren't too many people around here that are using the NT Authentication features. Almost all of the sites here are public sites.

There has been a steady trickle of those who come ask for the same info and may or may not have found a solution - but no one seems to be putting any solutions back in the community. The current code works on the domain as its set up where I work, and since we don't have a Win2K3 domain to test against I really can't be of much more help.

All I ask is that if you do get something working, please let us know so we can help the next poor soul looking for the same solution.
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.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07