Re: help on caller credentials !! :-(
- From: "Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 14 May 2007 09:36:11 -0500
You shouldn't run as local service. You should run as Network Service
instead, as that will allow the service to access the network and
participate in domain-based authentication.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"calderara" <calderara@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:551CC5DF-DF28-403E-A30C-A55CD8A2C520@xxxxxxxxxxxxxxxx
Dear all,
I start to loose my hairs. Hoep someone could help me to recover..:-)
I have build a remote object hosted in a Windows Service runing as
LocalService.
I have then a claient application which calling that remote object and
based
on the caller credential I shouzld authorise hit or not to access to back
end
database.
The situation is as follow :
My client is running as BOB. BOB is calling the remote object for data
storage. What I try to do is retriveing the caller credential from my
remote
object in order to athauticated for further process. The problem is that
when
I check the wndows identity on my server side, it return the context on
which
my service is running and not my caller's context.
MY server config file is as follow :
<channels>
<!--<channel ref="tcp" port="8090"
useDefaultCredentials="False">-->
<channel ref="tcp" port="8090" secure="True"
impersonationLevel="Impersonate" protectionLevel="EncryptAndSign">
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full"/>
</serverProviders>
</channel>
</channels>
Note that I am using .NEt 2.0
Thnaks again for your help ( I am fighting for a full week now on this
grrr
:-()
regards
serge
.
- Follow-Ups:
- Re: help on caller credentials !! :-(
- From: calderara
- Re: help on caller credentials !! :-(
- Prev by Date: Re: TcpChannel under .NET 2.0
- Next by Date: Re: help on caller credentials !! :-(
- Previous by thread: Re: logon as service privilege problem
- Next by thread: Re: help on caller credentials !! :-(
- Index(es):
Relevant Pages
|