TOPIC
Network Information System (NIS) is similar to NetIfno in that it allows multiple computers to share administrative data that is stored on one computer. It is different because NIS uses the standard UNIX flat files for this administrative data, while NetInfo uses a distributed database. Configuring Mac OS X Server to be an NIS client should not affect NetInfo.
DISCUSSION Note: Configuration of Mac OS X Server as an NIS client is not supported by Apple. This article is provided as is with no warranty. This article assumes knowledge of NetInfo and its structure. For more information on NetInfo, please read the following article: Article 60038: " Mac OS X Server: What Is NetInfo? " Article 60038 also contains instructions on backing up the database which should be done before continuing. For Mac OS X Server to bind to an NIS domain, the /etc/hostconfig file must be changed and lookupd must be configured to use NIS. The user must be logged in as root, or be a member of the wheel group in order to make these changes. Edit the hostconfig file Open the /etc/hostconfig file with TextEdit or a command line text editor. Find the "NISDOMAIN" entry. This is set to "-NO-" by default. Remove "-NO-" and type in the NIS domain name that the computer will bind to. This information can be obtained from the NIS administrator. Configure lookupd To properly configure lookupd to use NIS directories, properties, and values must be added to NetInfo. For a description of how these are used in NetInfo read article 60038, mentioned above. Open /System/Administration/NetInfoManager. The window that opens will be for the local NetInfo domain. (See Figure 1.) In this window find the "Directory Browser" heading in the top left corner of the window. Below this heading are three columns, that show the directories contained in NetInfo. In the middle column select the "locations" directory and click the new directory button. A "new_directory" is created. In the lower half of the NetInfo window two columns are listed, "Property" and "Value(s)". Change "new_directory" in the value column by double clicking on it and typing lookupd. The window should now look like Figure 1.
Figure 1:
NetInfo window.
Figure 2:
NetInfo window with properties and values filled in.
Figure 3:
NetInfo window; users directory.
Figure 4:
NetInfo window; groups directory.
Figure 5:
NetInfo window; hosts directory.
Figure 6:
NetInfo window; netgroups directory.
|
Document Information | |
Product Area: | Mac OS System Software |
Category: | Mac OS X Server |
Sub Category: | General Topics |
Keywords: | cnfg, kmosXserver |
Copyright © 2000 Apple Computer, Inc. All rights reserved.