On Thu, 24 Mar 2005 13:12:36 +0000, Brett Parker iDunno@sommitrealweird.co.uk wrote:
Not that I know of, the only way I know is by using the nfs-user-server instead of nfs-kernel-server, and then using UID mapping. So, for example, I use the following for some machines at work...
snippet from /etc/exports: /home/username usersmachineip(rw,map_daemon,map_static=/etc/nfs/username.map,root_squash)
where /etc/nfs/username.map looks something like: uid 0-500 - uid 501 1001 gid 0-500 - gid 501 1001
the first column is the type of mapping (uid or gid), the second column is the client ids, and the third is what to map them to.
Hope that helps,
Indeed so. I'm already using nfs-user-server. This looks like the elegant solution I hoped for. I suppose the down side is that I need an entry in /etc/exports for every single client I want to connect? Even if the UID is the same for 'balloon' on all the clients? Many thanks, Jen