Authentication Services supports all NIS map objects defined in RFC 2307 as well as the ability to store custom NIS data. RFC 2307 provides classes for six standard NIS maps:
Authentication Services supports these RFC 2307 standard maps and their representative classes:
|Map name||RFC 2307 object class|
These objects are generally created inside a container or organizational unit.
All other NIS maps are represented using the generic map classes provided in RFC 2307. These classes are nisMap and nisObject. A nisMap is a container object that holds nisObject objects. Set the nisMapName attribute of the nisMap object and nisObject objects it contains to the name of the imported NIS map. A nisObject represents a key-value pair where cn is the key attribute and nisMapEntry is the value.
The RFC 2307 specification assumes that the cn attribute is multivalued. In Active Directory, the cn attribute is single-valued. This means that you must create aliases as separate objects.
NIS is case-sensitive and Active Directory is case-insensitive. Some aliases for certain NIS map entries are the same keys except all capitalized. Active Directory cannot distinguish between names that differ only by case.
To ensure that the NIS proxy agent daemon, vasypd, does not cause any system hangs when you install, configure, or upgrade it, follow the steps for each supported Unix platform outlined in this section.
Note: Before installing and configuring the Authentication Services NIS components, you should have previously installed the Authentication Services agent software and joined the Unix machine to an Active Directory domain.
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
# /etc/init.d/ypserv stop
Note: You do not need to do this if you have not previously configured ypserv.
Note: This option is not available on SUSE Linux (10.2) or on Red Hat.
The commands for doing this vary for the different supported Linux distributions. Please see your operating system documentation for instructions on disabling system services.
# /etc/init.d/ypbind stop
The commands for doing this vary for the different supported Linux distributions. Please see your operating system documentation for instructions on enabling system services.
# rpm -Uvh vasyp-<version>.<build number>.rpm
As part of the install process, vasyp is registered with chkconfig to start at system boot time.
You can use either localhost or the actual hostname.
# 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:
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.
# /etc/init.d/vasypd start
# /etc/init.d/ypbind start
You can now use the NIS utilities like ypwhich and ypcat to query vasyp for NIS map data.