Apple OS X Server User Manual


 
DescriptionConstant
Standard record for storing quota usage for a user in the
local node
kDSStdRecordTypePrintServiceUser
Standard record for storing bootp informationkDSStdRecordTypeBootp
Standard record for storing net domainskDSStdRecordTypeNetDomains
Standard record for storing EthernetskDSStdRecordTypeEthernets
Standard record for storing net groupskDSStdRecordTypeNetGroups
Standard record for storing host serviceskDSStdRecordTypeHostServices
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.
Table1-2 lists some of the standard attribute types. See the Open Directory Referencesection forthe 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
DescriptionConstant
Standard attribute for storing a password; commonly found in
kDSStdRecordTypeUsers records
kDS1AttrPassword
Standard attribute for storing a unique ID; commonly found in
kDSStdRecordTypeUsers records
kDS1AttrUniqueID
Standard attribute for storing a Primary Group ID; commonly found in
kDSStdRecordTypeUsers and kDSStdRecordTypeGroups records
kDS1AttrPrimaryGroupID
Standard attribute for storing a comment; commonly found in
kDSStdRecordTypeGroup, kDSStdRecordTypeUsers,
kDSStdRecordTypeComputers and other preset records
kDS1AttrComment
Standard attribute for storing the user’s shell; commonly found in
kDSStdRecordTypeUsers records
kDS1AttrUserShell
Standard attribute for print quota configuration or statistics; commonly
found in kDStdRecordTypePrintServiceUser records
kDS1AttrPrintService-
UserData
14
Open Directory Overview
2007-01-08 | © 2007 Apple Inc. All Rights Reserved.
CHAPTER 1
Concepts