Figures, Tables, and Listings
Chapter 1
Concepts 9
Figure 1-1 Flow of an Open Directory request 10
Figure 1-2 An Open Directory request over a network 11
Figure 1-3 lookupd and NetInfo interaction when using SSH 23
Figure 1-4 lookupd, NetInfo, and Open Directory interaction when using SSH 23
Table 1-1 Standard record types 13
Table 1-2 Standard attribute types 14
Chapter 2
Working with Nodes 25
Listing 2-1 Listing registered nodes 25
Listing 2-2 Finding the node for a pathname 27
Listing 2-3 Opening a node 28
Listing 2-4 Authenticating using directory native authentication 30
Chapter 3
Working with Records 33
Listing 3-1 Listing records in a node 34
Listing 3-2 Getting information about a record’s attribute 36
Listing 3-3 Setting the name of a record 38
Listing 3-4 Creating and opening a record and adding an attribute 39
Listing 3-5 Deleting a record 41
5
2007-01-08 | © 2007 Apple Inc. All Rights Reserved.