Mounting SAMBA from a MAC OSx
MAC OSx has the built-in capability to mount SAMBA shares.
If you wish to use this feature to mount your HOME
directory, please follow these instructions.
1. Click on desktop to bring up the default upper tool bar
2. Click on Go --> Connect to Server
3. In the Address box supply:
smb://smb.cs.toronto.edu/username
(where username is your UNIX username)
4. Click connect
5. In the SMB/CIFS Authentication window supply your
UNIX username and your current UNIX password.
The workgroup field can be left blank
6. Click OK
Now your HOME directory should be mapped, and you will
find an icon on your desktop labeled with your username.
Gotcha's
1. If you receive an error message, the chances are that
there is a problem with your password.
If your password is longer than 8 characters, only supply
the first 8 characters.
If this still does not work, you might have to resynch
your password with our SAMBA password file. The easiest
way to do this is to reset your password via passwd.
Wait 30 minutes and try again.
How to Access SAMBA from off-campus
By design, the University blocks SAMBA traffic. However, by using
a neat trick called SSH Tunneling, we can port forward SAMBA over
SSH, since the University does permit SSH traffic from off campus.
This takes additional steps but is worth the effort.
1. Go -> Applications -> Utilities -> Terminal
2. su to root (need to be root to forward port numbers less than 1024;
smb uses 139 by default)
3. ssh -l username -L 139:smb.cs.toronto.edu:139 cs.toronto.edu
Keep this connection open while you perform the next step.
4. ToolBar -> Go -> Connect to Server...
In the Address box supply:
smb://127.0.0.1/username
Supply your CSLAB username and password. If unable to login
in, consult troubleshooting steps above.
5. If all goes as expected, you should now have mapped your
CSLAB home directory via an SSH tunnel.