Multiple LDAP sources

Posted by Community Admin on 03-Aug-2018 17:11

Multiple LDAP sources

All Replies

Posted by Community Admin on 03-Jun-2016 00:00

I'm working on a test setup attempting to use multiple LDAP sources. 

Sitefinity is set up on a Windows 2012R2 server in a corporate AD Domain.  The default "LdapUsers" connection is setup and configured by default for that domain.  The users in the domain are various "administrators" of content and general administrators for Sitefinity administrator role.

 

We've set up a trust relationship with an external domain that's in a DMZ.  This Microsoft AD DS domain is the location for the user accounts for our customers.

 

Using knowledge I gathered from this post:  www.sitefinity.com/.../custom-membership-provider

 

I've done the following:

 

Added a second LDAP connection named "ExtranetLDAP"

 

Created a membership provider "ExtranetUsers".  With that membership provider, made sure to use the providertype "
Telerik.Sitefinity.Security.Ldap.LdapMembershipProvider, Telerik.Sitefinity"

 

Created two parameters for that membership provider "applicationName" and "connection".  For connection, I made the value "ExtranetLDAP". 

 

Question, on the applicationName parameter, does it matter what the value is for the key?  Can it be the same value as the connection key from the "LdapUsers" membership provider?

 

I then created a new role provider "ExtranetRoles".  With that membership provider, made sure to use the providertype "
Telerik.Sitefinity.Security.Ldap.LdapMembershipProvider, Telerik.Sitefinity"

 

I created two parameters, "applicationName" and "connection".  For connection, I made the value "ExtranetLDAP". 

 

Same question on the role provider "applicationName" parameter.  Does the value have to be something specific or does it have to match something else?  Can it be the same value as the connection key from the "LdapRoles" provider?

 

Thank you

 

 

Posted by Community Admin on 08-Jun-2016 00:00

Hello,

For the role provider you need to use "Telerik.Sitefinity.Security.Ldap.LdapRoleProvider, Telerik.Sitefinity".

The applicationName can be set to whatever you like. The important thing is that is the same for the Membership provider and the Role provider.

The connection parameter serves to point which LDAP connection will be used. The name should correspond to a name of a connection under Security -> LDAP Settings -> LDAP Connections. Make sure it is the same for the role and membership providers.

If the connection parameter is left blank it will use the default connection specified in Security -> LDAPSettings.

Regards,
Velizar Bishurov
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

Posted by Community Admin on 09-Jun-2016 00:00

Thank you

This thread is closed