[ Home ] [ Support ] [ Documentation ] [ Systems ]

Using SAMBA with NT

SAMBA makes some of our networked Unix disks and directories - such as Unix home directories - available on Windows machines, appearing as normal Windows shares (networked disks). It also makes Unix printers available to Windows machines. This is done using the Windows SMB network file-sharing protocol, hence the name SAMBA.

Other resources are available through SMB too - for example, you can access the SMB service of SunSite UK by mounting \\sn.doc.ic.ac.uk\Archive.

Accessing Unix Disks & Directories · Accessing Printers

Accessing Unix Disks & Directories

Two sorts of directory are currently available through SAMBA: Unix home directories, and shared archives of Windows-related software and files. (Please mail support for permission to use the SAMBA shared directories.)

Your Unix home directory can be accessed either graphically or via the command line, using the net use command. Here are some examples:

net use k: \\smbhost\user
mount user's home directory on drive k:
net use * \\smbhost\user
mount user's home directory, on the next available drive letter
net use
shows which disks have already been mounted
To do this graphically, right-click My Computer, choose Map Network Drive, and type in the Path (\\smbhost\user for user's home directory), or navigate through the hosts available. (The SAMBA host smbhost is in the DCSUNIX workgroup.) When prompted for a username and password, enter your Unix ones.

The shared NT archive directories can be accessed in a similar way. These are the paths to use:

\\smbhost\applications%user
NT Application programs, ready for installation to your PC
\\smbhost\docs%user
NT Documentation
\\smbhost\developer%user
Things for programmers
\\smbhost\system%user
System-related files, for example device drivers.
In all cases user is your Unix login.

By default, mounts such as this are persistent. When you next login, NT will attempt to re-mount the disk, and will prompt you for a password if necessary. To get rid of the mount, use the /delete option, like this:

net use f: /delete
unmount drive f:
net use \\smbhost\user /delete
unmount user's home directory
or graphically, open My Computer, right-click the network disk, and Disconnect.

There are more options. To find out more:

net use /help | more

Accessing Printers

The department's printers can be accessed from NT; but access to each printer has to be set up first, using this procedure:

Back to NT Support Tips