Posted on 2010-08-27
i need to be able to specify default credentials to be used for the DirectorySearcher object
ive tried adding the credentials in web.config\appsettings but it will only seem to work if the stored credentials are the same as the currently logged on user
if i try setting to stored credentials a domain admin account i just get the following:
"Logon failure: unknown user name or bad password"
if i log on as that domain admin it works
how can i overcome this?
my site is using basic authentication to authenticate users
i've also created an account with domain admin membership that both the iis site and application pool use as their identity
Thanks in advance