Re: semi-off - enumerating local share points
Re: semi-off - enumerating local share points
- Subject: Re: semi-off - enumerating local share points
- From: Tom Bayley <email@hidden>
- Date: Thu, 3 Apr 2003 09:40:20 +0100
Philip,
There are a number of ways of getting local sharepoint information, but
the problem I found was that they are either poorly documented or
require familiarity with Darwin (which is not my favourite hobby.)
Things may have improved recently. I used the netinfo API in
System.framework. It's fairly obvious how this works and there are man
pages that help out a bit. If you create a couple of share points using
the SharePoints utility, you can use NetInfo Manager to work out how
they are stored in /config/SharePoints.
Tom
On Thursday, April 3, 2003, at 12:19 am, Philip D. Wasson wrote:
>
Part 2 (a tougher question): Since a share point is not necessarily
>
the root of a volume, I can't just look for a volume whose name
>
matches the volume name given in the info. I figure I need to get a
>
list of share points on this machine and see if any of their names
>
match the given volume name. I've found sample code to do this for Mac
>
OS 9 in the AppleShare IP SDK, but I'm not sure how to do it on Mac OS
>
X. After hunting around and finding various utilities to manipulate
>
share points, it looks like I'll have to use NetInfo. Is there a
>
NetInfo library I can link to, or do I use the Directory Services
>
Framework, or what?
_______________________________________________
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.