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.

Page 14
Image 14
Apple OS X manual Standard Attribute Types, Standard attribute for storing a unique ID commonly found