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
 AD Auto-Logon...sort of working
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

gecko85
Starting Member

1 Posts

Posted - 06 March 2006 :  18:11:31  Show Profile
I've read through every thread in this section, but can't find an answer to what should be obvious...Of course, it's probably right in front of my nose and I just can't see it.

I just installed the latest version of Snitz forums on a Win2K3 box, running IIS. It's our intranet server, and we use Active Directory to log people on to the network.

I've successfully managed to get authentication working like this: a user is prompted with a login box, and once they (re) enter their network credentials they are logged on to the forums. If it's their first visit, a new user is created using their full name. For example, if Chuck Taylor logs in, then a user is created as so:

User Name: Chuck Taylor
Account: ctaylor

No other info is added to the user account (email, etc.)

So, here's my issue: how do I get auto-login working? I don't want people to have to re-enter their network login to enter the forums...it should happen automatically if they're logged on to the network. Problem is, I can't find anywhere in the settings/admin screens to set this, other than "Use NT AutoLogon", which I've set to "On." I've also set "Use NT Groups" to "On", but I don't see where to configure anything for that. We have one particular group (students) that we don't want to have access to the forums. How do I set up options for NT Groups?

Thanks...

Kal Corp
Average Member

USA
878 Posts

Posted - 20 March 2006 :  07:29:38  Show Profile  Visit Kal Corp's Homepage
It does not get email and other information from the network. Some of us had to put that code in. I will try to post what i did for this.

Go to Top of Page

StewartS
Starting Member

2 Posts

Posted - 07 April 2006 :  11:49:38  Show Profile
Hi Gecko,

I was just wondering if you found a solution to this, as this is something I will need to address in the very near future. Any pointers would be useful!

Cheers,
Stewart.
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 07 April 2006 :  18:41:16  Show Profile  Visit AnonJr's Homepage
For better or worse, the original network authentication code was written for the old NT4 authentication. Everyone who uses Active Directory has gone and figured it out themselves. The hospital hasn't moved to Active Directory just yet (I keep hearing soon, but that's all I hear).

I'd love to see the people who have worked this out on thier own get together and put together an "Active Directory MOD" (hint) or better yet, see it get added into a point release or new version of Snitz (hint hint). If we ever get there and this hasn't been worked out by then I'll certanly try to work something out and post it.
Go to Top of Page

StewartS
Starting Member

2 Posts

Posted - 11 April 2006 :  06:38:40  Show Profile
Hi AnonJR,

This would be very useful. I'm a relative newbie to this so I'll be struggling to figure it out for myself!

Does anyone know of another (!) message-board/forum that does support this type of authentication?

Best Regards,
Stewart.
Go to Top of Page

lduvall
Starting Member

8 Posts

Posted - 23 June 2006 :  15:34:59  Show Profile
We're trying to use auto-logon as well. We're in the same boat as the guy above. (Windows 2003 Server) We've written something that prompts the user to enter his/her log-on credentials, but we do not want the users to have to do this every time. Any help would be appreciated!

Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 23 June 2006 :  18:42:27  Show Profile  Visit AnonJr's Homepage
I wish I could find where I'd posted this before (my search-foo is a little off today, could be 'cause I'm still at work...) - the problem is people go and find the solution and don't post it. Unfortunately I don't have a place to test it (long story), so all I can do is speculate. I wish I could tell you more.
Go to Top of Page

lduvall
Starting Member

8 Posts

Posted - 28 June 2006 :  16:56:39  Show Profile
Anon--can you share your speculation?

I really wish I had a clue what to do.
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 28 June 2006 :  17:41:34  Show Profile  Visit AnonJr's Homepage
There's some code floating around here now that comes fairly close. I've heard there are errors, but nobody is saying what the errors are... which leaves me a little short on where to speculate. Have you searched around for what's already been posted? I think some of the more detailed discussions have been archived already....
Go to Top of Page

norman1nz
Starting Member

New Zealand
1 Posts

Posted - 07 August 2006 :  18:13:12  Show Profile
i thouhght I'd reply with something did that worked for me with win2k3 - thanks to whoever on here posted this up: (cant remember sources sorry)

I changed the following lines of inc_func_common.asp around line 813:



'***this was the original code (uncommented)
'Set strNTUserInfo = GetObject("WinNT://"+strNTUser)
'strNTUserFullName=strNTUserInfo.FullName


'***this code should generate forum name as users full AD name -the [,11] variable removes the domain name prefix(which for us is 9 characters long) and /
strNTUserFullName = mid(request.ServerVariables("AUTH_USER"),11)


'***this code was to repair after enabling 'Use NT AutoLogon' caused to crash***
Dim rootDSE
Set rootDSE = GetObject("LDAP://servername/rootDSE")
Set strNTUserInfo = GetObject("LDAP://servername/RootDSE")
strNTUserFullName=strNTUserInfo.name



Next up I'll try getting auto populating of email addresses. I'm sure somebody posted some complex code for that somewhere here..
Go to Top of Page

lduvall
Starting Member

8 Posts

Posted - 07 December 2006 :  17:08:49  Show Profile
Those are the lines that I replaced with exactly what you suggested. That is how I am now able to get logged into my forum. However, I am still prompted each time I hit the site with a Windows box asking for my username(including domain) and password. Once I enter it, I am indeed logged into the form and it does recognize me. I simply don't want to have to enter that username/password every time. It's not really "auto." Plus, we still don't have any way of fixing NT Groups, right? I've spent most of the day reading about LDAP but I'm just too clueless to really understand what I'm asking. I know my LDAP path and what my OU is named. I just want to somehow store the groups from AD the way the original code stored the NT Groups.
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.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07