Dave Angel wrote:
> I'd like to be able to figure out the IP address for a Windows XP file
> server (on a local subnet, not across the Internet), based on a
> successfully connected share.
>
> So I know the UNC name of the share, for example
>    \\server\sharename\...
>
> (which was enabled by a NET USE to some other share on the same server)
> ...
> The user of this utility will be then doing a Remote Desktop to the
> server, if that helps.  We know he has permission, since he was able
> to successfully  NET USE to the server.  But Remote Desktop doesn't
> seem to permit him to use the server name, only the IP address.

This doesn't help solve your immediate problem, but what this screams
out to me is a configuration issue.  It's true that the \\host and the
"ping host" names spaces are different, but as long as you have WINS
running somewhere, WINS talks to DNS so that the namespaces are equivalent.

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to