Offline File System is still in alpha state and not very stable.
Fork of http://offlinefs.sourceforge.net/
sudo apt-get install cmake pkg-config g++ libfuse-dev libattr1-dev attr libconfuse-dev libdbus-1-dev
sudo apt-get install doxygen graphviz texlive-extra-utils
mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig
sudo mount -t ofs fstype://server/share /some/mountpoint
setfattr -n ofs.offline /path/to/directory
setfattr -x ofs.available /mnt
setfattr -n ofs.available /mnt
getfattr -n ofs.conflict /mnt
getfattr -n ofs.conflict /mnt/*
setfattr -n ofs.conflict -v=local /path/to/conflicted/file
setfattr -n ofs.conflict -v=remote /path/to/conflicted/file