Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationInstall Active Directory for beginners like me!Install Active Directory for beginners like me!
Previous
 
Next
New Post
7/13/2006 7:12 PM
 

MY Specs:

DNN 4.0.3 Source

Windows Server 2003

IIS v. 6.0

SQL Express v9.0.2047

ASP.NET 2.0.50727

 

Ok, here’s the deal.  I know there are a thousand posts on her about the AD, but I never quite got it.  So I finally decided to print out several posts and dig through the muck until I got my AD to work.  I wrote down everything so that I wouldn’t miss any steps and IT WORKED!  Yeah!

Surprisingly enough with all the steps written out, it became easy.  And to think I had put it off forever because I had almost given up!

 

Anyhooo….  I can’t guarantee my steps will work for you, but hopefully it will help someone.  So here it is, just keep in mind that I am a beginner on this too and don’t claim to know anything about anything.

 

One last note, I could not have done any of this without the help of the links at the bottom.  With that said, gigantic thanks should go to Tam, wedwardbeck, and kc9900.  Without them, I would still have people complaining and wouldn’t have any hair left to boot!

 

(FYI should work for v3.2 and up.)

 

ADMIN SETTINGS

1.                  Logon to your site as Admin

2.                  Go to the Admin tab, scroll down to Authentication and open

3.                  Check "Windows Authentication".

4.                  Check "Synchronize Role?"

5.                  Provider is "ADSIAuthenticationProvider"

6.                  AuthType is "Delegation"

7.                  Domain was set as: dc=fooey, dc=com

8.                  Username is netbiosdomainname\username
   Example: fooey\kimberly
   The account just needs read rights to the AD accounts you want to authenticate.  I did not have to put a name or password in because *I THINK
* I had been working on this previously, so this time it wasn’t needed, also, once you get it to work, I would go back and take this info out..

9.                  Password and confirm password is obvious.

10.              Email domain:  @fooey.com

11.              Click "Update".

12.              This is the message you get if it worked:
 Accessing Global Catalog:
OK
Checking Root Domain:
OK
Accessing LDAP:
OK
Find all domains in network:
1 Domain(s):
fooey.com (SN)  - What is in prentices is important, will explain in a sec

 

IIS SETTINGS: 

1.                  Open IIS Manager find /Admin/Security/WindowsSignin.aspx,

a.       Open local computer

b.      Open Web Sites

c.       Open Default Web Site

d.      Open Virtual Directory DotNetNuke (depends on what you named it)

e.       Open admin

f.        Click once on security and you will see WindowsSigin.aspx in right pane

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.                  Clear the check box for ‘Enable anonymous access’ (in other words, DON’T allow it) and check Integrated Windows authentication.

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

7.                  Close IIS only if you don’t want to use auto-login (see below for auto login)

 

ENABLE AUTHENTICATION HTTPMODULE IN WEB.CONFIG:

1.                  Find your Web.Config file (mine is located at C:\DNN)

2.                  Open with notepad

3.                  Change the comment at authentication httpmodule (<httpmodules> section) in Web.config:

a.       Before you change it:  <!-- add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" / -->

b.      After the change:   <add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" />

 

You can stop here if you want. HOWEVER, if you are using this for an intranet, I can tell you from experience that your users will hate it and even you sometimes.  That’s because they will have to login every time they open IE.  SO!  In order to allow AD to login automatically, you will have to change one more setting.  BE WARNED:  When you have to make changes to your site as HOST, you can log off and back in as the host, but you will not be able to stay under the host name for long before it kicks you back to admin and gives you crap about it.  As far as I know though, you can take the site out of intranet zone while you make your changes.

 

Move your site from the “trusted zone” to the local intranet.

1.                  Open IE

2.                  Internet Options

3.                  Security tab

4.                  Click “local intranet”

5.                  Click “sites”

6.                  If it gives you a warning about moving it, say YES

 

A couple of side notes:

* I did NOT have to send people to the windowssignin.aspx, all I did was set up a group policy to take them to the page I wanted them to be on.  And all I did there was to copy and paste the http addy.

*When working with your VD, make sure your DNN site took the v2.0 of ASP.NET; mine didn’t at first and had to change that.

* Make sure your alias are working BEFORE you do all this.

* My users had to login the first time w/ fooey\kimberly, and from that point forward as fooey\kimberly

 

 GOOD LUCK YA’LL!!

 

 

 

http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/89/threadid/18959/scope/posts/Default.aspx

http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/89/threadid/9734/scope/posts/Default.aspx

 
New Post
7/13/2006 11:39 PM
 
I don't use AD on any of my DNN sites so this won't apply to me, but I just thought I'd nonetheless compliment you on taking the time to post all this info. Nice post!
 
New Post
7/14/2006 5:39 PM
 
Thank you!  That is very kind!
 
New Post
7/17/2006 3:27 PM
 
I think this post may prevent any more sane minds from slipping away.  May have even saved a few lives.  Excellent job!
 
New Post
7/19/2006 4:32 AM
 
Thank you, thank you, thank you! You just prevented me from going crazy
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationInstall Active Directory for beginners like me!Install Active Directory for beginners like me!


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out