ITG Unix Support
>    
     |  List directory  |  History  |  Similar  |  Print version  

Software > smb4k

smb4k

smb4k is an applet for KDE that makes mapping drives using Microsoft File Sharing as easy as cake. In my opinion, it should just come with KDE. All of the documentation here refers to smb4k 0.4.0.

Installing smb4k

SUSE Linux 9.1

If you are running SUSE Linux 9.1, you can download an installable RPM from our FTP site. If you need help installing RPM files, please see Installing software in Linux.

From source

You can also download the source code to smb4k from http://smb4k.berlios.de/download.html . You will need the Qt3 and KDE development libraries installed, and may need to specify their location.

tar -zxvf smb4k-0.4.0.tar.gz
cd smb4k-0.4.0
./configure && make && sudo make install

Give normal users permissions to mount SMB shares

By default, normal users cannot mount and unmount Microsoft Networking shares. To give them this permission, you will need to run the following command as root:

chmod u+s /usr/bin/smbmnt /usr/bin/smbumount

Starting smb4k

To start smb4k, you can either go to your Main Menu and select "Run Command", or go to a terminal. In SUSE, smb4k installs to /opt/kde3/bin/smb4k, and in other distributions it is probably in /usr/bin/smb4k.

When you run it, a small applet icon will show up in your KDE Menu, which looks like this:

Click on this icon to open the smb4k menu.

Configuring smb4k

The first thing you will want to do is go to the Settings menu and select Configure smb4k. Select the Authentication menu, and check the box labelled "*Use default login*". Then fill in your user details.

Make sure your User field is in the format of ADS\username.

Browsing shares

In the host listing, you will see a few, but not all hosts on our network. If you need to add a host to this list manually, click on the Search tab on the right hand side and enter the full hostname. For instance, bl-chem-admin.chem.indiana.edu. Click the "Search" button, and then the "Add" button when found.

Once a hostname is listed, you can click on the + icon to the left of it to get a list of shares available to it.

Mounting shares

If you click on the share name in the host list, a larger icon representing it will show up on the right hand side. If you click on the larger icon, it will mount that share, and a Konqueror window will then pop up.

By default, it locates mounted drives in the smb4k directory underneath your home directory. You may want to change this to your Desktop directory instead for convenience.

Putting smb4k in your KDE startup

Pleas see Adding applications to your KDE startup. You will be adding the /usr/bin/smb4k.

 

Reference http://wiki.chem.indiana.edu/Software/Smb4k
Rights rw-rw-r--   tstrombe   ITG

Prev. Using sudo to run commands as root   Adding applications to your KDE startup Next