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/20/2008 2:45 AM
 

Adrian - you and I are having the same problem - see my post here - http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/89/postid/213784/scope/posts/Default.aspx

Hopefully we'll be able to solve it together.

Ian


Ian Sampson Glanton Solutions - DNN Partner AD-Pro - Active Directory integration for DNN Are you contented? Ask us how you can use DNN to converse, convert and connect your audience.
 
New Post
3/20/2008 11:36 AM
 

Hi Mike,
first of all, thank you for distributing the beta.

I had a partial success installing the new beta: it appear to behave somewhat different on two different servers, but which are configured exactly the same way, and gives some errors in my customer AD forest.

I have a forest of 5/6 domains: DNN is configured with Active Directory authentication pointing to the local domain, and all domains are verified as accessible in AD authentication configuration page. The problem is that with previous version, 1,0, I could login with accounts from all of the domains in the forest, while now, wtih 1.0.3, only local accounts (of the local AD Domain) can login. Users from other domains are refused, and I find evetlog errors such as:

 System.NullReferenceException: Object reference not set to an instance of an object.  at DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.GetUser(String LoggedOnUserName, String LoggedOnPassword)

 I'm collecting more info about this. The strange is I did not change configuration (which is the same as for ad provider for 1.0). More strange is I've got strange results, different results on 2 servers.

I've got a dev server, and a production one. Both win2003 with SQL Express, both on the same domain, same forest. Also, the dev server was aligned to the production one before starting these tests (DNN installation is identical, except for hostname and db connectionstring; db is identical). DNN 4.8.1 for both.

On the dev server, I had to add impersonation domain\user and password to web.config: without these, no way to get it running (exceptions avoid DNN to start). With impersonation configured, it starts but only authenticates users from the local domain.

On the production server, adding such info to web.config apparently does not produce any changes. I mean it works the same with or without this change: possible? What could be the reason for this? Anyway, It still does allow login only from the local domain.

When is next beta expected for? ;-)

thank you,

al.

 
New Post
3/20/2008 12:02 PM
 

Hi Alberto

There wasn't really any major changes to the code for .03 other than bug fixes and a few small enhancements that shouldn't have affected what was working before (though I can't say it didn't as I don't have the ability to test on multi-domain setups).

Why one install needs impersonation and another doesn't, I can't say. I've run into the same thing and have never been able to find a satisfactory answer.

Next beta....I can't say. I'm looking at making some major changes to the provider code but am in the middle of working on some other projects at work that have deadlines looming. Until they get done I can't work on the provider at work and until my son's tournament season slows down I can't dedicate a lot of time towards the provider at home.

 
New Post
3/20/2008 12:17 PM
 

Hi Mike,
I'll try to debug and investigate further, hoping not to be the only one who's dealing with multiple domains!

Meanwhile, the complete error I get (failing authentication for a valid user of another domain) is:

AssemblyVersion: 04.08.01
PortalID: 0
PortalName: INTRANET
UserID: -1
UserName:
ActiveTabID: 54
ActiveTabName: Login
RawURL: /Login/tabid/54/Default.aspx?returnurl=%2fHome%2ftabid%2f36%2fDefault.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://10.x.x.x/Login/tabid/54/Default.aspx?returnurl=%2fHome%2ftabid%2f36%2fDefault.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: f018f5ba-5e2d-4522-8c2b-df4edbf461d6
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.GetUser
StackTrace:
Message: System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.GetUser(String LoggedOnUserName, String LoggedOnPassword)
Source

Will report anythin useful I could find.

Regards,

al.

 
New Post
3/24/2008 12:10 PM
 

Hi Mike -

Running DNN 4.8.1 with the AD Provider 1.00.03.  Authentication seems to work - it creates the user record and pulls profile information from the AD record.  My problem is that the AD roles are not coming over.  I have created a role in DNN matching the role in AD - nothing...

I do have the "Synchronize Role?" box checked...

Am I missing something? 

Thanks!

Mark

 

 
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