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: Mon, 3 Mar 2003 19:46:29 -0000
- Organization: Hamillroad Software Limited
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.
Andy.
----- Original Message -----
From: "Duane Murphy" <email@hidden>
To: "Andy Cave" <email@hidden>; "Macintosh Network Programming"
<email@hidden>
Sent: Monday, March 03, 2003 6:49 PM
Subject: Re: Finding the IP address of a disk
>
--- At Mon, 3 Mar 2003 18:27:55 +0000, Andy Cave wrote:
>
>
>Hi All.
>
>
>
>As part of our s/w we need to find the IP address of a disk; that is
given
>
>"Plato:" I need to determine "192.168.0.28".
>
>
>
>For Appleshare drives I can do this using PBGetVolMountInfo. However,
under
>
>OS X I get file systems that are "cifs" as opposed to "afpm" and there is
no
>
>explanation of the extra bytes returned (by PBGetVolMountInfo).
>
>
>
>Does anyone know how I can do the same thing for "cifs"? Or what the
fields
>
>mean?
>
>
This has come up on this and the Carbon list. cifs is Samba; I think it
>
stands for Common Internet (Intranet?) File System. I dont think there is
>
an IP address. AFAIK samba does not use TCP/IP.
>
>
...Duane
_______________________________________________
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.