- Joined
- Mar 5, 2008
- Messages
- 1
- Reaction score
- 0
- Points
- 1
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.
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.