win32net - How to connect to a remote network share from a service

David Bolen db3l at fitlinxx.com
Sat Dec 2 02:47:14 CET 2000


Mark Tompkins <mdtompkins at home.com> writes:

> BTW, have you any suggestions as to specific Windows API documentation where
> I might look, to gain a better understanding of the issues involved.

In general, any of the stuff wrapped by the win32all modules is best
served by the native Win32 documentation (as augmented with some
Python specifics from the win32all documentation).

The best place for this sort of documentation is the platform SDK
(alone or as part of MSDN), which if you don't have a local copy is
also available on the web at http://msdn.microsoft.com, or more
specifically for the library documentation at:

    http://msdn.microsoft.com/library/default.asp

This particular issue (impact of running services as LocalSystem on
their network access) took me a day or two to locate the first time I
ran into it with my own service (non-Python, not to mention first real
Win32 application).  Once I found the info it was pretty clear but I
had a heck of a time figuring out what to search for :-)

Here's a pointer to an MSJ article that provides some background:

    http://msdn.microsoft.com/library/periodic/period98/service2.htm

and you might also look at the knowledge base articles Q122702,
Q124184 and Q132679 (note that you'll have to select the knowledgebase
from the search page to be able to look up these entries).

--
-- David
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/



More information about the Python-list mailing list