finding local shares
finding local shares
- Subject: finding local shares
- From: "Philip D. Wasson" <email@hidden>
- Date: Thu, 4 Aug 2005 18:11:30 -0400
I'm trying to figure out how to generate a list of local shares
(exports, whatever). More precisely, given the share name someone would
see from a different machine, and knowing the share is from the machine
I'm running on, how do I find the path to that directory?
I thought I had it figured out, using a combination of property lists
and NetInfo (./config/SharePoints, ./users/<username>/sharedDir), but
now I find that in 10.3 and later I can't use NetInfo. Is that
information now accessed via Open Directory? I don't suppose anyone has
done something like this already and could point me at some sample
code? (I guess anything that reads something that is in NetInfo the new
way would be extremely helpful.)
TIA
----------------------------------------------------------------------
Philip D. Wasson pwasson at maned dot com
Software Engineer Managing Editor Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden