LocalSystem service, share, null session, ...
From: Nicolas Cadilhac (cadilhac_nospam_at_cae.com)
Date: 05/14/04
- Previous message: Tom Stewart: "Re: Communications Events"
- Next in thread: Pavel Lebedinsky: "Re: LocalSystem service, share, null session, ..."
- Reply: Pavel Lebedinsky: "Re: LocalSystem service, share, null session, ..."
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 14 May 2004 11:30:09 -0400
Hi,
this is a tricky problem I have, related to the network (made of w2k
machines). Here it is:
On our corporate network, I have a service that I developed that runs as
LocalSystem. This service uses CreateProcess to run a tool that accesses a
remote share. It works, knowing that the share has "everyone" in its
permissions. Maybe the fact that null sessions are allowed helps (I see that
in the local policies in the administrative tools, or directly in the
registry).
On another side, I have a customer that installs my service but the tool
that is ran by CreateProcess fails somewhere (the share is also for
everyone). I wonder if his network configuration is different... When he
uses the service as a user, it works. If I give him a standalone version of
the service ran by the user, it works.
On my machine where the share is, I tried to disable null session access
(wanting to reproduce his problem), but the service still continues to work
while accessing the share !! (a call to net use \\machine\ipc$ "" /user:""
fails).
Why does it continue to work ?
Except the problem of allowing or not null sessions, what else could I check
to see differences on both networks ?
Thanks a lot for your help
Nicolas
- Previous message: Tom Stewart: "Re: Communications Events"
- Next in thread: Pavel Lebedinsky: "Re: LocalSystem service, share, null session, ..."
- Reply: Pavel Lebedinsky: "Re: LocalSystem service, share, null session, ..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|