THUNAR-SHARES:
 A Thunar file manager extension to share files using Samba.
 Based on nautilus-shares.

 * Homepage: http://thunar-shares.daniel.com.uy
 * Proyect:  https://launchpad.net/thunar-shares/
 * Bugs:     https://bugs.launchpad.net/thunar-shares/


-----------------------------------------------------------------------
COMPILE:
 $ ./configure
 $ make
 $ sudo make install

-----------------------------------------------------------------------
BUILD FROM BRANCH:
 $ bzr branch http://bazaar.launchpad.net/~danielmorales/thunar-shares/trunk
 $ cd thunar-shares
 $ sh autogen.sh
 $ make
 $ make install

-----------------------------------------------------------------------
BASIC SETUP:

1) A quick and easy wait to have it running (must be done as root): 

export USERSHARES_DIR="/var/lib/samba/usershare"
export USERSHARES_GROUP="samba"

mkdir -p ${USERSHARES_DIR}
groupadd ${USERSHARES_GROUP}
chown root:${USERSHARES_GROUP} ${USERSHARES_DIR}
chmod 01770 ${USERSHARES_DIR}


2) Use the following /etc/samba/smb.conf:

[global]
workgroup =  WORKGROUP
security = share

usershare path = /var/lib/samba/usershare
usershare max shares = 100
usershare allow guests = yes
usershare owner only = yes


3) Add the samba group to your user (replace your_username by your login): 
usermod -a -G ${USERSHARES_GROUP} your_username

4) Restart samba
/etc/init.d/samba restart

5) Login and logout your user

-----------------------------------------------------------------------
