Transitioning From Oracle® Solaris 10 to Oracle Solaris 11.2

Exit Print View

Updated: December 2014
 
 

NFS nfsmapid Syntax Changes

The syntax for modifying the nfsmapid service that maps NFSv4 user and group IDs by using the passwd and group entries in the /etc/nsswitch.conf file has changed.

The nfsmapid service is as follows:

# svcs mapid
STATE          STIE    FMRI
online         Apr_25   svc:/network/nfs/mapid:default

You would modify the service instance as follows:

# svccfg -s svc:/network/nfs/mapid:default
svc:/network/nfs/mapid:default> listprop
nfs-props                          application
nfs-props/nfsmapid_domain         astring     old.com
general                            framework
general/complete                  astring
general/enabled                   boolean     false
restarter                          framework            NONPERSISTENT
restarter/logfile                 astring     /var/svc/log/network-nfs-mapid:default.log
restarter/contract                count       137
restarter/start_pid               count       1325
restarter/start_method_timestamp  time        1366921047.240441000
restarter/start_method_waitstatus integer     0
restarter/auxiliary_state         astring     dependencies_satisfied
restarter/next_state              astring     none
restarter/state                   astring     online
restarter/state_timestamp         time        1366921047.247849000
general_ovr                        framework            NONPERSISTENT
general_ovr/enabled               boolean     true
svc:/network/nfs/mapid:default> setprop nfs-props/nfsmapid_domain = new.com
svc:/network/nfs/mapid:default> listprop
nfs-props                          application
nfs-props/nfsmapid_domain         astring     new.com
.
.
.
svc:/network/nfs/mapid:default> exit
# svcadm refresh svc:/network/nfs/mapid:default