For everyone not running SME as a firewall javascript:emoticon('
')
I needed to access the ibays used by our windoze boxes from my SuSE 9.1 laptop (192.168.100.117). Here's how it went ...
On SME Server
=============
Install nfs-utils-0.3.3-5 and portmap-4.0-41 from
ftp://fr.rpmfind.net/linux/redhat/7.3/en/os/i386/RedHat/RPMS/ or a mirror
.
chkconfig portmap on
chkconfig nfs on
mkdir -p /etc/e-smith/templates-custom/etc/hosts.allow
echo "nfs: 192.168.100.0/255.255.255.0" > /etc/e-smith/templates-custom/etc/hosts.allow/nfs
echo "portmap: 192.168.100.0/255.255.255.0" > /etc/e-smith/templates-custom/etc/hosts.allow/portmap
/sbin/e-smith/expand-template /etc/hosts.allow
mkdir -p /etc/e-smith/templates-custom/etc/exports
echo "/home/e-smith/files/ibays 192.168.100.117(rw)" > /etc/e-smith/templates-custom/etc/exports/ibays
/sbin/e-smith/expand-template /etc/exports
service portmap start
srvice nfs start
On Linux Client
===============
Install nfs-utils-1.0.6-103 (SuSE 9.1) or similar
Create local nfs mountpoint:
mkdir /share
Add following to /etc/fstab:
"server ip address":/home/e-smith/files/ibays /share nfs rw,noauto,user,udp 0 0
"noauto" is added above because if I'm on a remote site I don't want the laptop to try to mount the home server.
"udp" is added above because SuSE 9.1 defaults to TCP for NFS and SME only supports UDP.
Ensure GIDs are same on both systems (always 5003 on SME?) for group-access ibays. This meant changing the GID for "users" on my laptop to 5003 (and then changing any files on my laptop owned by me in /tmp and /home/me to GID 5003)
Ensure UIDs are same on both systems for home and private ibays (optional).
mount /share
Have Fun
Damian