You can find the vasyp.rpm file in the client directory for your Linux operating system on the installation media.
To install and configure vasyp on Linux
-
Ensure that the system ypserv daemon is stopped by running the following as root:
# /etc/init.d/ypserv stop or, if systemd is available, use: systemctl stop ypserv
NOTE: Consider the following about stopping the ypserv daemon:
-
You do not need to perform this step if you do not have ypserv configured.
-
This option is not available on SUSE Linux (11 or later) and on Red Hat.
-
-
Ensure that the system ypserv daemon is not configured to start at system boot time.
The commands for doing this vary for the different supported Linux distributions. See your operating system documentation for instructions on disabling system services.
-
Ensure that the system ypbind daemon is not running by entering the following command:
# /etc/init.d/ypbind stop or, if systemd is available, use: systemctl stop ypbind
-
Ensure that the system ypbind daemon is configured to start at system boot time.
The commands for doing this vary for the different supported Linux distributions. See your operating system documentation for instructions on enabling system services.
-
As root, mount the Safeguard Authentication Services installation CD, change directories into the linux directory, and run the following command:
# rpm -Uvh vasyp-<version>.<build number>.rpm
As part of the install process, vasyp is registered with chkconfig to start at system boot time.
-
Configure the ypbind daemon to only talk to NIS servers on the local network interface by modifying /etc/yp.conf to contain only the following entry:
ypserver localhost
You can use either localhost or the actual hostname.
-
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.
Set the NIS domain name permanently on Red Hat Linux by modifying /etc/sysconfig/network to have the following option:
NIS_DOMAIN="example.com"
where example.com is the Active Directory domain to which the machine is joined.
On SUSE Linux, modify the /etc/defaultdomain file to include only example.com where example.com is the Active Directory domain to which you are joined.
-
Start vasyp with the following command:
vastool daemon start vasypd
-
Start ypbind with the following command:
# /etc/init.d/ypbind start or, if systemd is available, use: systemctl start ypbind
You can now use the NIS utilities like ypwhich and ypcat to query vasyp for NIS map data.