开发者

AzMan and Classic ASP

开发者 https://www.devze.com 2023-03-10 12:38 出处:网络
I have setup AzMan and have a few classic ASP sites that I would like to use it in. The AzMan store is setup in Active Directory. I can get it to work fine in ASP.NET and using a VBS (Visual Basic Scr

I have setup AzMan and have a few classic ASP sites that I would like to use it in. The AzMan store is setup in Active Directory. I can get it to work fine in ASP.NET and using a VBS (Visual Basic Script). My problem is that it doesn't work on classic ASP. I assume it has something to do with security. Here is the line it fails on:

AzManStore.Initialize 0, "msldap://domain.com/CN=BIS,CN=Program Data,DC=domain,DC=com"

I开发者_如何学C know the connection string is correct and it works fine with the other applications. The ASP application is running under anonymous. What I believe is happening is that the user cannot login. Is there a way to provide a username and password in the connection string?

The requirements for this site is using anonymous access, but using forms to authenticate.


You might need to make sure that your process identity is set to a custom domain account, and not running as a local machine account like IUSR_<servername> or ApplicationPoolIdentity, which might not be able to bind to the AD.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号