Apple OS X Standard Attribute Types, Standard attribute for storing a unique ID commonly found

Page 14

C H A P T E R 1

Concepts

Constant

Description

kDSStdRecordTypePrintServiceUser

Standard record for storing quota usage for a user in the

 

local node

kDSStdRecordTypeBootp

Standard record for storing bootp information

kDSStdRecordTypeNetDomains

Standard record for storing net domains

kDSStdRecordTypeEthernets

Standard record for storing Ethernets

kDSStdRecordTypeNetGroups

Standard record for storing net groups

kDSStdRecordTypeHostServices

Standard record for storing host services

Standard Attribute Types

Apple Computer has defined a series of standard attributes. Developers can define their own attributes (known as native attributes). An attribute can be required or optional. Each record type defines the attributes that it requires.

Open Directory clients are responsible for interpreting the value of any particular attribute. All configuration and discovery of information in the directory service can be accomplished by requesting the appropriate attribute value.

Table 1-2 lists some of the standard attribute types. See the Open Directory Reference section for the complete list of attributes. Constants for attributes that start with kDS1 represent attributes that can only have one value; constants for attributes that start with kDSN represent attributes that can have multiple values.

Table 1-2

Standard attribute types

Constant

 

Description

kDS1AttrPassword

Standard attribute for storing a password; commonly found in

 

 

kDSStdRecordTypeUsers records

kDS1AttrUniqueID

Standard attribute for storing a unique ID; commonly found in

 

 

kDSStdRecordTypeUsers records

kDS1AttrPrimaryGroupID

Standard attribute for storing a Primary Group ID; commonly found in

 

 

kDSStdRecordTypeUsers and kDSStdRecordTypeGroups records

kDS1AttrComment

Standard attribute for storing a comment; commonly found in

 

 

kDSStdRecordTypeGroup, kDSStdRecordTypeUsers,

 

 

kDSStdRecordTypeComputers and other preset records

kDS1AttrUserShell

Standard attribute for storing the user’s shell; commonly found in

 

 

kDSStdRecordTypeUsers records

kDS1AttrPrintService-

Standard attribute for print quota configuration or statistics; commonly

UserData

 

found in kDStdRecordTypePrintServiceUser records

14Open Directory Overview

2007-01-08 © 2007 Apple Inc. All Rights Reserved.

Image 14
Contents Open Directory Programming Guide Apple Inc Contents N T E N T S Figures, Tables, and Listings G U R E S , T a B L E S , a N D L I S T I N G S Organization of This Document See AlsoIntroduction See Also Concepts Open Directory OverviewNodes 1Flow of an Open Directory request2An Open Directory request over a network Search Policies and Search Nodes Record TypesConstant Description Standard Attribute Types Standard attribute for storing a unique ID commonly foundAuthentication Native Attribute TypesBasic Authentication Open Directory Overview Local Windows Hash Authentication Local Cached User Authentication Disabled User Authentication Directory Native Authentication Directory ProxyOpen Directory, lookupd, and NetInfo 3lookupd and NetInfo interaction when using SSH Directory Service Command Line Utility DebuggingWorking with Nodes Listing Registered NodesWorking with Nodes Finding a Node Opening and Closing a Node Authenticating a User to a Node Directory Native Authentication Authenticating using directory native authenticationWorking with Nodes Working with Nodes Authenticating a User to a Node Working with Records Listing RecordsListing Records Getting Information About a Record’s Attribute Working with RecordsGetting Information About a Record’s Attribute Setting the Name of a Record Working with Records Listing 3-3Setting the name of a record Creating a Record and Adding an Attribute Void CreateRecord const tDirNodeReference inDirNodeRef Deleting a Record Working with Records Document Revision History Document Revision History
Related manuals
Manual 32 pages 7.58 Kb