Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Active Directory Setup
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Active Directory Setup

 Post Reply Post Reply Page  123 4>
Author
jayjay00 View Drop Down
Newbie
Newbie


Joined: 16 November 2007
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote jayjay00 Quote  Post ReplyReply Direct Link To This Post Topic: Active Directory Setup
    Posted: 16 November 2007 at 5:44pm
Wow, I have searched and searched and I cannot find anything on how to setup Active Directory. I've seen a million people talking about it and how easy it was to setup, etc. Where is the FAQ/KB/Tutorial on setting this up? I cannot believe I am having this much difficulty finding it!
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2007 at 6:00pm
There's not presently a KB on this.

To enable this, open in notepad the file functions/functions_windows_authentication.asp just follow the instructions in that file to enable it.

It's as simple as setting one variable in the file to true.

That's basically it, the only other thing you need to do is make sure that anonymous access to the website is disabled in IIS, so that users have to use their active directly login to browse the website the forum is running on.
Back to Top
jayjay00 View Drop Down
Newbie
Newbie


Joined: 16 November 2007
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote jayjay00 Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2007 at 6:08pm
So, does this mean users can use their active directory login to post, etc or is this just viewing the web pages in general?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2007 at 6:14pm
When the windows authentication/active directory is enabled in Web Wiz Forums then when the users browses to the forum it will automatically log them in.

If they do not have a login in the forums database under their active directory login the forum will create one for them.

They are then logged in like any normal users and depending on how you set the forum permissions they can then post new topics, reply, edit posts, etc. within the forum.

Once anonymous browsing of the web site is disabled, then all users who go to the site will need to be logged in under their active directory account. If active directory users couldn't post then there no-one would be posting at all in the forum.


Edited by -boRg- - 16 November 2007 at 6:17pm
Back to Top
jayjay00 View Drop Down
Newbie
Newbie


Joined: 16 November 2007
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote jayjay00 Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2007 at 6:22pm
Where does the user show up? There's no control panel that the AD user can click and the admin cannot see them under member administration.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2007 at 6:49pm
Sorry I don't get what you are asking.

When you enable AD in Web wiz forums, and a user browses to your forum they are logged in like a standard user, an account is created for them which shows up in the member list, and if they are on the board at the time in the active users list.

The only thing that you do have to watch out for, is that your own AD account will not be an admin account, so to get to the admin control panel of web wiz forums you need to log directly into the admin area using the admin.asp page. You can then place your own AD user into the Admin Group of the forum.

If you give it ago you should see, it's fairly straight forward, as all Web Wiz Forums is doing, is getting the login details from AD, it then looks to see if that AD user is in the forum database, if they are it logs them in under that user, if not, it creates an account in the forum for them and enters their AD login details into the database.

You do also have to disable anonymous browsing of your web site, which means the only people who can view the site are those logged in under AD. This means that all users on the forum would be part of AD and be logged in under AD.


Edited by -boRg- - 16 November 2007 at 6:52pm
Back to Top
jayjay00 View Drop Down
Newbie
Newbie


Joined: 16 November 2007
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote jayjay00 Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2007 at 8:13pm
In functions/functions_windows_authentication.asp set Const blnWindowsAuthentication = True
In ISS 6:
I've unchecked "Enable anonymous access"
I've checked "Integrated Windows authentication"

When the user logs on, there is nothing to check their profile. If I click Active Forum Users it shows "Guest 1" and that's it. There is no place to log in.
Back to Top
jayjay00 View Drop Down
Newbie
Newbie


Joined: 16 November 2007
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote jayjay00 Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2007 at 8:51pm
I just tried creating a user under the admin console and I got this:

Microsoft OLE DB Provider for SQL Server error '80040e2f'

Cannot insert the value NULL into column 'User_code', table 'WebWizForums.dbo.tblAuthor'; column does not allow nulls. INSERT fails.

/Forums/admin_register.asp, line 399

Back to Top
 Post Reply Post Reply Page  123 4>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.