Thunar Samba Support

Introduction
This is a guide that will describe how to auto-mount Samba shares when your window manager is started by the use of FUSE. It was adapted from Ubuntuforums.org.

Install
This guide assumes you already have Samba set up correctly, if not, see Samba.

Make sure, you have File systems/Filesystem in Userspace support enabled in your kernel:

Then unmask fusesmb:

Now you will need to install FUSE:

You should start it and add it to the default runlevel by running:

Mountpoint setup
Create a directory to mount your network to, such as /media/network or /mnt/network:

You will need to make this folder readable and writable by the user you intend to log into, so you need to change the ownership of the folder, as root type

If you want to allow more than one user access than you should make a fuse group:

Add a user to the group:

Give the group access to the mountpoint:

XFCE 4.4.0 and later
Next you will need to make it autorun when you log in, so under XFCE 4.4.0 navigate to XFCE Applications -> Settings -> Autostarted Applications, Click Add and use whichever Name and Description you wish, for the command use fusesmb /media/network and then hit Okay

older versions of XFCE
make the folder for autostart:

create a script to run the command:

Finally make it executable

Active Directory
If you're in a network with Active Directory then you need to create/edit :

Troubleshooting
If running fusesmb.cache results in an empty file at, try the following:

check the debug messages outputted. If the error is "munmap_chunk: invalid pointer", try:

fusesmb may have some glibc problems, but after a reemerge, they seem to be fixed.