Mapping a path to SharePoint HOWTO
by Greg Schenzel (email@example.com)
This guide will show you how to set up a mount point for MS SharePoint on Linux.
- You must download davfs2-1.0.2.tar.gz if mount.davfs does not exist on your system.
- Extract above file, and install with "./configure && make && make install". This will require that the libneon library and headers exist on your system.
- Once davfs2 is installed, confirm that the coda kernel module is loaded on your system with "lsmod | grep coda".
- If the module is not loaded, load it with "modprobe coda" and do one of the following to make it persistent:
- Debian: add a line to /etc/modules reading "coda".
- Slackware: uncomment a line in /etc/rc.d/rc.modules reading "/sbin/modprobe coda".
- Others: add modprobe to /etc/rc.local or use distribution-specific module loader mechanism.
- If the module is not loaded AND the above modprobe fails, recompile your kernel with built-in coda support or a coda module.
- If the module is already loaded, proceed to the next step.
- Create a directory to be used for sharepoint (I used /home/inittab/sharepoint)
- Add following line to /etc/fstab, adjusting for proper mount point: "http://22.214.171.124/sites/VSA/ /home/inittab/sharepoint davfs rw,noauto,user 0 0"
- Make sure your user is in the "users" group of /etc/group or LDAP.
- Add a password line to /usr/local/etc/davfs2/secrets. It should look like this: "http://126.96.36.199/sites/VSA/ schenzel myPaSSwoRd"
- Mount it: "mount /home/inittab/sharepoint". An "ls -l /home/inittab/sharepoint" should show the contents, and you should be able to upload, download, and modify files on sharepoint.