Re: Erratic access to network resources from service

From: Eugene Gershnik (gershnik_at_hotmail.com)
Date: 09/02/04


Date: Thu, 2 Sep 2004 02:59:51 -0700

Old Fart wrote:
> I have a service running under the LocalSystem account in a Win2K
> domain.
> It accesses network resources (shares and named pipes) on other
> computers in the domain. The majority of the time this works fine,
> but frequently the service starts getting access denied (error 5) on
> the network resources. Ten minutes later it may start working again.
> I've not yet determined a pattern as to what triggers this situation.
>
> When things are working correctly, I see the expected logins from
> domain\computername$ in the security log of the servers. When things
> are broken, I see anonymous logins from the computer where my service
> is running in the security logs of the servers.
>
> Is there anything my service can do when it gets the access denied
> errors to refresh the credentials of the computer running the
> service? Any other ideas as to what may be going on?

Maybe (and this is just a WAG) your machine looses secure channel to the
domain controller. There is a resource kit utility nltest.exe that can
diagnose these situations. If this is indeed the problem there is an
undocumented API that can fix it but it is better to eliminate the cause.

--
Eugene


Relevant Pages

  • Re: impersonate/delegate problem
    ... The client machine is Win2000Pro. ... The servers are all Win2000 servers. ... > windows auth. ... >> your application's code that is accessing Network Resources. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • To Be or To Impersonate, that is the Question
    ... my continued foray into accessing network resources from the ... web server continues... ... servers, they may need access to network resources ... has the worker process imporsonating an identity while option 3 has ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Erratic access to network resources from service
    ... I have a service running under the LocalSystem account in a Win2K domain. ... service starts getting access denied on the network resources. ... domain\computername$ in the security log of the servers. ... in the security logs of the servers. ...
    (microsoft.public.win32.programmer.networks)
  • Re: SQLSVRAGENT credentials
    ... If it needs access to network resources (e.g. interact with ... other servers on the network). ... Local system does not have ...
    (microsoft.public.sqlserver.security)
  • Re: list of all servers on the network
    ... It displays all the network resources on your doman or for that matter on ... > How can I get a list of all servers in the network??? ...
    (microsoft.public.dotnet.languages.csharp)

Loading