Understandingand Using NetInfo Includes information on setting up Mac OS X Server and NetInfo to increase the power of your Mac OS X network
10 Chapter 1 No matter which application you use, the user information is stored in NetInfo. When a user attempts to log in to a Mac OS X computer
What Is NetInfo? 11 NetInfo consolidates administrative information, simplifying the interactions between processes and the administrative data the
12 Chapter 1 Likewise, user or network information needed to be changed on the computer where it resided. Some changes, such as network settings,
What Is NetInfo? 13 If an administrator changes a user’s UID, the user may no longer be able to modify or even access files and directories she crea
14 Chapter 1 Home directories are an example of how some Mac OS X processes collaborate to define and use NetInfo data. The Finder can display your
What Is NetInfo? 15 When the user logs in to a computer running Mac OS X, the login process on that computer consults the local NetInfo domain on t
16 Chapter 1 Shared domains generally reside on Mac OS X Servers, because servers are equipped with tools such as Server Admin for managing networ
What Is NetInfo? 17 While some devices may need to be used only by specific departments, some resources, such as personnel forms, may need to be sha
18 Chapter 1 A hierarchy can be as simple as a local domain and a root domain, or it can contain one or more shared domains between the local and
What Is NetInfo? 19 Domain visibility depends on the computer, not the user. So when a user logs in to a different computer, different NetInfo admi
K Apple Computer, Inc. © 2001 Apple Computer, Inc. All rights reserved. Under the copyright laws, this publication may not be copied, in whole or in
20 Chapter 1 There are three binding choices, each of which offers a different way for the computer hosting the child domain to locate a computer
What Is NetInfo? 21 Once binding has occurred, Mac OS X processes interact transparently with NetInfo. Rebinding occurs when any network location o
22 Chapter 1 Inside NetInfo When a Mac OS X computer starts up and domain binding occurs, a NetInfo daemon called nibindd starts. The nibindd da
What Is NetInfo? 23 Each netinfod process manages interactions with a domain’s NetInfo database. Information in a NetInfo database is organized int
24 Chapter 1 m homedirstyletype is used by Server Admin to distinguish among home directory styles none, local, and custom.m home is the absolute
What Is NetInfo? 25Setting Up Search PoliciesWhen a process requests NetInfo administrative data, the default search policy is to search the login h
26 Chapter 1 When the domain is open, select a directory. The illustration below shows the window for a domain called MyDomain. At the bottom of the
What Is NetInfo? 27m If the domain has a child on the same computer, the child’s tag is listed, preceded by the domain name and a /. In this example
29CHAPTER22 NetInfo PlanningThe goal of NetInfo planning is to design a hierarchy of NetInfo domains that gives your Mac OS X users easy access to t
3 Contents Preface About This Document 7 What’s in This Document 7Where to Find More Information 8 1 What Is NetInfo? 9 NetInfo: A
30 Chapter 2 If you want to share information among Mac OS X computers, you need to set up at least a root domain. Hierarchies this simple may be co
NetInfo Planning 31Controlling NetInfo Data VisibilityIf you want certain NetInfo data to be visible to all computers in a NetInfo hierarchy, you’d
32 Chapter 2 Select computers that will not be replaced frequently and that have adequate capacity for growing domains. While you can move a domain
NetInfo Planning 33When a user logs in to the computer, all the user records in the login hierarchy are available for authenticating the user. NetIn
34 Chapter 2 Each automatically mounted directory has a NetInfo mount record in one of the domains in the login hierarchy. You can view a mount reco
NetInfo Planning 35Although any user who can log in to a particular Mac OS X computer can view the directories and resources associated with domains
36 Chapter 2 For example, user records for Tony Smith and Tom Smith contain the short name “tsmith” and the password “smitty.” When Tony logs in to
NetInfo Planning 37If Tony has a user record in his local domain that has the same names and password as his record in the Students domain, the Stud
38 Chapter 2 Managing UIDsThe UID is a critical element in ensuring users have full access to the directories and files they create as well as to the
NetInfo Planning 39Group Data PlanningGroups are used to assign directory and file access privileges to collections of users. Here is what a group re
4 Contents Viewing NetInfo Data 25Using Command Line Utilities 27The Importance of Planning 27 2 NetInfo Planning 29 General Planni
40 Chapter 2 When a user attempts to access a directory or file the user doesn’t own, group privileges are checked:m First the GID of the user’s prim
NetInfo Planning 41Now suppose that a file, MyDoc, resides on a computer accessible to both Tony and Tom. The file is owned by a user with the UID 127
43 CHAPTER 3 3 Setting Up NetInfo Hierarchies After you have decided what the topology of your NetInfo hierarchy should look like and identified whi
44 Chapter 3 Step 5: Populate domains Add user, group, mount, and printer records to the appropriate domains in your hierarchy. See “Populating Do
Setting Up NetInfo Hierarchies 45 6 Click Save, then click OK when a message tells you to restart the computer. It will take a few minutes for your
46 Chapter 3 Here is a summary of requirements for machine records in a NetInfo domain: m The machines directory of every shared domain must have
Setting Up NetInfo Hierarchies 47 The English domain, which resides on server2, also needs two machine records—one to identify its parent (the root
48 Chapter 3 Step 2: Define the root domain and its relationship to the Math domain On server1, you now have a local domain that is configured to b
Setting Up NetInfo Hierarchies 49 5 Use nidomain’s list command to verify that you now have three domains on server 1: [server1:~] root# nidomain -
Contents 5 Creating Clones 54Replacing a Master With a Clone 55Setting Up Windows User Authentication 56Simple Hierarchies With No Clon
50 Chapter 3 Step 3: Create the future English domain In this step, you create a root domain on server2 using NetInfo Domain Setup. Later, this do
Setting Up NetInfo Hierarchies 51Step 5: Add a machine record for the English domain to the root domain On server1, add a machine record to the ro
52 Chapter 3 DHCP Binding When you configure a Mac OS X computer to locate its parent using DHCP binding, the parent’s IP address and NetInfo tag a
Setting Up NetInfo Hierarchies 53c Select the machines directory in the Directory Browser list.d Choose New Subdirectory from the Directory menu. Do
54 Chapter 3 Locating and Using Masters and ClonesWhen a Mac OS X process requests information from NetInfo:m The parent for the local domain is loc
Setting Up NetInfo Hierarchies 55This command copies the database tagged “myschool” from its host (server1) to a database having the same tag on the
56 Chapter 3 Setting Up Windows User AuthenticationTo authenticate Windows users using NetInfo so they can take advantage of the Windows services on
Setting Up NetInfo Hierarchies 574 Check the Authentication Manager box.5 Click Save and close NetInfo Domain Setup.6 Restart the server. Authentica
58 Chapter 3 Set Up MastersUse this procedure for servers hosting masters:1 Log in as the root user to the server where the master resides.2 Open th
Setting Up NetInfo Hierarchies 59Set Up Local Domains on Other Mac OS X ComputersUse the following procedure to enable Authentication Manager for th
60 Chapter 3 Disabling Authentication ManagerFollow these steps if you no longer want to use Authentication Manager:1 In the /etc/hostconfig file, ens
Setting Up NetInfo Hierarchies 615 Select an automount option. If you choose “Mount dynamically in /Network/Servers,” share points are listed in the
62 Chapter 3 Sharing PrintersUse the Print module of Server Admin to create a record for a printer in a shared NetInfo domain:1 Open Server Admin on
7 PREFACE About This Document What’s in This Document If you’re a system or network administrator whose responsibilities include Mac OS X administr
8 Preface Where to Find More Information The following information is available for Mac OS X Server administrators. Mac OS X Server is a powerful
9 CHAPTER 1 1 What Is NetInfo? NetInfo is the built-in Mac OS X directory system. A directory system is software that system and application proces
Kommentare zu diesen Handbüchern