Re: Finding the IP address of a disk
Re: Finding the IP address of a disk
- Subject: Re: Finding the IP address of a disk
- From: Bob Cook <email@hidden>
- Date: Mon, 3 Mar 2003 22:13:06 -0800
I have not seen any official response to this query here or over at
carbon-dev, although I too would really like to see the existing
structure documented as well as expanded to include information such as
the IP address.
I know that the UNC path (disguised as a URL) used to mount the 'cifs'
volume is available in the returned structure. You can use a Windows
server (if available on your network) to do the name resolution via
WINS. This is what my application does.
I believe you could probably get the Samba source code and do the
lookup yourself, but I haven't needed to try such a strategy.
Bob.
On Monday, March 3, 2003, at 11:46 AM, Andy Cave wrote:
OK - I'll re-phrase.
Given [the name of] a disk I need to find the IP address of the
machine it
comes from. I am using PBGetVolMountInfo on AFS mounted disks and need
something equivalent for CIFS/SMB mounted disks.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.