Configuring NIS-based authentication

The Network Information Service (NIS)-based authentication is useful in NFS only environment where NIS acts as an ID mapping server and also used for netgroups. When file access is configured with NIS, SMB access cannot be enabled.

Ensure that you have the following details before you start NIS-based authentication:
  • NIS server name. This is case-specific
  • IP address or host name of the NIS server
  • Primary DNS is added in the /etc/resolv.conf file on all the protocol nodes. It resolves the authentication server system with which the IBM Spectrum Scale™ system is configured. The manual changes done to the configuration files might get overwritten by the Operating System's network manager. So, ensure that the DNS configuration is persistent even after you restart the system. For more information on the circumstances where the configuration files are overwritten, refer the corresponding Operating System documentation.
You need to run the mmuserauth service create command with the following mandatory parameters to configure NIS as the authentication method:
  • --type nis
  • --data-access-method file
  • --domain domainName
  • --servers comma-delimited IP address or host name
For more information on each parameter, see the mmuserauth service create command.
Provides an example on how to configure NIS as the authentication method for file access.
  1. Issue the mmuserauth service create command as shown in the following example:
    # mmuserauth service create --type nis --data-access-method file 
    --servers myNISserver --domain nisdomain3
    The system displays the following output:
    File Authentication configuration completed successfully.
  2. To verify the authentication configuration, issue the mmuserauth service list command as shown in the following example:
    # mmuserauth service list
    The system displays the following output:
    FILE access configuration : NIS
    PARAMETERS               VALUES
    -------------------------------------------------
    SERVERS                  myNISserver
    DOMAIN                   nisdomain3
    
    OBJECT access not configured
    PARAMETERS               VALUES
    -------------------------------------------------.