Hi all,
I've just replaced my server and the new one has a "big" 200GB hard drive so I'm looking for a solution to do some serious file sharing (I didn't look too much into it before because my old server had a small 18GB drive). Thanks to the guy who wrote the Affa tutorial by the way, this saved me a lot of time!
I've looked into several solutions, and considering I only have Linux workstations (mostly running OpenSUSE 11.1) it appears NFS would be the best way to go. Not the old NFSv3 as I am aware of its security flaws, so I've been looking into NFSv4.
I've been following this tutorial:
http://sme.firewall-services.com/spip.php?article11I now have NFS running on the server. At first I could only mount the shared folder using NFSv3, but thanks to
http://nfsv4.bullopensource.org/doc/NFS3_NFS4_migration.pdf I now have removed my NFSv3 export, replaced it with NFSv4 exports (which are lost upon reboot but that's only a detail I can solve later):
exportfs -ofsid=0,insecure,no_subtree_check *:/home/e-smith/files
exportfs -orw,nohide,insecure,no_subtree_check *:/home/e-smith/files/users/seb/home
and I can mount it from one of the clients with:
mount -t nfs4 -o rw,users,rsize=32768,wsize=32768 sme-server-7:/users/seb /home/seb/nfs
The only problem is that the mount is read-only... All the files belong to user 4294967294... And I obviously don't have write permissions. Which, actually, seem to be a good behavior - I am not authenticated, from the server's end I'm nobody...
Now the question is, how can I access that share "normally", i.e. how can I authenticate so the server recognizes me and gives me back the rights on my own files? I've been thinking about NIS but can't find any good tutorial to get it up and running on SME 7.4... All I could find was a tutorial for 6.0 that I won't dare trying. LDAP might also be a solution but I'm completely lost with it.
Any idea is welcome.
Thanks in advance.
Seb.