Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Multiple users NFS server

  1. #11
    Join Date
    Oct 2007
    Beans
    18

    Re: Multiple users NFS server

    Quote Originally Posted by albinootje View Post
    Was it working before ?


    Did you follow the documentation from /usr/share/doc/nis/ or something else ?
    No, I wasn't able to get it to work at all. I was following the directions on a webpage, but since there are no longer any directories in /home, I can't cite the url.

    So I tried reconfiguring with a different set of instructions: (http://ubuntuforums.org/showthread.php?t=348015) to , but that didn't work either.

    Why would all the home directories be missing anyway? Just because it wasn't able to bind should be any reason they are missing. Does this have more to do with automounting nfs?

    The config files for both server and client are below. I am pretty sure /etc/hosts is config'ed correctly since I can ping and ssh with just the hostnames. Running sudo /etc/init.d/nis restart from the server also fails.

    Server config files:

    This is /etc/yp.conf. I am not sure it is configured correctly.
    Code:
    #
    # yp.conf       Configuration file for the ypbind process. You can define
    
    # ypserver ypserver.network.com
    domain mydomain.com server myservername
    Code:
    #
    # securenets    This file defines the access rights to your NIS server
    
    # Always allow access for localhost
    255.0.0.0       127.0.0.0
    255.255.255.0   IP of myclient
    255.255.255.0   IP of myserver
    Code:
    #
    # /etc/defaults/nis     Configuration settings for the NIS daemons.
    #
    
    # Are we a NIS server and if so what kind (values: false, slave, master)?
    NISSERVER=master
    
    # Are we a NIS client?
    NISCLIENT=false
    Client config files:
    Code:
    #
    # yp.conf       Configuration file for the ypbind process. You can define
    
    # ypserver ypserver.network.com
    IP of myclient myclient.mydomain.com
    Code:
    #
    # /etc/defaults/nis     Configuration settings for the NIS daemons.
    #
    
    # Are we a NIS server and if so what kind (values: false, slave, master)?
    NISSERVER=false
    
    # Are we a NIS client?
    NISCLIENT=true

  2. #12
    Join Date
    Oct 2007
    Beans
    18

    Re: Multiple users NFS server

    Deleted.
    Last edited by anonymousnobody; January 29th, 2009 at 08:25 PM. Reason: Duplicate Post

  3. #13
    Join Date
    Jul 2008
    Location
    Netherlands
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Multiple users NFS server

    Was it working before ?


    Did you follow the documentation from /usr/share/doc/nis/ or something else ?
    ---End Quote---
    No, I wasn't able to get it to work at all. I was following the directions on a webpage, but since there are no longer any directories in /home, I can't cite the url.
    Please start from scratch and use the instructions in /usr/share/doc/nis/
    It's a gzipped file which needs to be gunzipped, or use zless or zcat to read it.
    And if the NFS automounting of your /home is a problem, try adding an user with /tmp or /home2 as home dir for testing.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •