Impersonation problems

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.
 
B

bruce barker

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.
|
|
|
 
S

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top