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 ForumsAuthenticationAuthenticationAD Authentication WITHOUT domain as part of Username in Users TableAD Authentication WITHOUT domain as part of Username in Users Table
Previous
 
Next
New Post
6/25/2013 10:44 AM
 

Is possible/plausible to not have the domain name as part of the username in the user tables?

 While Active Directory works great, I am finding that another extension that I use (Document Exchange) does not work 100% because of the domain\username values for the Username.

 More specifically, the problem occurs when trying to establish a WebDav connection through Windows Explorer.  When a user tries establish this connection and passes his/her username as "Domain\Username", Windows Explorer drops the "Domain\" part of the user name from the request header, which in turn causes the Document Exchange WebDAV authentication to fail. However, the WebDAV works when the user is a non-domain user.  Unfortunately, all of my users are domain users.

This is not a limitation on AD authentication - more likely a limitation of Windows Explorer's WebDAV integration as well as Document Exchange's non-consideration of folks using the AD authentication and the effects on the  Username field in the users table.  However, Windows won't be rewriting explorer anytime soon, and Document Exchange does not provide the source code.  Hence why I am inquiring here.

 If the changes are possible (even with a mod in the code) could you possibly share some insight as to what the side-effects are within the rest of the system (if any) and what potential pitfalls may occur due to this change (if any).

 Thanks!

 
New Post
6/25/2013 5:38 PM
 
It could be done with some modification to the code and it was even considered at one point. All that needs to be done is that when the user is created to strip anything before and including the \ character. The reason I've never made the modification is that it could potential lead to username collisions, i.e you have a non-domain user rman and an AD user rman goes to log in. What do you do? Which account takes priority? This is a consideration even in multi-portal installs or multi-domain installs.
 
New Post
7/2/2013 12:04 PM
 

A code modification is one thing I was considering.  Instead of simply stripping the domain from the username upon registration, could we not add an additional column "Domain" to the users table?  That might help to solve username collisions - as you had mentioned.

 
New Post
8/13/2013 6:43 AM
 
possibly related to this, is there a way to "hide" the domain name from the user list, as all my users are sitting under the "C" as it is the start of our domain name.

eg Warren Boone, is listed under "C" as Corp\Warren.Boone and not under "W"

regards
Warren
 
New Post
8/13/2013 10:52 AM
 
Warren, because the domain name is part of the username there's no way to hide it.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAD Authentication WITHOUT domain as part of Username in Users TableAD Authentication WITHOUT domain as part of Username in Users Table


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