c# - On-premise LDAP authentication for Azure ASP.Net MVC 5 -


we have asp.net mvc 5 application hosted on our local servers , authenticate users using on-premise ldap (ad). using following connection string authentication of users in our web.config.

ldap://xx.xx.xx:389/ou=users,ou=is accounts,dc=xx,dc=xx,dc=xx 

now have created , deployed same application in microsoft azure , added following service account credentials above ldap server in web.config file

<add name="admembershipprovider"       type="system.web.security.activedirectorymembershipprovider" connectionstringname="adconnectionstring"       connectionusername="xxx\xxxx"       connectionpassword="xxxx"             attributemapusername="samaccountname" /> 

we having connection issue (user cannot login/access denied) if use above configuration. need authenticate users using on-premise ldap.

we don't want use adfs or azure active directory sync. possible? if so, security settings required done on local ldap server? need open ldap connection our website (website ip address)?

thanks. zul

you have create virtual network , connect on-premises network.

then, depending on service of azure use (cloud service web role or web application), have join service virtual network:

last, not least, have open ldap ports of ad azure virtual network ip address ranges.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -