MVC 4 SImpleMembership with LDAP

I want to try using simpleMembership, but connect it to our LDAP. I have not seen anything on the Internet about this, only with SQL. Does anyone know if this is possible and can lead me in the right direction?

+6
source share
2 answers

I think you need to create a class that inherits from ExtendedMembershipProvider and write the LDAP implementation. No built-in LDAP support.

See this post for more information on how SimpleMembership works in ASP.NET MVC 4 .

+4
source

I'm not sure, but ActiveDirectoryMembershipProvider can be configured to connect to another LDAP provider. You mentioned in an earlier answer that you are using Active Directory, so this might not even be a problem.

http://msdn.microsoft.com/en-us/library/system.web.security.activedirectorymembershipprovider.aspx

0
source

Source: https://habr.com/ru/post/924184/


All Articles