Table 4-3 shows client-to-name server commands. These commands are typed on name service client machines and request information of name service servers. The commands in column 1 run on Solaris 1, Solaris 2 or Solaris 7 NIS clients connected to Solaris 1 NIS servers. The commands in column 2 run on Solaris 1, Solaris 2, or Solaris 7 NIS clients connected to Solaris 2 or Solaris 7 NIS+ servers running in NIS-compatibility mode. The commands in column 3 only run on Solaris 2 or Solaris 7 NIS+ clients connected to Solaris 2 or Solaris 7 NIS+ servers. Commands are approximately equivalent across rows. "N/A" indicates that an equivalent command does not exist for that case.
Table 4-3 NIS Client Commands and Equivalent NIS+ Commands
SunOS 4.x NIS Server |
NIS+ Server in NIS-Compatibility Mode |
NIS+ Server |
---|---|---|
ypwhich -m |
ypwhich -m |
niscat -o org_dir |
ypcat |
ypcat |
niscat |
ypwhich |
ypwhich |
N/A |
ypmatch |
ypmatch |
nismatch/nisgrep |
yppasswd |
passwd |
passwd |
ypbind |
ypbind |
N/A |
yppoll |
N/A |
N/A |
ypset |
ypset |
N/A |
N/A |
ypinit -c |
nisclient -c |
Note that:
In the Solaris 2.5 release, the passwd command should be used regardless of NIS or NIS+ status. The functions previously performed by nispasswd and yppasswd have now been included in the passwd command.
The ypinit -c command is available only on Solaris 2 or Solaris 7 NIS clients.
The ypcat command is not supported
for queries directed to the netgroup table. The NIS client's request times
out before an answer is received because this table's format is so different
from the netgroup
NIS map's format.