NFS/NIS Recommendations for Windows?
Fembot asks: "The Samba team are doing a great job, but I can't help but feel that making Unix machines serve Windows-based protocols is the wrong approach. Back in the days of Windows95 it shipped with an NFS client on the CD which could be installed optionaly. Are there open source (or even just free as in beer) NFS clients for Windows 2000/XP, and is it possible to authenticate users on Windows desktops via NIS?"
Think of how cool it would be if HP, DELL, Alien Ware, etc. shipped all of their computers with a Linux interaction kit full of programs that would allow windows users to interact with Linux boxes using opensource protocals. The computers would still interact with windows boxes int he normal way but could use the open source methodes to.
Your options are to either
- write one
:-)
- buy a client for each machine from one of these vendors: 1 2 3 4 5 6 7.
- Buy a NFS/SMB gateway from one of the vendors above (or make one with Samba)
- Use both samba and NFS on the server
- Simply use samba
When using both NFS and Samba there might be some tricky locking issues. At least it used to be recommended against. I don't know if that's true anymore, but you should be aware of it. If you only share disks readonly, then you will of course be safe.I hate to tell you this, but the Canadian guy was asking how to put more memory into his mp3 player, not how to install a hard drive in it. Some stupid people just assumed that's what he asked. He didn't want to buy a new one because he would have to pay a tax to the RIAA terrorists. Sounded like a good question to me.
I don't see why this NFS question is stupid either. Maybe you're one of the regulars from comp.os.linux.*? ;-)
The obligatory joke: In Soviet Russia...you screw Microsoft!
Have a nice day. ;-)
Use Kerberos or LDAP for authentication. There are plenty of payware NFS clients for windows, but why would you use the same server to serve both UNIX and Windows filesystems? Unless you're simply sharing data that can be accessed and modified by both types of client, there's really no point, is there?
- A.P.
"Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
Frankly, so is SMB, but if you have to dance with the devil, make it the devil with 95% market penetration.
Another factor involved in using NFS with Windows clients is the security model involved. To expand on Jeremy Allison's excellent comment, the NFS security model relies totally on the UID at the client. Since there is no native concept of a UID in Windows (plus the fact that the Win9x branch doesn't have good user privileges separation in any case), this means that you need a separate login from the Windows PC to the NFS server, using a system known as PC-NFS originally created by Sun. There is an open source pcnfsd daemon that will handle this at the server end, but the client piece is not free, and the whole thing is a PITA to set up, and is one more thing that can go wrong on a fragile Windows client system. Much better to use Samba on the server and not have to rely on yet another skanky layer. (Been there, done that, have the therapist bills to prove it :-P)
FWIW, the Mac OS up through version 9.2 has pretty much the same set of issues. Mac OS X, being Unix-based, has NFS server and client support natively.
--Paul
NFS really sucks in general and it is hard to add new filesystem support to Windows w/o expensive developer support and licensing... which also comes with an NDA.
Conformity is the jailer of freedom and enemy of growth. -JFK
There are no free software, open source, or non-crippled NFS clients for Windows
:-)
Yup. But if you're willing to use AFS instead of NFS, there's OpenAFS , an AFS client that's available for Windows, MacOS X, Linux, and just about every platform out there. It's free and open source, plus pretty well designed. IBM pushes and supports it, and MIT and CMU (plus a lot of other places, but it gives you an idea of how much approval it gets from people in the know) both use it for their storage system.
AFS will also buy you a seriously secure system and better performance (thanks to leases and other good design features) than you'll get from CIFS (Windows filesharing). I'm pretty sure that NFS, despite the large number of changes in recent versions, is still outperformed by AFS.
It can be more a bear to set up, since you'll probably want to also set up a dedicated KDC, but at least you're doing things the Right Way.
Coda is supposed to be the successor to AFS, but I really haven't heard of people using it much, and Intermezzo doesn't have the backing that AFS does.
Oh, yes. AFS can do distributed storage, so it can (magic boss-exciting word approaching) *scale* really well.
May we never see th
http://pgina.cs.plu.edu - does authentication via any number of means via plugins. Currently it just has LDAP, but if someone was willing to spend a little time, an NIS plugin should be cake. Combined with samba (http://www.samba.org) for file sharing, we have used this quite successfully in our labs/offices/servers.
Actually, in Canada it's not the RIAA, but SOCAN. Don't worry, they both suck equally.
Actually, SOCAN sucks worse than the RIAA, because they've already removed the right of freedom of association with non-Canadians from us.
Oh well.
[1] http://opensource.franz.com/nfs/
nfs is an NFS server for Windows written in Allegro Common Lisp.
[2] War NFS Daemon written by Jarle Aase (freeware)
[3] http://www.labtam-inc.com/
commerical
Or if you need to server, NFS Maestro Server. No, it isn't free. But if you have to buy one - take a look at NFS Maestro By Hummingbird.
These are the same people that make Exceed. - Though instead of Exceed, I bought Xmanager by NetSarang (lot less $ and did SSH tunnel, etc)
Good luck on your search.
very sweet, yet a bit too subtle maybe?
Free as in mason.
pGina [plu.edu] is a replacement authentication layer for Windows. In theory, I understand, a NIS/YP plugin could be written although as of now there isn't one. An LDAP module does exist though.
MS has Unix Services for Unix. It is a set of server based utilities that allows a server to act as a gateway between both worlds. Best thing is you only install and configure the server. Supports NT Shares, NFS, & NIS. Also allows password changes to propogate back and forth.
Linux interact with you!
Anyone looking for the War NFS Daemon will notice that it was discontinued. You can still find the download here though http://download.jgaa.com/ftp/pub/products/Windows/ WarNfsDaemon/i386/ .
... Jgaa.
From the guys who brought you War FTPD
---- The geek shall inherit the Earth.
Last time I tried the War NFSDaemon it barfed at random intervals leaving the clients in a state of well-fscked...
It also mangled the files/dirs it was supposed to share (from the clients-pov, not physically)..
disclaimer: but this was way back
Getting Microsoft to bundle your NFS client or writing a unix server to talk to their client?
It's not like you can express better ownership/permission semantics than Windows supports anyhow.
If you have to go around installing software it's always a harder sell.
Personally, I'd love to see an ssh-based windows filesystem, though.
My God, it's Full of Source!
OUTSIDE_IP=$(dig +short my.ip @outsideip.net)