• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Finding the IP address of a disk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Finding the IP address of a disk
      • From: "Andy Cave" <email@hidden>
References: 
 >Re: Finding the IP address of a disk (From: "Andy Cave" <email@hidden>)

  • Prev by Date: Re: Timeouts on CFWriteStreams
  • Next by Date: Re: Finding the IP address of a disk
  • Previous by thread: Re: Finding the IP address of a disk
  • Next by thread: Re: Finding the IP address of a disk
  • Index(es):
    • Date
    • Thread