Offline File System is still in alpha state and not very stable.
Fork of http://offlinefs.sourceforge.net/
sudo apt-get install libfuse-dev pkg-config libtool automake autoconf g++ libattr1-dev attr libconfuse-dev libdbus-1-dev
sudo apt-get install doxygen graphviz texlive-extra-utils
aclocal
libtoolize
autoheader
automake --add-missing
autoconf
./configure
make
sudo make install
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