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.

  1. Install stunnel (this is available from macports)
  2. Create a directory for stunnel with the appropriate (owner/group/permissions): mkdir /opt/local/var/stunnel (root/admin/1777)
  3. Get the CS department client.pem.
  4. Create an appropriate stunnel.conf file.
  5. Place the client.pem (root/admin/600) and the stunnel.conf (root/admin/644) into /opt/local/etc/stunnel.
  6. Ensure that you have a /etc/nsmb.conf file containing these lines:
  7. 	[default]
    	minauth=none
    
  8. With stunnel running, ensure that you can connect (Apple-K) to your department home directory on an SMB server at localhost.
  9. With stunnel running, place the attached edu.duke.cs.amink.stunnel.plist into /Library/LaunchDaemons.
  10. Reboot and check if stunnel starts automatically; this will allow you to use Apple-K to connect after login.
  11. 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.