LDAP Integration issue
Hi there,
I am trying to integrate Active Directory with one of my Sitefinity 4 site but I couldn't.
I had an 3.7 website and Active Directory and LDAP and it works flawless.
I will explain you what I am doing here.
Firstly, LdapConnection
Secondly, roleProviders with "connection" property.
Thirdly, membershipProviders with "connection" property.
now when I restarts the server the LdapUsers,LdapRoles appears under Administration Users and Roles, but there is nothing in it.
Can you please explain about the different attributes in the LdapConnection like "serverName","connectionDomain". please see my example of securityConfig.config.
<
roleProviders>
<add connection="DefaultLdapConnection" enabled="True" name="LdapRoles" />
</roleProviders>
<membershipProviders>
<add connection="DefaultLdapConnection" enabled="True" name="LdapUsers" />
</membershipProviders>
<LdapConnections>
<connections>
<LdapConnection name="DefaultLdapConnection" serverName="***" serverPort="389" connectionDomain="***" connectionUsername="u" connectionPassword="p" usersDN="OU=**,DC=**,DC=**" maxReturnedUsers="200" maxReturnedRoles="200" rolesDns="OU=**,DC=**,DC=**"/>
</connections>
</LdapConnections>
Hi Nimit,
The serverNameis your actual website name for example: http://www.telerik.com
The connectionDomain is the title for your domain. If we use the above example, the connectionDomain will be telerik.
The following articles might be also useful to you.
http://www.sitefinity.com/devnet/forums/sitefinity-4-x/general-discussions/active-directory-users-amp-roles.aspx
http://www.sitefinity.com/devnet/forums/sitefinity-4-x/general-discussions/configuring-ldap.aspx
http://www.sitefinity.com/devnet/forums/sitefinity-4-x/developing-with-sitefinity/ldap-security-and-user-roles.aspx
All the best,
Victor Velev
the Telerik team