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 ForumsAuthenticationAuthenticationCould not access LDAP to obtain domains info. (ActiveDirectoryAuthentication)Could not access LDAP to obtain domains info. (ActiveDirectoryAuthentication)
Previous
 
Next
New Post
4/5/2010 11:01 PM
 

Hi every people!

I using DNN 5.2.3, ActiveDirectoryAuthentication 5.0.2 , Server 2003, but when connect to AD have error:

  Authentication Settings
This editor allows you to configure the Authentication Provider.

Error Accessing Global Catalog:
FAIL
Checking Root Domain:
FAIL
Accessing LDAP:
FAIL
Find all domains in network:
Could not access LDAP to obtain domains info
The specified domain either does not exist or could not be contacted.






   


Root domain
User Name
Pass word
Confirm password
Email domain
Default domain
Auto login ID Address(op)

Update Authentication Settings

 
 

 please help me.!

 

 

 
New Post
4/6/2010 1:04 AM
 
There's question marks beside each item that will give you instructions for each item. For example: you've got the root domain incorrect. It should be dc=nvkiet, dc=com. Also the Email domain should read @nvkiet.com. Give those changes a shot. You can also find the documentation for the provider at http://www.dotnetnuke.com/Development/Forge/ProviderAuthentication/Downloads/tabid/852/Default.aspx
 
New Post
4/6/2010 4:22 AM
 

Hi Mike Horton!

when I config follow your way, however i face an error:

  Authentication Settings
This editor allows you to configure the Authentication Provider.

 




   









Error Error: is currently unavailable.
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 ---

 Update Authentication Settings

Could you give me some ideas to solve this prolem, please!

 

best regard,

 
New Post
4/6/2010 10:43 AM
 

Default Domain: Leave it as nvkiet.com. Only the Root Domain needed to be changed.

Email Domain: Set it as @nvkiet.com. Not as dmvanh@nvkiet.com.

Username: set it as nvkiet\administrator

If that still doesn't work then you may have to use impersonation in your web.config. How to do this is explained in the documentation.

 
New Post
4/7/2010 3:57 AM
 

Hi Mike Horton!

I have configured according to your instructions but it still the same error.

  Authentication Settings
This editor allows you to configure the Authentication Provider.

 




   









Error Error: is currently unavailable.
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 ---


I also tested it with an aspx page that has been connected to the domain.

This is aspx page:

 DirectoryEntry entry = new DirectoryEntry("LDAP://nvkiet.com",
                                                   "administrator",
                                                     "nvkiet");

            Object obj = entry.NativeObject;
            DirectorySearcher search = new DirectorySearcher(entry);
            search.Filter = "(SAMAccountName=administrator)";
            search.PropertiesToLoad.Add("cn");
            SearchResult result = search.FindOne();

         if (null == result)
            {
                Label1.Text = "connec error";
            }
            else
            {
                Label1.Text = (String)result.Properties["cn"][0];
            }

It is currently unknown what errors in configuration or not?

We hope to help you.


Thank you.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationCould not access LDAP to obtain domains info. (ActiveDirectoryAuthentication)Could not access LDAP to obtain domains info. (ActiveDirectoryAuthentication)


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