Re: Determining Available SMB Shares
Re: Determining Available SMB Shares
- Subject: Re: Determining Available SMB Shares
- From: j o a r <email@hidden>
- Date: Thu, 5 Jan 2006 16:18:43 +0100
On 5 jan 2006, at 16.05, Ryan Britton wrote:
I need to get a list of available mount points for an SMB server
programmatically (the same list Finder shows you when you connect
to one via Go -> Connect to Server...), but I'm not seeing anything
obvious as to how to do this with either Cocoa or Carbon calls.
There is a command line utility called smbutil that can do exactly
what I need and can wrap it or base something off its source code
if necessary, but I'm wondering if there's an easier way I'm
overlooking before I do that?
You can't list shares without actually connecting to the SMB server.
Neither Carbon, nor Cocoa, contains built in functionality to do
that. You would have to turn to third party code, libraries or
utilities for assistance.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden