Important to remember, Samba only runs on Linux machines. They are seen
as plain ol' Windows machines by Windows. Samba uses the smb protcol which is really Windows
specific.
Mapping a User's Filestore to Drive H
The filestore allocated to an individual user can be mapped on to a PC as a network
drive, and BUCS recommend that it is mounted as Drive H. This is achieved as follows:
If you use Windows 95, 98 or ME
* Click the Start Menu and select Run
* Enter command in the Open: box
* Click OK
* Enter the following command into the Command Prompt;
net use H: \\samba\homes
this will ask for a password, enter your BUCS password.
If you use Windows NT, 2000 or XP
* Click the Start Menu and select Run
* Enter cmd in the Open: box
* Click OK
* Enter the following command into the Command Prompt (replacing username with
your BUCS username);
net use H: \\samba\homes /user:bath.ac.uk\username
this will ask for a password, enter your BUCS password.
Important - Pay attention!
Try to connect to the "home/dir" using the command:
net use t: \\root\home\users\mopie
The command might prompt you for a password if you are logged into Windows with a
different password than your account on the Samba server. If so, enter the correct
password and press enter.
Usernames, hosts, passwords and IP addresses, it is important to keep them straight.
Naturally depending on what you are doing, Check the:
- hosts file on both, Linux and Windows machines
The hosts file is need in some, no many, cases. Even if you are using DHCP.
DHCP's main purpose is to save administrators the headaches of maintaining large
hosts files. 'Most' of the time the address given out by DHCP will remain, unless
the server crashes or is restarted for some reason. Then there is a good possiblity
that the IP addresses will change. If so, you will have to update your private little
hosts file.
- lmhosts file on Windows and Samba
This is the LanManager hosts file which is similar to the Linux hosts file. Exception
is that it matches IP addresses to NetBIOS names other than hostnames.
- fstab file on Linux machine
This file specifies the mount points on the Linux system.
- modules.conf on Linux machine
This file is used for module configuration to the Linux kernel.
- smb.conf on Linux machine
And here we have the configuration file for Samba
- rc.local or boot.local on Linux machine
If you need to start some 'extra' process(es) on the Linux machine at start up,
they are placed in this file. rc.local is RedHat and some others, boot.local is
more or less SuSE specific.
- resolv.conf on Linux machines
This file gets the DNS info if you are using the Linux machines as host's instead
of servers.