You are not logged in.
Pages: 1
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
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
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
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
Yes, I do.
Offline
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
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
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
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
Pages: 1