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 ForumsAuthenticationAuthenticationActive Directory 01.00.03 BetaActive Directory 01.00.03 Beta
Previous
 
Next
New Post
3/4/2008 11:14 PM
 

It pulls the email from the Active Directory user object so if there isn't one specified there it won't fill the email address. At some point Tam (the original coder) was automatically creating the email if one didn't exist or he planned to and never did and I didn't notice that wasn't happening until very recently. So yes it is supposed to work like that but it doesn't work.

That said, I have run into instances where the AD provider won't pull all the information it that it should which is one of the reasons I'm looking at a complete rewrite of the code take advantage of extensions made to the System.DirectoryServices class in .NET 2.0. However I haven't run into situations such as you were having when fields weren't pulled in.

 
New Post
3/18/2008 12:01 PM
 

Thanks for putting up the beta for us to test with!  I did hit an error that you mentioned in your post.  The email field for my clients in AD are empty and I have the field set to required.  So if a new user hits the site, it registers them but shows and error on the page saying "Unknown UserCreateStatus value encountered Parameter name: UserRegistrationStatus".  I was hoping that the client would get redirected to their "Manage Profile" page to update/add their email address.

Since my all of my clients have no email in AD, I would be more than happy to try anything to assist in testing a fix on my development site.

Thanks in advance!

 
New Post
3/18/2008 8:47 PM
 

Mike,

I've installed the Beta on a 4.8.1 ddn portal. After following the instructions in the 01.00.02 I encountered errors when testing the settings.

Accessing Global Catalog fails, Checking the Root Domain is ok but the accessing LDAP fails as does the Find all domains in network.

The error message that gets displayed is as follows: Could not access LDAP to obtain domains info. Logon failure: unknown user name or bad password.

I've spoken with our Systems Admins and they assured me that the user account I was using definately has Permission to read access to the Active Directory.

We also tried using several Domain Admin accounts with the same results.

I thought it may have had something to do with needing to use the identity impersonation. I modified the web.config file but then I couldn't access the site at all.

Any thoughts?

Adrian

 
New Post
3/18/2008 9:06 PM
 

Adrian

I've got a couple of ideas but I'm on my way out the door. I'll flesh them out for you when I get home.

 
New Post
3/18/2008 11:44 PM
 

Adrian,

First, let's take DNN out of the equation make sure the server can contact the AD. Take a look at Softerra's LDAP Browser (http://www.ldapbrowser.com/download.htm). If you can connect and get domain user information through there then we know the problem is in the AD provider connecting to the AD.

Second, if the connection does work through LDAP Browser. We need to try impersonation. I cover this in the documentation but basically the user account you use for impersonation needs to have the same rights as NETWORK SERVICE does on the DNN install. That part is covered in the documentation. Now here's where I think I may have made an omission in the documentation and need to test to verify. I think that same account also needs to have the same rights to <SystemDrive>:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\<DnnInstall> directory. That should take care of the errors you're seeing when you use impersonation.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationActive Directory 01.00.03 BetaActive Directory 01.00.03 Beta


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