nobody user/group with NIS/NFS

39

Solution 1

I guess that you are mounting nfsv3 on client machines and nfsv4 on Machine B (nis server)

If you are using autofs to mount home directories add the -nfsvers=3 option at Machine B

Solution 2

Gustavo's answer was basically correct, but I thought I'd add some detail her rather than as a comment

I'm mounted as nsf4 everywhere, but for some reason nsf4 isn't working on the NIS server.

Adding defaultvers=3,nfsvers=3 to the mountline in auto.master followed by service such that my auto.master file looks like this

#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#
/misc   /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
#       "nosuid" and "nodev" options unless the "suid" and "dev"
#       options are explicitly given.
#
/net    -hosts
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
/home   yp:auto.home    -rw,hard,bg,rsize=32768,wsize=32768,defaultvers=3,nfsvers=3

Followed by an autofs restart

service autofs restart

Got things up and running.

One random issue - I'd physically logged in to the machine in our data center but not logged out, so the administrator user /home directory failed to be remounted even after a restart, which caused some confusion.

Share:
39

Related videos on Youtube

IndyMom83
Author by

IndyMom83

Updated on September 18, 2022

Comments

  • IndyMom83
    IndyMom83 almost 2 years

    In my workbook I have a summary page that pulls from the worksheets(Active, Pending and Closed) within the workbook. Those worksheets are linked to other workbooks. On the summary page, I want to obtain how many items are overdue on the Active worksheet based on if the date is prior to today's date. Active Worksheet in Column C is the Employee's Name and in Column H is Due Date. I tried the following formula requesting the overdue information for an employee named Amy:

    =COUNTIFS(Active!C:C,"Amy",Active!H:H,"<TODAY()")
    

    This provides an incorrect answer. It returns zero, instead of the correct number. Any assistance in this matter is greatly appreciated.

    • kofemann
      kofemann over 10 years
      are you sure that you run rpc.idmapd on the servers?
    • Alex
      Alex over 10 years
      rpc.idmapd is running everywhere