03-05-2008, 04:47 AM #1
Problem creating sharepoint for samba programmatically
- Member Since
- Mar 05, 2008
I have a cocoa app which creates sharepoints using the directory service API. Mounting these sharepoints with afp works ok but mounting with smb doesn't. It results in an error message saying that this folder or directory cannot be found.
When i create the same sharepoint manually in finder (activating checkbox 'shared' in 'get info' window) mounting of this sharepoint works ok.
In both cases the entries in directory service are the same but finder additionally creates a configuration file in /var/samba/shares. It seems that finder does a complete rewrite of all sharepoint entries in directory service to the /var/samba/shares configuration files. Also previously created sharepoints from my app, appear in this /var/samba/shares folder now and work ok for samba now.
Restarting relative services does not solve the problem, even restarting the computer does not help.
Does anybody know, which process or function is responsible for the creation of this samba config files and how can i do this in an application.
Thank's for any help.
03-24-2009, 10:59 PM #2
- Member Since
- Mar 24, 2009
I have been able to mount sharepoint shares via go-connect to server-http://sharepointserver/sharepointname/ but only as read only access. I would love to find out how to mount a sharepoint share as readwrite.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By JumpingMarcello in forum OS X - Operating SystemReplies: 0Last Post: 10-03-2013, 03:00 AM
By Kholdstate in forum OS X - Operating SystemReplies: 2Last Post: 03-04-2011, 05:38 AM
By vjreddy in forum OS X - Operating SystemReplies: 0Last Post: 02-26-2010, 10:29 AM
By abhimanyulad in forum OS X - Development and DarwinReplies: 0Last Post: 07-16-2009, 03:02 PM
By JamesToddA in forum Internet, Networking, and WirelessReplies: 0Last Post: 11-28-2007, 11:14 AM