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 ForumsAuthenticationAuthenticationRole Sync ProblemRole Sync Problem
Previous
 
Next
New Post
4/15/2008 4:35 PM
 

After upgrading to 4.7 and installing AD 1.03 I am now getting an error in the event log

Method: System.DirectoryServices.DirectorySearcher.DoSetSearchPrefs
StackTrace:
Message: System.InvalidOperationException: The value for the property AttributeScopeQuery cannot be set. at System.DirectoryServices.DirectorySearcher.DoSetSearchPrefs(IDirectorySearch adsSearch, AdsSearchPreferenceInfo[] prefs) at System.DirectoryServices.DirectorySearcher.SetSearchPreferences(IDirectorySearch adsSearch, Boolean findMoreThanOne) at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne) at System.DirectoryServices.DirectorySearcher.FindAll() at DotNetNuke.Authentication.ActiveDirectory.ADSI.Utilities.SearchNestedGroups(DirectoryEntry group, String DistinguishedName) at DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.IsAuthenticationMember(GroupInfo AuthenticationGroup, UserInfo AuthenticationUser) at DotNetNuke.Authentication.ActiveDirectory.UserController.AddUserRoles(Int32 PortalID, UserInfo AuthenticationUser)

and user roles are not synching.

 
New Post
4/15/2008 6:04 PM
 

This is an issue that is similar to one I just heard about last week that I have to find a fix for (which is difficult because I can't recreate it on my systems).

 
New Post
4/15/2008 6:18 PM
 

is there any other info that i can provide? This has set me back and i need to find a fix.  Also, when the roles did synch before, they didn't have to be in the Global Roles, is this a change in the new version? I have many roles that i placed in a role group in Dnn and now have to move them because they need to be in Global roles.

 

 
New Post
4/15/2008 6:28 PM
 

If it was working outside of Global roles then it should still work (I've been making an assumption based on the code I've seen). You say new version, what version where you using before?

I don't know what other info I can provide until such time as I find a possible fix and get people to test it and go from there. I know what section of code (SearchNestedGroups) is causing the problem but if I can't recreate it on any of my installs at home and at work then I can't say why it's not working.

 
New Post
4/15/2008 6:37 PM
 

I was on DNN 4.4 using older AD module (not sure which verison, it had the dll DotNetNuke.Authentication.ADSIProvider.dll in the bin folder, not in providers folder).  After upgrading to 4.7, i had to switch to the new 1.03 version because of changes.

This brings up another question, is it possible that the provider path is incorrect? I probably don't know how it works, but in the web config file the entry is:

 

 

<providers>clear/>add name="ADSIAuthenticationProvider" type="DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider, DotNetNuke.Authentication.ActiveDirectory" providerPath="~\Providers\AuthenticationProviders\ADSIProvider\"/>providers>

I can't seem to find a path with that name.

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationRole Sync ProblemRole Sync Problem


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