CSL: MacOS X Filesharing
The CS lab staff maintains a server, named share, which runs
the SAMBA software. This allows
MacOS X users to access files in their UNIX home directories. The
following FAQ is designed to help MacOS X users set up their
machines to access share.
These instructions were contributed by Alex Hartemink.
- Install stunnel (this is available from
macports)
- Create a directory for stunnel with the appropriate (owner/group/permissions):
mkdir /opt/local/var/stunnel (root/admin/1777)
- Get the CS department client.pem.
- Create an appropriate stunnel.conf file.
- Place the client.pem (root/admin/600) and the stunnel.conf
(root/admin/644) into /opt/local/etc/stunnel.
- Ensure that you have a /etc/nsmb.conf file containing these lines:
[default]
minauth=none
- With stunnel running, ensure that you can connect (Apple-K) to your
department home directory on an
SMB server at localhost.
- With stunnel running, place the attached
edu.duke.cs.amink.stunnel.plist into /Library/LaunchDaemons.
- Reboot and check if stunnel starts automatically; this will allow you
to use Apple-K to connect after login.
- If this works, you can drag the mounted filesystem icon (the
starry globe in the cube) onto your dock. In the future, whenever
you click on this, it will mount automatically if it hasn't already
been mounted, and then open a finder window for browsing.
If you have any further questions, please
contact the Lab Staff.