Using Samba

© Copyright 1997 University of New Haven

Samba is a (freeware) collection of programs which run on UNIX. They allow MS-DOS and MS Windows clients to access the UNIX file system as if it were a shared network drive. (Samba can also share UNIX printers, but since System2 and CSlab have no printers, this feature doesn't work there.)

There is just 1 problem... Samba uses IP (and UNIX sockets) to communicate and therefore can only contact clients having TCP/IP installed among their DOS/Windows network protocols. These include Windows for Workgroups 3.11, Windows 95 and Windows NT, but EXCLUDE the (NCR) DOS/Windows 3.1 computers on the CS network in Echlin Hall... they lack Microsoft's TCP/IP because it uses too much conventional memory.

However, the 3 Pentiums in Echlin 206 and the internet computers in Echlin 115 have the required TCP/IP software. These computers can connect to a home directory such as /u2/smith on System2, or /users/smith on CSlab. To connecyt, click the Network Drive menu option in File Manager and give a Path of \\SYSTEM2\SMITH, or \\CSLAB\SMITH, as appropriate. You will be prompted for a password, which is the same password needed to log in as smith. The UNIX directory should appear as a drive letter in File Manager.

In fact, any internet computer outside of the university LAN can connect to SYSTEM2 and CSLAB using the same procedure with just one extra step- before connect ing, add the following lines to file LMHOSTS in the Windows directory:     SYSTEM2     CSLAB
(If the file is absent, you can create it wth these 2 lines.) If you have Windows for Workgroups with MS TCP/IP or Windows 95 at home, and you use an internet service provider, this should work. The LMHOSTS file exists because Windows can not easily discover a distant IP address like When it fails to find a server by the usual method, it searches the LMHOSTS file for the server's IP address.