Blog Home  Home Feed your aggregator (RSS 2.0)  
Venexus DotNetNuke Blog - Active Directory
DotNetNuke Articles, Code Snippets, Errors, and News
 
 Thursday, July 19, 2007

Ready to configure DotNetNuke to use Active Directory for authentication? Here are some basic instructions for configuring AD in DNN that works with DNN 4.5.3:

ADMIN SETTINGS

1.    Log into DNN as Host

2.    Go to Admin > Authentication

3.    Check "Windows Authentication".

4.    Check "Synchronize Role?"

5.    Provider is "ADSIAuthenticationProvider"

6.    AuthType is "Delegation"

7.    Domain: dc=yourdomainminusthedotcom, dc=com

8.    Email domain: @yourdomain.com

9.    Click "Update".

10.  You should see a message like this...unless it does not work ;-):
 Accessing Global Catalog:
OK
Checking Root Domain:
OK
Accessing LDAP:
OK
Find all domains in network:
1 Domain(s):
yourdomain.com (SN)
  

 

IIS SETTINGS: 

1.  Open IIS Manager and find the following file within the DNN site: /Admin/Security/WindowsSignin.aspx,

2.  Right click on WindowsSigin.aspx and select “Properties”

3.  Click “File Security” tab

4.  Click “Edit” in the ‘Authentication and access control’ section

5.  UNCheck box for "Enable anonymous access" and check "Integrated Windows authentication".

6.  Choose “OK” until out of the Properties box

 

ENABLE AUTHENTICATION HTTPMODULE IN WEB.CONFIG:

1.                  Open web.config file with editor

2.                  UNComment the authentication in httpmodule section (<httpmodules>) in Web.config and save file:

<add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" />

You should be able to login and authenticate to the site.

We performed an upgrade and Active Directory configuration this morning for a client, using DNN 4.5.3 and the above instructions worked flawlessly. This is a slightly modified version of instructions found on the DNN Forums by kimberlyrox.

Thursday, July 19, 2007 12:51:29 PM (US Eastern Standard Time, UTC-05:00)  #       |   | 
 Tuesday, February 28, 2006

We are looking for beta testers for a DotNetNuke module that allows users to set/update their Active Directory password. The module has been tested in DNN 3.1.13 and DNN 4.0.2.

Module Settings:

 

Module View:

If anyone has a DotNetNuke development environment, with Active Directory in use, and is interested in testing this module, please let us know by sending an email to support@venexus.com

Tuesday, February 28, 2006 12:49:19 PM (US Eastern Standard Time, UTC-05:00)  #       |   | 
 Wednesday, December 07, 2005

I decided that I would try to make our upgrade from DNN 3.1 to DNN 4 as painful as possible by throwing Active Directory into the mix. I am exploring all methods, including the possiblity of using a custom method for AD authentication and DNN synchronization. So, this will be my placeholder for any valuable information/code tidbits...

Methods for Active Directory - Here they provide several methods for managing your Active Directory database via ASP.Net code. They cover querying user information using System.DirectoryServices, changing user accounts, and group management.

Active Directory Module - On DNN website - Notice: The Active Directory Module currently produced by Tam is slated to be included in an upcoming release of DotNetNuke.  It is not "officially supported" at this time, although we are clearly preparing to do so.  Please bear with us while we incorporate this useful functionality in an appropriate manner.

Retrieving User Info from DotNetNuke  - Discussion on Tam's module and Active Directory

Building Secure ASP.NET Applications: Authentication, Authorization, and Secure Communication - Microsoft on AD and ASP.Net

Active Directory and ASP.NET 2.0 Beta 2 - Did you know MS shipped an Active Directory Membership Provider in Beta 2?

more coming soon...

Wednesday, December 07, 2005 3:32:45 PM (US Eastern Standard Time, UTC-05:00)  #       |   | 
Copyright © 2010 Venexus, Inc.. All rights reserved.