XP Client for NFS failure dialog on startup, but drive mapping works

Posted by Matt Bennett on Server Fault See other posts from Server Fault or by Matt Bennett
Published on 2010-10-25T16:14:42Z Indexed on 2012/11/21 11:07 UTC
Read the original article Hit count: 431

Filed under:
|

I'm mounting an NFS share to some windows machines using the tools that come in the Services for UNIX Administration toolkit.

I've set up the User Name Mapping service to use local passwd and group files. I had to manually start the User Name Mapping service, and then created an 'advanced map' from the XP machine's user to a uid that exists in on my NFS server, like so:

  • Windows User: Matt Bennett
  • UNIX Domain: PCNFS
  • UNIX User: mattbennett
  • UID: 10250
  • Primary: *

I can map a network drive without any issues, and it correctly identifies the UID and GID to use, but when I reboot I get this message:

"An error occurred while connecting to the NFS server. Make sure that the Client for NFS service has started. If the problem persists make sure Client for NFS service can communicate with User Name Mapping or PCNFS server."

After dismissing the dialog, the machine finishes booting and the network drive is there in My Computer with the title "Disconnected Network Drive", but I can open it I can see the network share without a problem, and then it drops the 'disconnected' from its title.

It seems like the services are starting in the wrong order or something, so the first attempt to connect fails but subsequent ones work as expected. There don't seem to be any symptoms apart from the dialog box, but obviously something's not quite right.

What have I done wrong?

Thanks, Matt.

© Server Fault or respective owner

Related posts about Windows

Related posts about nfs