Yes, it is a network resource, but it involves only two machines - the
machine that the browser is running on, and the webserver.
If a third machine were involved, then this would require delegation. The
first computer connects to the second computer via a standard network
connection - this doesn't require delegation. However, if the second
computer then tries to connect to a third computer using the credentials by
which the first computer accessed the second computer, then this would
require delegation because the third computer would need to trust the second
computer's authentication of the first computer.
Well, we finally got things to make sense. The three machine scenario
you mention above is exactly the scenario we were trying to test. A
web browser hitting a web server remotely over the network, which then
tries to access a file sitting on another box. At first we did not
have delegation enabled and we were not getting any errors which
didn't make sense. I later rewrote a smaller test web app from the
ground up and retried the scenario and started getting the errors I
was expecting. I'm not sure what I was doing wrong before, but things
make sense now.
All the test web app does is impersonate the user passed in from the
web browser and try to access a network resource. If I open up a
browser *on the web server* and hit the app, it works fine even if
kerberos is disabled. The network resource is accessible without
error. This is the two computer scenario. However, if I go to another
machine and browse to the web app from there (kerberos still disabled)
I get an error stating that it can't access the file. So that would be
the three computer scenario and, as expected, it does not work with
kerberos disabled. If we then enabled kerberos I can successfully hit
the web app from a computer other than the web server.
We found that kerberos didn't work unless you fully qualified the
server name in the url (
http://server.domain). Not sure why.
So long story short, the world once again makes sense. Thanks to all
for the help.
Dave