This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
hannibal:fileserver [2011/06/06 15:57] Luc Nieland webdav |
hannibal:fileserver [2015/04/12 01:08] (current) Luc Nieland |
||
|---|---|---|---|
| Line 46: | Line 46: | ||
| Install the software on the server (instance) that will mount the home-dir of it's users: | Install the software on the server (instance) that will mount the home-dir of it's users: | ||
| apt-get install nfs-common portmap autofs | apt-get install nfs-common portmap autofs | ||
| + | |||
| Create /etc/auto.master | Create /etc/auto.master | ||
| Line 58: | Line 59: | ||
| # | # | ||
| </code> | </code> | ||
| + | |||
| Create /etc/auto.home | Create /etc/auto.home | ||
| <code> | <code> | ||
| # | # | ||
| - | #* -rsize=8192,wsize=8192,intr,fstype=nfs,soft,nosuid,tcp file.intra.example.com:/export/home/& | + | #* -fstype=nfs,vers=3,rsize=8192,wsize=8192,intr,fstype=nfs,soft,nosuid,tcp file.intra.example.com:/export/home/& |
| # | # | ||
| - | * -rsize=8192,wsize=8192,timeo=14,intr,hard,tcp,nosuid,nfsvers=3,noatime file.intra.example.com:/export/home/& | + | * -fstype=nfs,vers=3,rsize=8192,wsize=8192,timeo=14,intr,hard,tcp,nosuid,nfsvers=3,noatime file.intra.example.com:/export/home/& |
| # | # | ||
| </code> | </code> | ||
| Line 79: | Line 81: | ||
| - | =====SMB/CIFS-protocol===== | + | When using NFS version 4 take /etc/idmapd.conf (and the startsetting in /etc/default/nfs-common) into account. |
| + | |||
| + | =====SMB/CIFS-protocol===== | ||
| Line 450: | Line 454: | ||
| </code> | </code> | ||
| + | |||
| + | |||
| + | ====clients==== | ||
| + | |||
| + | |||
| + | ===OSX=== | ||
| + | |||
| + | This is build in. | ||
| + | |||
| + | Finder -> Go -> connect to server: https://webdav.example.com/hannibal | ||
| + | |||
| + | |||
| + | ===Linux=== | ||
| + | |||
| + | Install the module and userspace tooling: | ||
| + | |||
| + | apt-get install davfs2 | ||
| + | |||
| + | |||
| + | Make the mount: | ||
| + | |||
| + | mount -t davfs https://webdav.example.com/hannibal /home/luc/webdav-hannibal -o uid=1234,gid=1234 | ||
| + | |||
| + | |||
| + | |||
| + | ===MS-win=== | ||
| + | Use ms-vista or newer, and add the CA-cert public key to the system store first. | ||
| + | |||
| + | Now make the connection and map a driveletter: | ||
| + | |||
| + | net use W: https://webdav.example.com/hannibal /user:luc | ||
| + | |||