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.02 BetaActive Directory 01.00.02 Beta
Previous
 
Next
New Post
12/28/2007 8:16 PM
 

I've posted a beta of the 01.00.02 release of the provider here. This release has a number of fixes and a few enhancements (ACD-3084, ACD-4641, ACD-5563, ACD-6416, ACD-6451, ACD-6452, ACD-6493, ACD-6901). ADC-6901 is a major fix for DNN 4.8.0 as the current provider will cause the site to crash.

The files are beta and haven't passed through the DotNetNuke Release Process so do not use them on a production site until you have thoroughly tested them in a test environment.

 
New Post
12/29/2007 4:08 PM
 

Mike, let me be the first to give you a big thank you for this beta version.  I don't need it for 4.8, but am quite thankful for the bug fixes.  I was getting restless with the validation delay on 1.01.

Kel

 
New Post
12/31/2007 10:56 AM
 

I had to do the following to get my site to work with the new 1.00.02 beta AD provider:

I see that with this version, the usernames are no longer in the format: MYDOMAIN\username, but rather just username.  To update the existing accounts in the DNN database, I believe you need to update 3 columns in two tables (it worked for me):

UPDATE dbo.Users
SET Username = REPLACE(Username, 'MYDOMAIN\', '')
WHERE Username LIKE '%MYDOMAIN\%'

UPDATE dbo.aspnet_Users
SET UserName = REPLACE(UserName, 'MYDOMAIN\', '')
WHERE UserName LIKE '%MYDOMAIN\%'

UPDATE dbo.aspnet_Users
SET LoweredUserName = REPLACE(LoweredUserName, 'MYDOMAIN\', '')
WHERE LoweredUserName LIKE '%MYDOMAIN\%'

So far so good with 1.02 and these table updates.  Kel

 
New Post
12/31/2007 2:43 PM
 

Hmmm you shouldn't have had to Kel. It was an option I was going to add, thanks to Kevin Hoskins, but I hid the option because I hadn't worked out what needed to be done to the tables if the domain name was stripped. Easy enough to do if you decide to strip it but if you later decided that you needed the domain name how would you know which accounts were domain accounts etc.

I just fired up my VPC to check the code and the accounts are still going in as Domain\Username.

 
New Post
1/2/2008 4:44 PM
 

I seem to have problems configuring it. Please see the event stack traces below. I am running DNN on a local box with access to the domain. I use my own u and p to configure access to AD.

In fact, just clicking update settings in the Authentication screen gives me:

An error has occurred.
Error: is currently unavailable.

 

  1/2/2008 4:38:46 PM   Module Load Exception   adminIntranet     ModuleId: -1; ModuleDefId: -1; FriendlyName: ...
ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 04.08.00
PortalID: 0
PortalName: Intranet
UserID: 2
UserName: adminIntranet
ActiveTabID: 52
ActiveTabName: Authentication
RawURL: /intranet/Admin/Authentication/tabid/52/Default.aspx
AbsoluteURL: /Intranet/Default.aspx
AbsoluteURLReferrer: http://localhost/intranet/Admin/Authentication/tabid/52/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 36f95789-fbec-4a20-afc8-6feed18efab5
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Authentication.ActiveDirectory.ADSI.Utilities.AddADSIPath
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Authentication.ActiveDirectory.ADSI.Utilities.AddADSIPath(String Path, Path ADSIPath) at DotNetNuke.Authentication.ActiveDirectory.ADSI.Utilities.GetRootEntry(Path ADSIPath) at DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.GetNetworkStatus() at DotNetNuke.Authentication.ActiveDirectory.Settings.UpdateSettings() --- End of inner exception stack trace ---
Source:
Server Name: GGPC
  1/2/2008 4:38:46 PM   General Exception   adminIntranet     AssemblyVersion: 04.08.00; PortalID: 0; PortalNa ...
AssemblyVersion: 04.08.00
PortalID: 0
PortalName: Intranet
UserID: 2
UserName: adminIntranet
ActiveTabID: 52
ActiveTabName: Authentication
RawURL: /intranet/Admin/Authentication/tabid/52/Default.aspx
AbsoluteURL: /Intranet/Default.aspx
AbsoluteURLReferrer: http://localhost/intranet/Admin/Authentication/tabid/52/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 2e86a4c2-83b9-4c26-b4ff-804ff9e9d831
InnerException: Logon failure: unknown user name or bad password.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.DirectoryServices.DirectoryEntry.Bind
StackTrace:
Message: System.DirectoryServices.DirectoryServicesCOMException (0x8007052E): Logon failure: unknown user name or bad password. at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.DirectoryEntry.Exists(String path) at DotNetNuke.Authentication.ActiveDirectory.ADSI.Configuration..ctor()
Source:
Server Name: GGPC
  1/2/2008 4:38:46 PM   General Exception   adminIntranet     AssemblyVersion: 04.08.00; PortalID: 0; PortalNa ...
AssemblyVersion: 04.08.00
PortalID: 0
PortalName: Intranet
UserID: 2
UserName: adminIntranet
ActiveTabID: 52
ActiveTabName: Authentication
RawURL: /intranet/Admin/Authentication/tabid/52/Default.aspx
AbsoluteURL: /Intranet/Default.aspx
AbsoluteURLReferrer: http://localhost/intranet/Admin/Authentication/tabid/52/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 62c46cee-ba63-46dc-a188-bf7d8539f634
InnerException: Logon failure: unknown user name or bad password.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.DirectoryServices.DirectoryEntry.Bind
StackTrace:
Message: System.DirectoryServices.DirectoryServicesCOMException (0x8007052E): Logon failure: unknown user name or bad password. at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.DirectoryEntry.Bind() at System.DirectoryServices.DirectoryEntry.get_AdsObject() at System.DirectoryServices.PropertyValueCollection.PopulateList() at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName) at System.DirectoryServices.PropertyCollection.get_Item(String propertyName) at DotNetNuke.Authentication.ActiveDirectory.ADSI.Utilities.GetRootForestPath(Path ADSIPath)
Source:
Server Name: GGPC

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationActive Directory 01.00.02 BetaActive Directory 01.00.02 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