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 generating new userAD Authentication without generating new user
Previous
 
Next
New Post
8/15/2007 11:13 PM
 

I have the Active directory provider working, but I only want users that have current DNN accounts to be able to authenticate. Basically I do not want someone from within the network to logon and have an account in DNN to be autogenerated. I plan on bringing users over manually so I can better control roles and such. Is there a way to stop the auto generate user?

 
New Post
8/15/2007 11:25 PM
 

I believe you'll have to go into the code for the ActiveDirectory login and comment out the lines where it adds the users who don't exist in the DNN database.

With the 4.6 release these type of changes should be easier, but from some pretty extensive digging in the AD code last week I believe it's an always type of handler right now until you comment out that code.


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
8/16/2007 1:34 AM
 

It depends on how you're using Authentication. If your users are manually logging in then just disable Authentication in the Authentication settings. The way the code is currently written the DNN database is checked first to see if the user exists. If it does then it bypasses the AD code (unless their password has changed and they're using their new one). If you've got them automatically logging in then you'll have to do what Chris suggests and recompile the core DotNetNuke.dll.

Also, like Chris mentioned, in 4.6 it'll be much easier. You could take the code for the AD Provider and use it as a template to write your own provider with the changes that you require, compile it, and install it with the new package installer that Charles Nurse has written for the Authentication Providers.

 
New Post
8/16/2007 9:44 AM
 

Thanks for the help.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAD Authentication without generating new userAD Authentication without generating new user


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