This document describes how to map a Unix network drive from a Windows machine which is located somewhere outside the local CS subnet, or which is not a member of the CS-WIN domain, for instance a laptop, or your machine at home. For information on mapping a Unix drive from a machine inside the department, see http://www.cs.colostate.edu/~info/faq.html Off-site machines are not trusted within the cs-win domain, hence they must use explicit password-based authentication, via a Samba workgroup server, namely "unix-pw" (which belongs to workgroup cs-offsite). Before you configure your machine to use this server, you'll need to contact the CS Department systems staff (sna@cs.colostate.edu) and have them set up a cs-offsite samba password for your login on this server. Note: the cs-offsite samba password is independent of either your Unix or cs-win passwords, but like them, it must be changed and set to a secure value in order to protect your data. You may set all three passwords to the same value if you'd like. Note: please don't attempt to use this mechanism over a modem line. The performance is so bad, that it is not worth the effort it takes to set it up. Once you receive your cs-offsite samba password, you can proceed with the following steps: 0. Log onto acushla.cs.colostate.edu and run the following command: /usr/local/bin/smbpw This will prompt you to change your cs-offsite samba password. 1. Mapping a network drive uses the NetBIOS protocol. For security reasons, NetBIOS traffic is blocked at the campus router. When connecting from off campus, you'll therefore need to use a Virtual Private Network (VPN) to tunnel the NetBIOS packets through the router. For information on setting up a VPN, see http://www.colostate.edu/acns/vpn/. The remaining steps assume you are already connected through a VPN tunnel. 2. Log in to your Windows machine with Administrator privileges. 3. Make sure you have enabled NetBIOS over TCP/IP. In Control Panel, click on "Network Connections." Right-click on "Local Area Connection," and select Properties. Select "Internet Protocol (TCP/IP)" and click "Properties," then "Advanced. Select "WINS" and make sure "NetBIOS" is enabled. 4. Note that cs-offsite samba no longer requires enabling plain-text passwords in your registry settings. WARNING: If you have enabled plain-text passwords in the past, please undo those settings at this time. 5. Add unix-pw to your lmhosts file: You will probably find it at: c:/windows/system32/drivers/etc Use the Windows search tool to locate the lmhosts file on your system. Note: in Windows 9X the file may not exist. If it doesn't, create it under C:\Windows.) Write this line in the file and then save it: 129.82.47.50 unix-pw #PRE After you save the file, type: nbtstat -R Now do nbtstat -c and see if unix-pw shows up in the listing. It should. 6. Now you should be able to map your drive. Right click on Network neighborhood and select Map network drive. Type in \\unix-pw\LOGIN where LOGIN is your login-name and hit OK. It will prompt you for a password. Put your cs-offsite Samba password there. 7. If it still doesn't like your password, reboot the computer and if you did everything correctly you should have no problem anymore.