Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Authentication ...  Install Active Directory for beginners like me!
Previous Previous
 
Next Next
New Post 7/13/2006 5:12 PM
User is offline Kimberly
35 posts
10th Ranked


Install Active Directory for beginners like me! 
Modified By Kimberly   on 10/16/2006 1:37:45 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 9:39 PM
User is offline Zivan van Zyl
53 posts
presstopia.com
10th Ranked


Re: I got AD to work this way... 
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!

Presstopia.Com
Free Forum Module for DotNetNuke!
 
New Post 7/14/2006 3:39 PM
User is offline Kimberly
35 posts
10th Ranked


Re: I got AD to work this way... 
Thank you!  That is very kind!
 
New Post 7/17/2006 1:27 PM
User is offline Rory
6 posts
10th Ranked


Re: I got AD to work this way... 
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 2:32 AM
User is offline samahe
1 posts
10th Ranked


Re: Install Active Directory for beginners like me! 
Thank you, thank you, thank you! You just prevented me from going crazy
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Authentication ...  Install Active Directory for beginners like me!
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DotNetNuke Web Hosting w/ ASP.NET 3.5
Unlimited email boxes, Unlimited databases, Unlimited domains. Plans start at $4.97
www.MyWinHosting.com
SteadyRain
Founded in 1999, SteadyRain has extensive experience delivering Internet technology strategies and solutions for a diverse client base, ranging from Fortune 500 firms to successful start-ups.
www.steadyrain.com
AfterImage Internet Consulting and SEO Services
AfterImage provides search engine optimization (SEO), Internet consulting and hosting services for the Windows platform (IIS, ASP, SQL Server).
www.afterimage.nl/

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP