Hi all,
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:
The idea is that when a pupil logs on, the LaunchAgent runs the sym-link.sh script, creating a symbolic link directly from their local GarageBand folder /Users/Music/GarageBand to the SMB mount volume /Volumes/Shared Documents/Garageband so pupils can save directly to it.
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:
However, when a pupil saves their garageband file directly to the desktop, then drags the file into the mounted garageband volume, it saves correctly.
I've checked the ACLs from the Windows server and pupils security group have appropriate read/write NTFS permissions.
Any help would be great.
Thanks.
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:
Code:
#!/bin/bash
ln -s "/Volumes/RMShared Documents/GarageBand" ~/Music/GarageBand
The idea is that when a pupil logs on, the LaunchAgent runs the sym-link.sh script, creating a symbolic link directly from their local GarageBand folder /Users/Music/GarageBand to the SMB mount volume /Volumes/Shared Documents/Garageband so pupils can save directly to it.
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:
Code:
"The file cannot be opened because it isn't the correct format"
However, when a pupil saves their garageband file directly to the desktop, then drags the file into the mounted garageband volume, it saves correctly.
I've checked the ACLs from the Windows server and pupils security group have appropriate read/write NTFS permissions.
Any help would be great.
Thanks.