You are not logged in.

#1 2007-05-14 17:04:44

luciferin
Member
Registered: 2007-05-10
Posts: 144

NFS Sharing with Windows

I'm having trouble connecting to my NFS share through Windows XP.  I've installed Microsoft's services for Unix and have it working properly, I can connect to a Debian server running NFS without trouble.  Whenever I try to connect to my Arch box it keeps requesting a username and password.  I can connect to this server from the same machine when I boot into my Arch partition and I have no problems there.  Before anyone asks my IP is static through my MAC Address.  It sound like a user authentication error to me but I wasn't aware that NFS only allowed certain users to connect.  I've been beating my head over this for a few weeks now, so any help would be appreciated.

Offline

#2 2007-05-14 19:43:59

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: NFS Sharing with Windows

check the contents of your /etc/exports file from both the debian and the arch boxen...
as well as the /etc/hosts.allow and /etc/hosts.deny


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#3 2007-05-16 03:17:58

luciferin
Member
Registered: 2007-05-10
Posts: 144

Re: NFS Sharing with Windows

All these files are set up the same.  To simplify this process I commented everything out in both of the hosts.deny files, so everything should be going through without a problem.  My exports file only has one line, same options on both systems.  Again, I've set the IP to allow connections from all to simplify things for now, the line is as follows.

/media  *(rw,sync,insecure,subtree_check)

Each time my system asks for a username & password, I put it in then it just asks for it again.

Last edited by luciferin (2007-05-16 03:18:31)

Offline

#4 2007-05-16 05:26:20

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: NFS Sharing with Windows

I lately (3 days ago) edited the wiki. Do you have all three daemons in the hosts.allow?

 nfsd:ALL
 portmap:ALL
 mountd:ALL

Kind regards,
STi


Ability is nothing without opportunity.

Offline

#5 2007-05-16 14:17:55

luciferin
Member
Registered: 2007-05-10
Posts: 144

Re: NFS Sharing with Windows

Yes, I do.

Offline

#6 2007-05-16 15:36:08

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: NFS Sharing with Windows

the fact that (if i read you correctly) you can connect to the debian NFS from windows makes it sound like it *could* be a username mappings problem btwn the windows and arch boxes. this might (or might not) help:

http://nfs.sourceforge.net/nfs-howto/ar … ion_issues


p.s. any reason you're not just using samba? seems easier to me than trying to set up some kludgy M$ thing to access NFS with. it might even be more secure.

Last edited by slackhack (2007-05-16 15:37:39)

Offline

#7 2007-05-16 17:41:59

luciferin
Member
Registered: 2007-05-10
Posts: 144

Re: NFS Sharing with Windows

I'm using NFS because it has much better speed.  I use it to serve up large files, lossless music, videos and a few backed up game .isos.  I know it's not too secure, but I'm not very worried about being exploited on an internal LAN.
It does seem to be a username mapping issue but Windows doesn't exactly give good error messages, so I can't figure out the exact problem.

Offline

#8 2007-05-16 18:42:52

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: NFS Sharing with Windows

compare the /etc/passwd files on the debian and the arch box... especially the uids and gids


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#9 2007-05-16 18:43:29

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: NFS Sharing with Windows

this should help. i've never used windoze services for unix though, so i can't help with the exact fix. it seems that mapping should be automatic if it's the same username on each machine, but maybe not. otherwise, probably something in advanced mapping.

http://www.microsoft.com/technet/intero … mpsrv.mspx

Last edited by slackhack (2007-05-16 18:49:52)

Offline

Board footer

Powered by FluxBB