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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Alternate Approach to LDAP (or active directory)Alternate Approach to LDAP (or active directory)
Previous
 
Next
New Post
12/8/2006 2:33 PM
 

I am currently setting up an intranet using DNN in replacement of our previous software.  One of the features that my users really like is having it automatically log them in so they don't have to do jack.

With that in mind, I decided to look in to the active directory method by Tam and the other guy (sorry other guy, can't remember your name).  While their method is really good, it had some things that I really didn't like about it.  For one, it automatically registered an active directory user in the portal the second they attempted to access it, whether I want them to be able to or not.  Additionally, it creates the users with "domain\username" format which is really undesirable.

As part of my process, I'm writing my own import routine because I have to put people in to security roles based on which department they work in, if they are a manager, etc.  So, I already have users in the DB... I really don't want duplicates.

My solution?  I came up with a sneaky way to continue with the forms authentication but still figure out who they are.  I have no idea if this works with firefox or other browsers since I don't have to care about that (all computers in the company are loaded with IE and nobody has rights to install their own software).  However, it works beautifully in tests I have ran with IE6.

I created a very simple module that detects logon from the server variables and then strips out domain info, uses the UserController.LoadByName (or whatever method it was) to get them, and if i find them, do the login code myself.

Can get this at http://foober.homeip.net under my software section (with source code).

Curious if anybody has done something similar or has comments about it.

- Fooberichu


-- Jon Seeley
DotNetNuke Modules
Custom DotNetNuke and .NET Development
http://www.seeleyware.com
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Alternate Approach to LDAP (or active directory)Alternate Approach to LDAP (or active directory)


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