Connecting via UNIX and Linux

The best method to connect to IMSS Windows servers from UNIX or Linux is to use SAMBA. This requires the installation of the samba packages first, details of which are not covered here. In addition, the version of the samba packages (and associated smbclient) will need to support NTLMv2.

Connecting using the SMB client (SAMBA)


  • SAMBA modules installed
  • Version of SAMBA that supports (and is configured to use) NTLMv2
    1. $su - switch to super user
    2. #mkdir /mnt/servername - e.g. FILES
    3. #export USER=ITS/username - enter your IMSS username
    4. #mount -t cifs //servername/share /mnt/>servername - mount the desired server and share to the folder created in Step 2 (e.g. // /mnt/files/ -o "user=UserName,,sec=ntlmv2")
    5. Password:******** - enter your IMSS password
    6. #cd /mnt/servername - change to mounted directory and navigate to your user folder

Please Note: You can connect directly to your FILES home directory by simply connecting to the //

The above has been tested on Mandrake 10.0 (kernel 2.6.3-4mdk) and RedHat 9.0 (kernel 2.4.20-30.9). If you are aware of any updates to this list, please contact the IMSS Help Desk at (request type IMSS-->Computer Support-->Other)or x3500.

SMB Access using the Command Line

Depending on your systems, the smb.conf file may be located in either/etc/smb.conf or /etc/samba/smb.conf. This file should exist so if you tryto open an empty file, you are probably in the wrong location.

cd /etc/samba (or /etc depending on your system)
sudo vi smb.conf

In the [globals] section, which should be near the top, do the following:

if the lines "client lanman auth" and "client plantext auth" exist makesure they are commented out (i.e. a # begins the line). Also comment outthe default "workgroup = " if it exists.

Once this is done, add the following lines in the [globals] section:

workgroup =AD.CALTECH.EDU
client ntlmv2 auth = yes

To access your home directory on the IMSS UNIX/Windows Filer (

  1. Launch the Terminal application
  2. Type “smbclient// username” (without the quotes).
  3. Type your access.caltech password at the prompt