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: "Andy Cave" <email@hidden>
- Date: Tue, 4 Mar 2003 12:01:57 -0000
- Organization: Hamillroad Software Limited
Hi Bob.
Thanks!!
I had taken a look at the structure, but couldn't see it there. The simple
reason was that I had cast the buffer pointer to a AFPXVolMountInfo struct.
Once I looked at the binary, it was clear!!
I can now do what I want, albeit unofficially.
Andy.
----- Original Message -----
From: "Bob Cook" <email@hidden>
To: "Macintosh Network Programming" <email@hidden>
Sent: Tuesday, March 04, 2003 6:13 AM
Subject: Re: Finding the IP address of a disk
>
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.
_______________________________________________
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.