Re: How do I get a list of SMB shares under 10.7?
Re: How do I get a list of SMB shares under 10.7?
- Subject: Re: How do I get a list of SMB shares under 10.7?
- From: George K Colley <email@hidden>
- Date: Tue, 12 Jul 2011 08:08:58 -0700
On Jul 12, 2011, at 7:57 AM, Quinn The Eskimo! wrote:
>
> On 9 Jul 2011, at 00:43, Steve Gehrman wrote:
>
>> Anyone know how to do this?
>
> The simple, but annoying, answer is that there's no good way to do this. I encourage you to file a bug requesting that Mac OS X engineering make the relevant private APIs public.
>
> <http://developer.apple.com/bugreporter/>
>
> As to workarounds, your options are rather limited. The only approach that is likely to be compatible in the long term is to write (or acquire) code that implements this browsing on top of the system's networking APIs. This tends to get very ugly very fast. For example, to show all the volumes available on a server, you have to log into that server (because the volume list changes depending on your login credentials) and implementing the login handshake is tricky.
>
> S+E
> --
> Quinn "The Eskimo!" <http://www.apple.com/developer/>
> Apple Developer Relations, Developer Technical Support, Core OS/Hardware
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Filesystem-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
Do you want a list of shares or servers. You can get a list of shares by using the smbutil, "smbutil view smb://username:password@server", see man smbutil
George _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden