Impersonation problems

  • Thread starter Thread starter Sharon
  • Start date Start date
S

Sharon

Hi to all.
I have two Impersonation problems:

1. When using my app. from a remote computer,
the aspx page is unable to get information from Active Directory.
I am using Impersonation, and the Impersonated user is logged to the domain.
When I'm doing the same, logged as the same user, but on the server
computer,
it works.

2. When using Impersonation and setting the user name and password in the
web.config
file, the aspx page is able to access files on a file server.
But when user name and password are not in the web.config file,
and I am logged in as the same user, access is denied.

What am i missing here?
Thanks.
Sharon.
 
see >>

-- bruce (sqlwork.com)


| Hi to all.
| I have two Impersonation problems:
|
| 1. When using my app. from a remote computer,
| the aspx page is unable to get information from Active Directory.
| I am using Impersonation, and the Impersonated user is logged to the
domain.
| When I'm doing the same, logged as the same user, but on the server
| computer,
| it works.
|
access network resources (1 hop rule). if you are on the iis box, it has a
primary token, and can do 1 hop. if you access from another box, you used up
1 hop getting to iis.

| 2. When using Impersonation and setting the user name and password in the
| web.config
| file, the aspx page is able to access files on a file server.
| But when user name and password are not in the web.config file,
| and I am logged in as the same user, access is denied.
|
asp.net can access remote resources

| What am i missing here?
| Thanks.
| Sharon.
|
|
|
 
Thanks Bruce.
I thought the problems are related.
So i need to forward the impersonated account to the file server / active
directory.
Do you know how it's done?
Sharon.
 
Back
Top