You can find the vasyp.pkg file in the client directory for your Oracle Solaris operating system on the installation media.
To install and configure vasyp on Oracle Solaris
-
Stop the system ypserv and ypbind daemons by running the following commands as root:
-
Stop ypbind
# svcadm disable nis/client
-
Stop vasypd
# svcadm disable vasypd
-
Stop ypserv
# svcadm disable network/nis/server
NOTE: When installing the Safeguard Authentication Services vasypd UNIX component on Oracle Solaris 10 (or later), you must have the rpcbind service enabled on the host for this service to start. To enable it, run this command:
# /usr/sbin/svcadm enable -s network/rpc/bind
-
-
As root, mount the installation CD, change to the solaris directory, and run the following command:
# pkgadd -d vasyp_SunOS_<platform>-<version>.pkg all
- Create the /var/yp/binding/example.com directory where example.com is the Active Directory domain to which you are joined.
-
Create the /var/yp/binding/example.com/ypservers file and add the following line or modify the existing file to only contain this line:
localhost
-
Set the system NIS domain name to match the Active Directory domain to which you are joined by running the following command as root:
# domainname example.com
where example.com is the domain to which your machine has been joined.
NOTE: This only sets your NIS domain name for the current environment.
-
Set the NIS domain name permanently by modifying /etc/defaultdomain to include only the following line:
example.com
where example.com is the Active Directory domain to which you are joined.
-
Start vasyp with the following command:
# /etc/init.d/vasypd start
-
Start ypbind with the following command:
# svcadm enable nis/client
You can now use the NIS utilities like ypwhich and ypcat to query vasyp for NIS map data.
NOTE: For Oracle Solaris 10 (or later), ypbind may not bind to vasyp until some actual NIS requests occur which can take up to 30 seconds.