|
|
Log In | Not a Member? |
Contact ADC |
|
ADC Home > Reference Library > Reference > Networking > Mac OS X Server > Directory Service Framework Reference
|
DirServicesConst |
This header contains well known record, attribute and authentication type constants plus others. The attribute and record constants are generally used with the API calls dsDataNodeAllocateString() and dsBuildListFromStrings() to create proper data type arguments for the search methods in the Directory Services API. The auth constants are used with dsDataNodeAllocateString().
Node attribute type Constants
Node attribute type Constants
Neighborhood Constants
As a guideline for the attribute types the following legend is used:
eDS1xxxxxx Single Valued Attribute
eDSNxxxxxx Multi-Valued Attribute
NOTE #1: Access controls may prevent any particular client from reading/writting various attribute types. In addition some attribute types may not be stored at all and could also represent "real-time" data generated by the directory node plug-in.
NOTE #2: Attributes in the model are available for records and directory nodes.
Authentication Type Constants
Mainly used internally by the DirectoryService Daemon or made available via dsGetDirNodeInfo()
kDS1AttrAdminLimits |
#define kDS1AttrAdminLimits "dsAttrTypeStandard:AdminLimits"
XML plist indicating what an admin user can edit. Found in kDSStdRecordTypeUsers records.
kDS1AttrAdminStatus |
#define kDS1AttrAdminStatus "dsAttrTypeStandard:AdminStatus"
Retained only for backward compatibility.
kDS1AttrAlias |
#define kDS1AttrAlias "dsAttrTypeStandard:Alias"
Alias attribute, contain pointer to another node/record/attribute.
kDS1AttrAliasData |
#define kDS1AttrAliasData "dsAttrTypeStandard:AppleAliasData"
Used to identify alias data.
kDS1AttrAlternateDatastoreLocation |
#define kDS1AttrAlternateDatastoreLocation "dsAttrTypeStandard:AlternateDatastoreLocation"
Unix path used for determining where a user's email is stored.
kDS1AttrAttrListRefCount |
#define kDS1AttrAttrListRefCount "dsAttrTypeStandard:AttrListRefCount"
Attr List reference count for a process.
kDS1AttrAttrListValueRefCount |
#define kDS1AttrAttrListValueRefCount "dsAttrTypeStandard:AttrListValueRefCount"
Attr List Value reference count for a process.
kDS1AttrAuthCredential |
#define kDS1AttrAuthCredential "dsAttrTypeStandard:AuthCredential"
An "auth" credential, to be used to authenticate to other Directory nodes.
kDS1AttrAuthenticationHint |
#define kDS1AttrAuthenticationHint "dsAttrTypeStandard:AuthenticationHint"
Used to identify the authentication hint phrase.
kDS1AttrAuthorityRevocationList |
#define kDS1AttrAuthorityRevocationList "dsAttrTypeStandard:AuthorityRevocationList"
Attribute containing the binary of the authority revocation list. A certificate revocation list that defines certificate authority certificates which are no longer trusted. No user certificates are included in this list. Usually found in kDSStdRecordTypeCertificateAuthority records.
kDS1AttrBirthday |
#define kDS1AttrBirthday "dsAttrTypeStandard:Birthday"
Single-valued attribute that defines the user's birthday. Format is x.208 standard YYYYMMDDHHMMSSZ which we will require as GMT time.
kDS1AttrBootFile |
#define kDS1AttrBootFile "dsAttrTypeStandard:BootFile"
Attribute type in host or machine records for the name of the kernel that this machine will use by default when NetBooting.
kDS1AttrBuildVersion |
#define kDS1AttrBuildVersion "dsAttrTypeStandard:BuildVersion"
Build version for reference.
kDS1AttrCACertificate |
#define kDS1AttrCACertificate "dsAttrTypeStandard:CACertificate"
Attribute containing the binary of the certificate of a certificate authority. Its corresponding private key is used to sign certificates. Usually found in kDSStdRecordTypeCertificateAuthority records.
kDS1AttrCapabilities |
#define kDS1AttrCapabilities "dsAttrTypeStandard:Capabilities"
Used with directory nodes so that clients can "discover" the API capabilities for this Directory Node.
kDS1AttrCapacity |
#define kDS1AttrCapacity "dsAttrTypeStandard:Capacity"
Attribute type for the capacity of a resource. found in resource records (kDSStdRecordTypeResources). Example: 50
kDS1AttrCategory |
#define kDS1AttrCategory "dsAttrTypeStandard:Category"
The category of an item used for browsing
kDS1AttrCertificateRevocationList |
#define kDS1AttrCertificateRevocationList "dsAttrTypeStandard:CertificateRevocationList"
Attribute containing the binary of the certificate revocation list. This is a list of certificates which are no longer trusted. Usually found in kDSStdRecordTypeCertificateAuthority records.
kDS1AttrChange |
#define kDS1AttrChange "dsAttrTypeStandard:Change"
Retained for backward compatibility.
kDS1AttrComment |
#define kDS1AttrComment "dsAttrTypeStandard:Comment"
Attribute used for unformatted comment.
kDS1AttrConfigAvail |
#define kDS1AttrConfigAvail "dsAttrTypeStandard:ConfigAvail"
Config avail tag.
kDS1AttrConfigFile |
#define kDS1AttrConfigFile "dsAttrTypeStandard:ConfigFile"
Config file name.
kDS1AttrContactGUID |
#define kDS1AttrContactGUID "dsAttrTypeStandard:ContactGUID"
Attribute type for the contact GUID of a group. found in group records (kDSStdRecordTypeGroups).
kDS1AttrContactPerson |
#define kDS1AttrContactPerson "dsAttrTypeStandard:ContactPerson"
Attribute type for the contact person of the machine. Found in host or machine records.
kDS1AttrCopyTimestamp |
#define kDS1AttrCopyTimestamp "dsAttrTypeStandard:CopyTimestamp"
Timestamp used in local account caching.
kDS1AttrCoreFWVersion |
#define kDS1AttrCoreFWVersion "dsAttrTypeStandard:CoreFWVersion"
Core FW version for reference.
kDS1AttrCreationTimestamp |
#define kDS1AttrCreationTimestamp "dsAttrTypeStandard:CreationTimestamp"
Attribute showing date/time of record creation. Format is x.208 standard YYYYMMDDHHMMSSZ which we will require as GMT time.
kDS1AttrCrossCertificatePair |
#define kDS1AttrCrossCertificatePair "dsAttrTypeStandard:CrossCertificatePair"
Attribute containing the binary of a pair of certificates which verify each other. Both certificates have the same level of authority. Usually found in kDSStdRecordTypeCertificateAuthority records.
kDS1AttrCSPSearchPath |
#define kDS1AttrCSPSearchPath "dsAttrTypeStandard:CSPSearchPath"
Admin user configured custom search path defined by the search node.
kDS1AttrDataStamp |
#define kDS1AttrDataStamp "dsAttrTypeStandard:DataStamp"
checksum/meta data
kDS1AttrDateRecordCreated |
#define kDS1AttrDateRecordCreated "dsAttrTypeStandard:DateRecordCreated"
Date of record creation.
kDS1AttrDirRefCount |
#define kDS1AttrDirRefCount "dsAttrTypeStandard:DirRefCount"
Directory reference count for a process.
kDS1AttrDistinguishedName |
#define kDS1AttrDistinguishedName "dsAttrTypeStandard:RealName"
Users distinguished or real name
kDS1AttrDNSDomain |
#define kDS1AttrDNSDomain "dsAttrTypeStandard:DNSDomain"
DNS Resolver domain attribute.
kDS1AttrDNSNameServer |
#define kDS1AttrDNSNameServer "dsAttrTypeStandard:DNSNameServer"
DNS Resolver nameserver attribute.
kDS1AttrENetAddress |
#define kDS1AttrENetAddress "dsAttrTypeStandard:ENetAddress"
Single-valued attribute for hardware Ethernet address (MAC address). Found in machine records (kDSStdRecordTypeMachines) and computer records (kDSStdRecordTypeComputers).
kDS1AttrExpire |
#define kDS1AttrExpire "dsAttrTypeStandard:Expire"
Used for expiration date or time depending on association.
kDS1AttrFirstName |
#define kDS1AttrFirstName "dsAttrTypeStandard:FirstName"
Used for first name of user or person record.
kDS1AttrFunctionalState |
#define kDS1AttrFunctionalState "dsAttrTypeStandard:FunctionalState"
Functional state of plugin for example.
kDS1AttrFWVersion |
#define kDS1AttrFWVersion "dsAttrTypeStandard:FWVersion"
FW version for reference.
kDS1AttrGeneratedUID |
#define kDS1AttrGeneratedUID "dsAttrTypeStandard:GeneratedUID"
Used for 36 character (128 bit) unique ID. Usually found in user, group, and computer records. An example value is "A579E95E-CDFE-4EBC-B7E7-F2158562170F". The standard format contains 32 hex characters and four hyphen characters.
kDS1AttrHomeDirectoryQuota |
#define kDS1AttrHomeDirectoryQuota "dsAttrTypeStandard:HomeDirectoryQuota"
Represents the allowed usage for a user's home directory in bytes. Found in user records (kDSStdRecordTypeUsers).
kDS1AttrHomeDirectorySoftQuota |
#define kDS1AttrHomeDirectorySoftQuota "dsAttrTypeStandard:HomeDirectorySoftQuota"
Used to define home directory size limit in bytes when user is notified that the hard limit is approaching.
kDS1AttrHomeLocOwner |
#define kDS1AttrHomeLocOwner "dsAttrTypeStandard:HomeLocOwner"
Represents the owner of a workgroup's shared home directory. Typically found in kDSStdRecordTypeGroups records.
kDS1AttrInternetAlias |
#define kDS1AttrInternetAlias "dsAttrTypeStandard:InetAlias"
Used to track internet alias.
kDS1AttrKDCConfigData |
#define kDS1AttrKDCConfigData "dsAttrTypeStandard:KDCConfigData"
Contents of the kdc.conf file.
kDS1AttrKerberosRealm |
#define kDS1AttrKerberosRealm "dsAttrTypeStandard:KerberosRealm"
Supports Kerberized SMB Server services.
kDS1AttrLastName |
#define kDS1AttrLastName "dsAttrTypeStandard:LastName"
Used for the last name of user or person record.
kDS1AttrLDAPSearchBaseSuffix |
#define kDS1AttrLDAPSearchBaseSuffix "dsAttrTypeStandard:LDAPSearchBaseSuffix"
Search base suffix for a LDAP server.
kDS1AttrLocation |
#define kDS1AttrLocation "dsAttrTypeStandard:Location"
Represents the location a service is available from (usually domain name). Typically found in service record types including kDSStdRecordTypeAFPServer, kDSStdRecordTypeLDAPServer, and kDSStdRecordTypeWebServer.
kDS1AttrLSPSearchPath |
#define kDS1AttrLSPSearchPath "dsAttrTypeStandard:LSPSearchPath"
Local only search path defined by the search node.
kDS1AttrMailAttribute |
#define kDS1AttrMailAttribute "dsAttrTypeStandard:MailAttribute"
Holds the mail account config data.
kDS1AttrMapGUID |
#define kDS1AttrMapGUID "dsAttrTypeStandard:MapGUID"
Represents the GUID for a record's map.
kDS1AttrMCXFlags |
#define kDS1AttrMCXFlags "dsAttrTypeStandard:MCXFlags"
Used by MCX.
kDS1AttrMCXSettings |
#define kDS1AttrMCXSettings "dsAttrTypeStandard:MCXSettings"
Used by MCX.
kDS1AttrMetaAutomountMap |
#define kDS1AttrMetaAutomountMap "dsAttrTypeStandard:MetaAutomountMap"
Used to query for kDSStdRecordTypeAutomount entries associated with a specific kDSStdRecordTypeAutomountMap.
kDS1AttrMiddleName |
#define kDS1AttrMiddleName "dsAttrTypeStandard:MiddleName"
Used for the middle name of user or person record.
kDS1AttrModificationTimestamp |
#define kDS1AttrModificationTimestamp "dsAttrTypeStandard:ModificationTimestamp"
Attribute showing date/time of record modification. Format is x.208 standard YYYYMMDDHHMMSSZ which we will require as GMT time.
kDS1AttrNeighborhoodType |
#define kDS1AttrNeighborhoodType "dsAttrTypeStandard:NeighborhoodType"
Attribute type in Neighborhood records describing their function.
kDS1AttrNetworkNumber |
#define kDS1AttrNetworkNumber "dsAttrTypeStandard:NetworkNumber"
Single-valued attribute that defines a network number. Usually found in network records (kDSStdRecordTypeNetworks)
kDS1AttrNetworkView |
#define kDS1AttrNetworkView "dsAttrTypeStandard:NetworkView"
The name of the managed network view a computer should use for browsing.
kDS1AttrNFSHomeDirectory |
#define kDS1AttrNFSHomeDirectory "dsAttrTypeStandard:NFSHomeDirectory"
Defines a user's home directory mount point on the local machine.
kDS1AttrNodeRefCount |
#define kDS1AttrNodeRefCount "dsAttrTypeStandard:NodeRefCount"
Node reference count for a process.
kDS1AttrNote |
#define kDS1AttrNote "dsAttrTypeStandard:Note"
Note attribute. Commonly used in printer records.
kDS1AttrNSPSearchPath |
#define kDS1AttrNSPSearchPath "dsAttrTypeStandard:NSPSearchPath"
Automatic search path defined by the search node.
kDS1AttrNTDomainComputerAccount |
#define kDS1AttrNTDomainComputerAccount "dsAttrTypeStandard:NTDomainComputerAccount"
Supports Kerberized SMB Server services.
kDS1AttrOriginalNFSHomeDirectory |
#define kDS1AttrOriginalNFSHomeDirectory "dsAttrTypeStandard:OriginalNFSHomeDirectory"
NFS home directory used in local account caching.
kDS1AttrOriginalNodeName |
#define kDS1AttrOriginalNodeName "dsAttrTypeStandard:OriginalNodeName"
Nodename used in local account caching.
kDS1AttrOwner |
#define kDS1AttrOwner "dsAttrTypeStandard:Owner"
Attribute type for the owner of a record. Typically the value is a LDAP distinguished name.
kDS1AttrOwnerGUID |
#define kDS1AttrOwnerGUID "dsAttrTypeStandard:OwnerGUID"
Attribute type for the owner GUID of a group. found in group records (kDSStdRecordTypeGroups).
kDS1AttrPassword |
#define kDS1AttrPassword "dsAttrTypeStandard:Password"
Holds the password or credential value.
kDS1AttrPasswordPlus |
#define kDS1AttrPasswordPlus "dsAttrTypeStandard:PasswordPlus"
Holds marker data to indicate possible authentication redirection.
kDS1AttrPasswordPolicyOptions |
#define kDS1AttrPasswordPolicyOptions "dsAttrTypeStandard:PasswordPolicyOptions"
Collection of password policy options in single attribute. Used in user presets record.
kDS1AttrPasswordServerList |
#define kDS1AttrPasswordServerList "dsAttrTypeStandard:PasswordServerList"
Represents the attribute for storing the password server's replication information.
kDS1AttrPasswordServerLocation |
#define kDS1AttrPasswordServerLocation "dsAttrTypeStandard:PasswordServerLocation"
Specifies the IP address or domain name of the Password Server associated with a given directory node. Found in a config record named PasswordServer.
kDS1AttrPicture |
#define kDS1AttrPicture "dsAttrTypeStandard:Picture"
Represents the path of the picture for each user displayed in the login window. Found in user records (kDSStdRecordTypeUsers).
kDS1AttrPIDValue |
#define kDS1AttrPIDValue "dsAttrTypeStandard:PIDValue"
PID value.
kDS1AttrPluginIndex |
#define kDS1AttrPluginIndex "dsAttrTypeStandard:PluginIndex"
Plugin index for reference.
kDS1AttrPort |
#define kDS1AttrPort "dsAttrTypeStandard:Port"
Represents the port number a service is available on. Typically found in service record types including kDSStdRecordTypeAFPServer, kDSStdRecordTypeLDAPServer, and kDSStdRecordTypeWebServer.
kDS1AttrPresetUserIsAdmin |
#define kDS1AttrPresetUserIsAdmin "dsAttrTypeStandard:PresetUserIsAdmin"
Flag to indicate whether users created from this preset are administrators by default. Found in kDSStdRecordTypePresetUsers records.
kDS1AttrPrimaryComputerGUID |
#define kDS1AttrPrimaryComputerGUID "dsAttrTypeStandard:PrimaryComputerGUID"
Single-valued attribute that defines a primary computer of the computer group. added via extensible object for computer group record type (kDSStdRecordTypeComputerGroups)
kDS1AttrPrimaryComputerList |
#define kDS1AttrPrimaryComputerList "dsAttrTypeStandard:PrimaryComputerList"
The GUID of the computer list with which this computer record is associated.
kDS1AttrPrimaryGroupID |
#define kDS1AttrPrimaryGroupID "dsAttrTypeStandard:PrimaryGroupID"
This is the 32 bit unique ID that represents the primary group a user is part of, or the ID of a group. Format is a signed 32 bit integer represented as a string.
kDS1AttrPrimaryNTDomain |
#define kDS1AttrPrimaryNTDomain "dsAttrTypeStandard:PrimaryNTDomain"
Supports Kerberized SMB Server services.
kDS1AttrPrinter1284DeviceID |
#define kDS1AttrPrinter1284DeviceID "dsAttrTypeStandard:Printer1284DeviceID"
Single-valued attribute that defines the IEEE 1284 DeviceID of a printer. This is used when configuring a printer.
kDS1AttrPrinterLPRHost |
#define kDS1AttrPrinterLPRHost "dsAttrTypeStandard:PrinterLPRHost"
Standard attribute type for kDSStdRecordTypePrinters.
kDS1AttrPrinterLPRQueue |
#define kDS1AttrPrinterLPRQueue "dsAttrTypeStandard:PrinterLPRQueue"
Standard attribute type for kDSStdRecordTypePrinters.
kDS1AttrPrinterMakeAndModel |
#define kDS1AttrPrinterMakeAndModel "dsAttrTypeStandard:PrinterMakeAndModel"
Single-valued attribute for definition of the Printer Make and Model. An example Value would be "HP LaserJet 2200". This would be used to determine the proper PPD file to be used when configuring a printer from the Directory. This attribute is based on the IPP Printing Specification RFC and IETF IPP-LDAP Printer Record.
kDS1AttrPrinterType |
#define kDS1AttrPrinterType "dsAttrTypeStandard:PrinterType"
Standard attribute type for kDSStdRecordTypePrinters.
kDS1AttrPrinterURI |
#define kDS1AttrPrinterURI "dsAttrTypeStandard:PrinterURI"
Single-valued attribute that defines the URI of a printer "ipp://address" or "smb://server/queue". This is used when configuring a printer. This attribute is based on the IPP Printing Specification RFC and IETF IPP-LDAP Printer Record.
kDS1AttrPrinterXRISupported |
- kDSNAttrPrinterXRISupported
#define kDSNAttrPrinterXRISupported "dsAttrTypeStandard:PrinterXRISupported"
Multi-valued attribute that defines additional URIs supported by a printer. This is used when configuring a printer. This attribute is based on the IPP Printing Specification RFC and IETF IPP-LDAP Printer Record.
kDS1AttrPrintServiceInfoText |
#define kDS1AttrPrintServiceInfoText "dsAttrTypeStandard:PrintServiceInfoText"
Standard attribute type for kDSStdRecordTypePrinters.
kDS1AttrPrintServiceInfoXML |
#define kDS1AttrPrintServiceInfoXML "dsAttrTypeStandard:PrintServiceInfoXML"
Standard attribute type for kDSStdRecordTypePrinters.
kDS1AttrPrintServiceUserData |
#define kDS1AttrPrintServiceUserData "dsAttrTypeStandard:PrintServiceUserData"
Single-valued attribute for print quota configuration or statistics (XML data). Found in user records (kDSStdRecordTypeUsers) or print service statistics records (kDSStdRecordTypePrintServiceUser).
kDS1AttrProcessName |
#define kDS1AttrProcessName "dsAttrTypeStandard:ProcessName"
Process Name.
kDS1AttrProtocolNumber |
#define kDS1AttrProtocolNumber "dsAttrTypeStandard:ProtocolNumber"
Single-valued attribute that defines a protocol number. Usually found in protocol records (kDSStdRecordTypeProtocols)
kDS1AttrPwdAgingPolicy |
#define kDS1AttrPwdAgingPolicy "dsAttrTypeStandard:PwdAgingPolicy"
Contains the password aging policy data for an authentication capable record.
kDS1AttrRARA |
#define kDS1AttrRARA "dsAttrTypeStandard:RARA"
Retained only for backward compatibility.
kDS1AttrReadOnlyNode |
#define kDS1AttrReadOnlyNode "dsAttrTypeStandard:ReadOnlyNode"
Can be found using dsGetDirNodeInfo and will return one of ReadOnly, ReadWrite, or WriteOnly strings. Note that ReadWrite does not imply fully readable or writable
kDS1AttrRealUserID |
#define kDS1AttrRealUserID "dsAttrTypeStandard:RealUserID"
Used by MCX.
kDS1AttrRecordImage |
#define kDS1AttrRecordImage "dsAttrTypeStandard:RecordImage"
A binary image of the record and all it's attributes. Has never been supported.
kDS1AttrRecRefCount |
#define kDS1AttrRecRefCount "dsAttrTypeStandard:RecRefCount"
Record reference count for a process.
kDS1AttrRefNumTableList |
#define kDS1AttrRefNumTableList "dsAttrTypeStandard:RefNumTableList"
Summary of the reference table entries presented as attr values from the Configure node via dsGetDirNodeInfo.
kDS1AttrRelativeDNPrefix |
#define kDS1AttrRelativeDNPrefix "dsAttrTypeStandard:RelativeDNPrefix"
Used to map the first native LDAP attribute type required in the building of the Relative Distinguished Name for LDAP record creation.
kDS1AttrRPCNumber |
#define kDS1AttrRPCNumber "dsAttrTypeStandard:RPCNumber"
Single-valued attribute that defines an RPC number. Usually found in RPC records (kDSStdRecordTypeRPC)
kDS1AttrSearchPath |
#define kDS1AttrSearchPath "dsAttrTypeStandard:SearchPath"
Search path used by the search node.
kDS1AttrSearchPolicy |
#define kDS1AttrSearchPolicy "dsAttrTypeStandard:SearchPolicy"
Search policy for the search node.