Overview

In mixed networks, eDirectory communicates with a variety of data stores spread across complex and heterogeneous computer systems in order to maintain network-wide information. On UNIX systems, such information is maintained in three different types of data stores: Files, NIS(YP), and NIS+.

The DirXML Driver for NIS is used to synchronize information between these data stores and eDirectory. It uses DirXML 1.1a to communicate with eDirectory.


Files, NIS, and NIS+

The three main data stores that maintain user and group account information in UNIX systems are briefly described below.


Files

The Files data store uses local files on a machine to store information. These files are modified by different utilities to add, modify, and delete information. Information related to user accounts and groups is stored in the /etc/passwd and /etc/group files respectively, in ASCII format.


Network Information Service (NIS(YP))

Local files are inadequate to store information pertaining to a large number of clients in client/server networks. NIS(YP), a data storage mechanism designed to meet this need, uses a central NIS(YP) server to store domain-level information that client machines can access. NIS(YP) maintains user account and group account information in data stores called maps. Information is stored in DBM format in maps files.


Network Information Service Plus (NIS+)

NIS(YP) was designed for use in client/server networks that had a few hundred clients and a few multi-purpose servers. It proved to be inadequate in larger networks that hosted many specialized servers. NIS+ was designed to replace NIS(YP).

NIS+ stores network-wide information in a distributed, hierarchical domain structure and provides additional security to service clients across untrusted public networks. Information related to user accounts and groups is stored in the passwd and group tables in a relational database format. NIS+ uses a transaction log to send updates, which can be viewed using the nislog command.


Driver Architecture

The DirXML Driver for NIS synchronizes information between NIS data stores and eDirectory so there is a one-to-one correspondence between user or group account information as stored in eDirectory and in NIS.

The following illustration describes the architecture of the DirXML Driver for NIS.

Figure 1
DirXML Driver for NIS Architecture

The DirXML Driver for NIS communicates with two main modules, the DirXML engine and the external NIS database. The driver is represented through objects in eDirectory. The eDirectory object that represents the driver stores the driver's configuration and rule values. You can access and configure the driver using the DirXML snap-in in ConsoleOne® or iManager.


Driver Components

The DirXML driver for NIS provides:

The NIS driver interfaces with the NIS databases on both the Subscriber and Publisher channels.


Subscriber Channel

The Subscriber channel receives eDirectory events related to addition, modification, deletion, and renaming of user and group objects and updates the NIS databases to reflect the changes.

Figure 2
Subscriber Channel

The following table lists the Subscriber events that are supported by the driver, and the action taken upon receiving the event:

Subscriber Event Action

A user or group with a UNIX profile is added in eDirectory

The user or group is created in NIS

A user or group without a UNIX profile with the driver ID generation option being set to yes is added to eDirectory

The user or group is created in NIS

A user's or group's UNIX profile is modified in eDirectory

The user or group is modified in NIS

A user or group is deleted in eDirectory

The user or group is deleted in NIS

A user or group is renamed in eDirectory

The user or group is renamed in NIS

NOTE:  An error is generated if a UNIX profile of a user or group is deleted.


Publisher Channel

The Publisher channel polls the NIS databases for changes in user and group information and updates the eDirectory.

Figure 3
Publisher Channel

The following table lists the Publisher events that are supported by the driver, and the action taken upon receiving the event:

Publisher Event Action

A user or group is created in NIS

A user or group with a UNIX profile is created in eDirectory or a user or group is updated in eDirectory if it is already present

A user or group is modified in NIS

The UNIX profile of user or group is modified in eDirectory

A user or group is deleted in NIS

The user or group is deleted in eDirectory

IMPORTANT:   Renaming a user or group is not supported in Files and NIS(YP).



  Previous Page: Introduction to the DirXML Driver for NIS  Next Page: The NIS Driver and Its Configuration in eDirectory