LocalSystem service, share, null session, ...

From: Nicolas Cadilhac (cadilhac_nospam_at_cae.com)
Date: 05/14/04

  • Next message: Andreas Hadler: "Re: Delete all files with "a pattern""
    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


  • Next message: Andreas Hadler: "Re: Delete all files with "a pattern""

    Relevant Pages

    • Re: Can find Vista box, cant share folders or printers.
      ... When I click 'Network' on the laptop the ... I've disabled Norton and Windows firewall entirely to make sure that's not ... public folder sharing - on ... start by running the Network Setup Wizard on all machines (see ...
      (microsoft.public.windows.vista.networking_sharing)
    • Re: XP to Vista -- only halfway there
      ... concerning networks that combine Vista and XP machines. ... I am setting up an inhouse network that links together three machines, ... by 1) a misconfigured firewall or overlooked firewall (including stateful ...
      (microsoft.public.windows.vista.networking_sharing)
    • Re: Active Directory Setup Advice
      ... A domain is really an entity with a single security remit. ... seen as on the same network it will be like one big network. ... Under one domain all machines have to be unique in naming scheme. ... sub domains you can have same names under different domain. ...
      (microsoft.public.windows.server.active_directory)
    • Re: install
      ... You just need to set up your network correctly. ... start by running the Network Setup Wizard on all machines (see ... Problems sharing files between computers on a network are generally caused ... by 1) a misconfigured firewall or overlooked firewall (including a stateful ...
      (microsoft.public.windows.vista.installation_setup)
    • Re: SBS 2003 Win XP/2000 Pro Clients TCP/IP Problems
      ... network and no DHCP services provided by any machines still on the network. ... Check all machines for DNS entries. ... It really sounds like a IP Address conflict the way the server stops ... > PCs, 3 of which are running Windows XP Pro, the rest 2000 Pro. ...
      (microsoft.public.windows.server.sbs)