|May 16, 2013, 05:09 AM||#1|
Symbolic Links and permissions.
At our school we have a Server 2008 environment, with an XServe running Lion Server. Pupils authenticate via AD and OD is used for policies via Workgroup Manager.
The pupils use Garageband on some 25+ iMacs.
We have an SMB share setup on one of our Windows 2008 servers, it's basically a folder that pupils can read/write to called "Garageband" - the idea is that pupils can save their garageband files to this folder for teachers to review.
I've setup a LaunchAgent on our test iMac called com.myscript.garageband.plist located in /Library/LaunchAgents/, this points to a shell script called "sym-links.sh" located in /Library/Scripts/MyScripts:
#!/bin/bash ln -s "/Volumes/RMShared Documents/GarageBand" ~/Music/GarageBand
The symbolic link works correctly, the local garageband folder does redirect to the smb "garageband" folder on the server - but pupils cannot save directly to it. It comes up saving the file is either corrupted, or cannot be read. It looks as if the file saves correctly, when when the pupil tries to reopen it says:
"The file cannot be opened because it isn't the correct format"
I've checked the ACLs from the Windows server and pupils security group have appropriate read/write NTFS permissions.
Any help would be great.
|May 16, 2013, 01:31 PM||#2|
For reference, the OP's prior thread on the subject was in the Mac Programming forum:
It ended with the problem unresolved
|May 17, 2013, 03:35 PM||#3|
Not meaning to be snide, but these things happen when trying to do things the "Windows" way on a Mac.
I would suggest putting the sharepoint on the Mac Server and share it out from there. This way you can mount the sharepoint on the Users Desktop as a network Drive and manage it from the Mac OS X Server, all via Workgroup Manager. Further adjustments from there will be much easier, IMHO.
|May 22, 2013, 03:18 AM||#4|
|May 23, 2013, 01:09 AM||#5|
How you map the network drive is up to you though. I think it's possible using a group policy on the AD server, but I haven't tried it that way. I know that it's scriptable though using a login script.
1. I have found however, that mapping a network drive hosted on a Mac must use the IP address rather then just the hostname. I have a fully functional DNS, registered WINS, etc., and my windows machine can never map a drive via \\servername\sharepoint. It has always been \\ipaddress\sharepoint. I think it has to do with the Apple implementation of SMB/CIFS but never took the time to investigate.
2. The other issue is that Apple's implementation of SMB in Lion Server and later had connection issues with the authentication encryption used by Windows Vista and beyond. I had to make a change in the local security policy in order for the Windows box to connect to a Mac Server with SMB/CIFS sharing. I don't know if this is still an issue.
Keep these two notes in mind when attempting to connect a windows machine to a Mac Server SMB/CIFS sharepoint. Make sure, if #2 above is still true, that you make the necessary changes in local security policy or you will never be able to connect. #1 will work as long as authentication succeeds.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Symbolic links not working anymore?||Intelligent||OS X Mavericks (10.9)||0||May 1, 2014 01:12 PM|
|Symbolic Links||woktov||Mac Basics and Help||4||Jun 21, 2013 10:57 PM|
|Aliases vs. Symbolic Links||Krauser||MacBook Pro||5||Nov 15, 2012 01:58 PM|
|Symbolic Links for iPhoto||Poob Bubes||OS X 10.8 Mountain Lion||4||Oct 29, 2012 03:43 PM|
|Symbolic Links work differently?||orbitalpunk||OS X 10.8 Mountain Lion||4||Aug 1, 2012 08:51 PM|
All times are GMT -5. The time now is 05:16 PM.