active directory authentication using ldap



Hello All,

I am trying to add forms authentication to an asp.net website. I am
developing locally, than publishing the site to the web server.

Everthing works fine on my local machine in debug mode. I am able to
call up the login page, successfully authenticate against the remote
active directory database and then be re-directed to the requested
page.

The problem occurs when I publish the app to the web server. I call up
the application and get re-directed to the login page. I enter the
same credentials, but receive the following error: Unknown error
(0x80005000)

Development environment:
I am developing on my local machine and then publishing to a web
server. The web server is part of the domain xxx. I have a windows
account for this domain, a vpn connection and a mapped-drive which
enables me to publish.

I have enabled anonymous access for the virtual directory using the
default account IUSR.

I determined that the Active Directory root was YYY.xxx.com and then
set my LDAP connection string to:
LDAP://YYY.xxx.com/dc=xxx,dc=com

I have a vpn connection and to the web server and have mapped a drive
wheich allows me to publish.

I thought that the problem might be that the IUSR does not have
permission to access the Active Directory database. I tried changing
the anonymous account to my own domain account, but the same error
occurred.

Pointers appreciated...

thanks!

.



Relevant Pages

  • Re: active directory authentication using ldap
    ... Use the ActiveDirectoryMembershipProvider that comes with ASP.NET 2.0 and ... The problem occurs when I publish the app to the web server. ... I am developing on my local machine and then publishing to a web ... I determined that the Active Directory root was YYY.xxx.com and then ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: How to enable IWA over multiple servers
    ... Boot up computer and logon as ActiveDirectory username (im joe ... a member of 192.168.0.4 (the web server), ... through a local account on the webserver rather than a domain user ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: How to enable IWA over multiple servers
    ... Boot up computer and logon as ActiveDirectory username (im joe ... a member of 192.168.0.4 (the web server), ... client domain identity correctly when the ASP.NET app is hosted on ... through a local account on the webserver rather than a domain user ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: How to enable IWA over multiple servers
    ... Developing More Secure Microsoft ASP.NET 2.0 Applications ... how are you accessing the web server? ... Boot up computer and logon as ActiveDirectory username (im joe ... are you logon through a local account on the webserver rather ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: accessing Active Directory
    ... I find the document and tried to apply the delegation in the active directory ... then I made the web server computer to be trusted for delegation ... then you can use a service account instead. ...
    (microsoft.public.dotnet.security)