Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dsexport(1) [osx man page]

dsexport(1)						    BSD General Commands Manual 					       dsexport(1)

NAME
dsexport -- export records from OpenDirectory SYNOPSIS
dsexport [--N] [-r record_list] [-e exclude_attributes] [-a address -u username [-p password]] output_file node_path record_type DESCRIPTION
The dsexport utility exports records from Open Directory. The first argument is the path to the output file. If the file already exists it will be overwritten. The second argument is the path to the OpenDirectory node from which the records will be read. The third argument is the type of record to export. If the record type does not begin with 'dsRecTypeStandard:' or 'dsRecTypeNative:', the dsexport utility will determine if the node supports a standard attribute by the specified name; otherwise, dsexport will assume that the record type is native. A warning will be printed if the record type is converted. Standard record types can be listed using the following command: 'dscl -raw . -list /'. OPTIONS
The options are as follows: --N Export all attributes, including native attributes. By default, dsexport only exports standard attributes. -r record_list Comma-separated list of records to export from the specified node. The -r option may be used multiple times to specify additional records to export. If the -r option is not specified, dsexport will attempt to export all records. -e exclude Comma-separated list of attributes that should not be exported. The -e option may be used multiple times to specify additional attributes to exclude. The following attributes are always excluded: 'dsAttrTypeStandard:AppleMetaNodeLocation', 'dsAttrTypeStandard:RecordType', 'dsAttrTypeNative:objectClass'. -a address Address of the desired proxy machine. -u username Username to use for the proxy connection -p password Password to use for the proxy connection. If the -p option is not specified, dsexport will interactively prompt for the password. NOTES
When using an LDAP node, please be aware that dsexport can only export as many records as the LDAP server is willing to return. If the LDAP server has several thousand users, you may want to raise the maximum number of search results that the server returns. This can be done in Server Admin (my.server.com>OpenDirectory>Settings>Protocols tab). By default this is set to 11000 results. EXAMPLES
Export all user records from the local node to 'export.out': $ dsexport export.out /Local/Default dsRecTypeStandard:Users Export the group records for 'admin' and 'staff' from the LDAPv3 node on a proxy machine 'proxy.machine.com': $ dsexport export.out /LDAPv3/127.0.0.1 dsRecTypeStandard:Groups -r admin,staff -a proxy.machine.com -u diradmin -p password Export augmented users from the LDAPv3 node, including native attributes but excluding the PasswordPlus attribute: $ dsexport augments.out /LDAPv3/127.0.0.1 dsRecTypeStandard:Augments --N -e "dsAttrTypeStandard:PasswordPlus" EXIT STATUS
The dsexport utility exits 0 on success, and >0 if an error occurs. SEE ALSO
dscl(1), dsimport(1), DirectoryService(8) BSD
20 November 2008 BSD

Check Out this Related Man Page

DirectoryServiceAttributes(7)			       BSD Miscellaneous Information Manual			     DirectoryServiceAttributes(7)

NAME
DirectoryServiceAttributes The following standard attribute types are defined in <DirectoryServices/DirServicesConst.h> DESCRIPTION
This document contains well known attribute and record type constants. They can be used with dsDataNodeAllocateString() to create a data node to pass to a Directory Services API call. Legend: eDS1xxxxxx Single Valued Attribute eDSNxxxxxx Multi-Valued Attribute NOTE: Access controls may prevent any particular client from reading/writting various attributes. In addition some attributes may not be stored at all and could represent "real-time" data generated by the directory node plug-in. NOTE #2: Attributes in the model are available for records & directory nodes. Type String All Records kDSRecordsAll "dsRecordsAll" kDSRecordsStandardAll "dsRecordsStandardAll" kDSRecordsNativeAll "dsRecordsNativeAll" All Attributes kDSAttributesAll "dsAttributesAll" kDSAttributesStandardAll "dsAttributesStandardAll" kDSAttributesNativeAll "dsAttributesNativeAll" Well Known Record Types kDSStdRecordTypePrefix "dsRecTypeStandard:" kDSNativeRecordTypePrefix "dsRecTypeNative:" kDSStdRecordTypeUsers "dsRecTypeStandard:Users" kDSStdRecordTypeUserAliases "dsRecTypeStandard:UserAliases" kDSStdRecordTypeGroups "dsRecTypeStandard:Groups" kDSStdRecordTypeGroupAliases "dsRecTypeStandard:GroupAliases" kDSStdRecordTypeMachines "dsRecTypeStandard:Machines" kDSStdRecordTypeAliases "dsRecTypeStandard:Aliases" kDSStdRecordTypeHosts "dsRecTypeStandard:Hosts" kDSStdRecordTypePrinters "dsRecTypeStandard:Printers" kDSStdRecordTypeNetworks "dsRecTypeStandard:Networks" kDSStdRecordTypeServices "dsRecTypeStandard:Services" kDSStdRecordTypeServer "dsRecTypeStandard:Server" kDSStdRecordTypProtocols "dsRecTypeStandard:Protocols" kDSStdRecordTypeProtocols "dsRecTypeStandard:Protocols" kDSStdRecordTypRPC "dsRecTypeStandard:RPC" kDSStdRecordTypeRPC "dsRecTypeStandard:RPC" kDSStdRecordTypePrintService "dsRecTypeStandard:PrintService" kDSStdRecordTypeConfig "dsRecTypeStandard:Config" kDSStdRecordTypeAFPServer "dsRecTypeStandard:AFPServer" kDSStdRecordTypeSMBServer "dsRecTypeStandard:SMBServer" kDSStdRecordTypeFTPServer "dsRecTypeStandard:FTPServer" kDSStdRecordTypeNFS "dsRecTypeStandard:NFS" kDSStdRecordTypeWebServer "dsRecTypeStandard:WebServer" kDSStdRecordTypeLDAPServer "dsRecTypeStandard:LDAPServer" kDSStdRecordTypeQTSServer "dsRecTypeStandard:QTSServer" kDSStdRecordTypMounts "dsRecTypeStandard:Mounts" kDSStdRecordTypeMounts "dsRecTypeStandard:Mounts" kDSStdRecordTypeComputers "dsRecTypeStandard:Computers" kDSStdRecordTypeComputerLists "dsRecTypeStandard:ComputerLists" kDSStdRecordTypePresetUsers "dsRecTypeStandard:PresetUsers" kDSStdRecordTypePresetGroups "dsRecTypeStandard:PresetGroups" kDSStdRecordTypePresetComputerLists "dsRecTypeStandard:PresetComputerLists" kDSStdRecordTypeAutoServerSetup Discussion: Used to discover automated server setup information. kDSStdRecordTypeAutoServerSetup "dsRecTypeStandard:AutoServerSetup" kDSStdRecordTypePasswordServer Discussion: Used to discover password servers via Rendezvous. kDSStdRecordTypePasswordServer "dsRecTypeStandard:PasswordServer" kDSStdRecordTypePeople Discussion: Record type that contains "People" records used for contact information. kDSStdRecordTypePeople "dsRecTypeStandard:People" kDSStdRecordTypeSharePoints Discussion: Share point record type. kDSStdRecordTypeSharePoints "dsRecTypeStandard:SharePoints" kDSStdRecordTypePrintServiceUser Discussion: Record in the local node for storing quota usage for a user. kDSStdRecordTypePrintServiceUser "dsRecTypeStandard:PrintServiceUser" kDSStdRecordTypeAFPUserAliases "dsRecTypeStandard:AFPUserAliases" kDSStdRecordTypeBootp Discussion: Record in the local node for storing bootp info. kDSStdRecordTypeBootp "dsRecTypeStandard:Bootp" kDSStdRecordTypeNetDomains Discussion: Record in the local node for storing net domains. kDSStdRecordTypeNetDomains "dsRecTypeStandard:NetDomains" kDSStdRecordTypeEthernets Discussion: Record in the local node for storing ethernets. kDSStdRecordTypeEthernets "dsRecTypeStandard:Ethernets" kDSStdRecordTypeNetGroups Discussion: Record in the local node for storing net groups. kDSStdRecordTypeNetGroups "dsRecTypeStandard:NetGroups" kDSStdRecordTypeHostServices Discussion: Record in the local node for storing host services. kDSStdRecordTypeHostServices "dsRecTypeStandard:HostServices" kDSStdUserNamesMeta "dsRecTypeStandard:MetaUserNames" kDSStdRecordTypeMeta "dsRecTypeStandard:AppleMetaRecord" Location record type. kDSStdRecordTypeLocations "dsRecTypeStandard:Locations" Well Known Attribute Types... kDSStdAttrTypePrefix "dsAttrTypeStandard:" kDSNativeAttrTypePrefix "dsAttrTypeNative:" kDSAttrNone "dsNone" Authentication Methods kDSStdAuthMethodPrefix "dsAuthMethodStandard:" kDSNativeAuthMethodPrefix "dsAuthMethodNative:" kDSStdAuthClearText "dsAuthMethodStandard:dsAuthClearText" kDSStdAuthCrypt Discussion: Use a crypt password stored in the user record if available to do the authentication. The buffer is packed as follows: 4 byte length of username, username in UTF8 encoding, 4 byte length of password, password in UTF8 encoding This method may not be supported by all plug-ins or for all users. kDSStdAuthCrypt "dsAuthMethodStandard:dsAuthCrypt" kDSStdAuthSetPasswd "dsAuthMethodStandard:dsAuthSetPasswd" kDSStdAuthChangePasswd Discussion: Change the password for a user. Does not require prior authentication. The buffer is packed as follows: 4 byte length of username, username in UTF8 encoding, 4 byte length of old password, old password in UTF8 encoding, 4 byte length of new password, new password in UTF8 encoding kDSStdAuthChangePasswd "dsAuthMethodStandard:dsAuthChangePasswd" kDSStdAuthSetPasswdAsRoot "dsAuthMethodStandard:dsAuthSetPasswdAsRoot" kDSStdAuth2WayRandomChangePasswd Discussion: Change the password for a user using the two-way random method. Does not require prior authentication. The buffer is packed as follows: 4 byte length of username, username in UTF8 encoding, 4 byte length of old password encrypted with new (should be 8), old password encrypted with new, 4 byte length of new password encrypted with old (should be 8), new password encrypted with old kDSStdAuth2WayRandomChangePasswd "dsAuthMethodStandard:dsAuth2WayRandomChangePasswd" kDSStdAuthAPOP "dsAuthMethodStandard:dsAuthAPOP" kDSStdAuth2WayRandom "dsAuthMethodStandard:dsAuth2WayRandom" kDSStdAuthNodeNativeClearTextOK Discussion: The plug-in should determine which specific authentication method to use. The buffer is packed as follows: 4 byte length of username, username in UTF8 encoding, 4 byte length of password, password in UTF8 encoding The plug-in may choose to use a cleartext authentication method if necessary. kDSStdAuthNodeNativeClearTextOK "dsAuthMethodStandard:dsAuthNodeNativeCanUseClearText" kDSStdAuthNodeNativeNoClearText Discussion: The plug-in should determine which specific authentication method to use. The buffer is packed as follows: 4 byte length of username, username in UTF8 encoding, 4 byte length of password, password in UTF8 encoding The plug-in must not use an authentication method that sends the password in cleartext. kDSStdAuthNodeNativeNoClearText "dsAuthMethodStandard:dsAuthNodeNativeCannotUseClearText" kDSStdAuthSMB_NT_Key "dsAuthMethodStandard:dsAuthSMBNTKey" kDSStdAuthSMB_LM_Key "dsAuthMethodStandard:dsAuthSMBLMKey" kDSStdAuthCRAM_MD5 "dsAuthMethodStandard:dsAuthNodeCRAM-MD5" kDSStdAuthDIGEST_MD5 "dsAuthMethodStandard:dsAuthNodeDIGEST-MD5" PDC_SMB_Constants Discussion: Related constants for supporting PDC SMB interaction with DS. kDSStdAuthSMB_NT_UserSessionKey "dsAuthMethodStandard:dsAuthSMBNTUserSessionKey" kDSStdAuthSMBWorkstationCredentialSessionKey "dsAuthMethodStandard:dsAuthSMBWorkstationCredentialSessionKey" kDSStdAuthSetWorkstationPasswd "dsAuthMethodStandard:dsAuthSetWorkstationPasswd" kDS1AttrSMBRID "dsAttrTypeStandard:smb_rid" kDS1AttrSMBGroupRID "dsAttrTypeStandard:smb_group_rid" kDS1AttrSMBHomeDrive Discussion: Drive letter for homedirectory mount point. kDS1AttrSMBHomeDrive "dsAttrTypeStandard:smb_home_drive" kDS1AttrSMBHome Discussion: UNC address of Windows homedirectory mount point (serversharepoint). kDS1AttrSMBHome "dsAttrTypeStandard:smb_home" kDS1AttrSMBScriptPath Discussion: Login script path. kDS1AttrSMBScriptPath "dsAttrTypeStandard:smb_script_path" kDS1AttrSMBProfilePath Discussion: Desktop management info (dock, desktop links, etc). kDS1AttrSMBProfilePath "dsAttrTypeStandard:smb_profile_path" kDS1AttrSMBUserWorkstations Discussion: List of workstations user can login from (machine account names). kDS1AttrSMBUserWorkstations "dsAttrTypeStandard:smb_user_workstations" Account_Control_Flags Discussion: Set of account control flags. kDS1AttrSMBAcctFlags "dsAttrTypeStandard:smb_acctFlags" kDS1AttrSMBPWDLastSet "dsAttrTypeStandard:smb_pwd_last_set" kDS1AttrSMBLogonTime "dsAttrTypeStandard:smb_logon_time" kDS1AttrSMBLogoffTime "dsAttrTypeStandard:smb_logoff_time" kDS1AttrSMBKickoffTime "dsAttrTypeStandard:smb_kickoff_time" kDS1AttrPasswordServerList Discussion: Represents the attribute for storing the password server's replication information. kDS1AttrPasswordServerList "dsAttrTypeStandard:PasswordServerList" kDS1AttrAlternateDatastoreLocation Discussion: Unix path used for determining where a user's email is stored. kDS1AttrAlternateDatastoreLocation "dsAttrTypeStandard:AlternateDatastoreLocation" kDSStdAuthMSCHAP2 Discussion: MS-CHAP2 is a mutual authentication method. The plug-in will generate the data to send back to the client and put it in the step buffer. The input buffer format: 4 byte length, username, 4 byte length, server challenge, 4 byte length, peer challenge, 4 byte length, client's digest, The output buffer format: 4 byte length, return digest for the client's challenge kDSStdAuthMSCHAP2 "dsAuthMethodStandard:dsAuthMSCHAP2" kDSStdAuthMASKE_A "dsAuthMethodStandard:dsAuthMASKE-A" kDSStdAuthMASKE_B "dsAuthMethodStandard:dsAuthMASKE-B" kDSStdAuthWithAuthorizationRef Discussion: Allows access to local directories as root with a valid AuthorizationRef. The input buffer format: externalized AuthorizationRef kDSStdAuthWithAuthorizationRef "dsAuthMethodStandard:dsAuthWithAuthorizationRef" kDSStdAuthNewUser Discussion: Create a new user record with the authentication authority The buffer is packed as follows: 4 byte length of authenticator's UserID, authenticator's UserID in UTF8 encoding, 4 byte length of authenticator's password, authenticator's password in UTF8 encoding 4 byte length of new user's short-name, user's short-name, 4 byte length of new user's password, user's password kDSStdAuthNewUser "dsAuthMethodStandard:dsAuthNewUser" kDSStdAuthGetPolicy Discussion: The plug-in should determine which specific authentication method to use. The buffer is packed as follows: 4 byte length of authenticator's UserID, authenticator's UserID in UTF8 encoding, 4 byte length of authenticator's password, authenticator's password in UTF8 encoding 4 byte length of UserID of the account to get policies, UserID of the account to get policies in UTF8 encoding The Password Server does not require authentication for this auth method. The first two fields are to cover us for future policy changes and to keep the buffer format as standardized as possible. kDSStdAuthGetPolicy "dsAuthMethodStandard:dsAuthGetPolicy" kDSStdAuthSetPolicy Discussion: The plug-in should determine which specific authentication method to use. The buffer is packed as follows: 4 byte length of authenticator's UserID, authenticator's UserID in UTF8 encoding, 4 byte length of authenticator's password, authenticator's password in UTF8 encoding 4 byte length of UserID of the account to set policies, UserID of the account to set policies in UTF8 encoding 4 byte length of policy data, policy data kDSStdAuthSetPolicy "dsAuthMethodStandard:dsAuthSetPolicy" kDSStdAuthGetGlobalPolicy "dsAuthMethodStandard:dsAuthGetGlobalPolicy" kDSStdAuthSetGlobalPolicy "dsAuthMethodStandard:dsAuthSetGlobalPolicy" kDSStdAuthGetUserName "dsAuthMethodStandard:dsAuthGetUserName" kDSStdAuthSetUserName "dsAuthMethodStandard:dsAuthSetUserName" kDSStdAuthGetUserData "dsAuthMethodStandard:dsAuthGetUserData" kDSStdAuthSetUserData "dsAuthMethodStandard:dsAuthSetUserData" kDSStdAuthDeleteUser "dsAuthMethodStandard:dsAuthDeleteUser" Users Distinguished or Real Name kDS1AttrDistinguishedName "dsAttrTypeStandard:RealName" kDS1AttrFirstName "dsAttrTypeStandard:FirstName" kDS1AttrMiddleName "dsAttrTypeStandard:MiddleName" kDS1AttrLastName "dsAttrTypeStandard:LastName" All possible names for a record kDSNAttrAllNames "dsAttrTypeStandard:AllNames" Set password methods kDSSetPasswdBestOf "dsSetPasswdBestOf" kDSNAttrAuthenticationAuthority Discussion: Determines what mechanism is used to verify or set a user's password. If multiple values are present, the first attributes returned take precedence. Typically found in User records (kDSStdRecordTypeUsers). kDSNAttrAuthenticationAuthority "dsAttrTypeStandard:AuthenticationAuthority" kDS1AttrPasswordPolicyOptions Discussion: Collection of password policy options in single attribute. Used in user presets record. kDS1AttrPasswordPolicyOptions "dsAttrTypeStandard:PasswordPolicyOptions" kDSValueDefaultAuthAuthority Discussion: The default value to use for the kDSNAttrAuthenticationAuthority attribute. When creating a user record, set this value for authentication authority before setting the password with dsDoDirNodeAuth. kDSValueAuthAuthorityDefault kDSValueAuthAuthorityShadowHash kDSValueAuthAuthorityBasic ";basic;" kDSTagAuthAuthorityBasic "basic" kDSValueAuthAuthorityLocalWindowsHash ";LocalWindowsHash;" kDSTagAuthAuthorityLocalWindowsHash "LocalWindowsHash" kDSValueAuthAuthorityShadowHash ";ShadowHash;" kDSTagAuthAuthorityShadowHash "ShadowHash" kDSTagAuthAuthorityBetterHashOnly "BetterHashOnly" kDSValueAuthAuthorityPasswordServerPrefix ";ApplePasswordServer;" kDSTagAuthAuthorityPasswordServer "ApplePasswordServer" kDSValueAuthAuthorityKerberosv5 ";Kerberosv5;" kDSTagAuthAuthorityKerberosv5 "Kerberosv5" kDSValueAuthAuthorityLocalCachedUser ";LocalCachedUser;" kDSTagAuthAuthorityLocalCachedUser "LocalCachedUser" Single Valued Attribute kDS1AttrPassword "dsAttrTypeStandard:Password" kDS1AttrPasswordPlus "dsAttrTypeStandard:PasswordPlus" kDS1AttrAuthenticationHint "dsAttrTypeStandard:AuthenticationHint" kDS1AttrInternetAlias "dsAttrTypeStandard:InetAlias" kDS1AttrNFSHomeDirectory "dsAttrTypeStandard:NFSHomeDirectory" kDS1AttrUniqueID "dsAttrTypeStandard:UniqueID" kDS1AttrPrimaryGroupID "dsAttrTypeStandard:PrimaryGroupID" kDS1AttrMailAttribute "dsAttrTypeStandard:MailAttribute" kDS1AttrComment "dsAttrTypeStandard:Comment" kDS1AttrRARA "dsAttrTypeStandard:RARA" kDS1AttrGeneratedUID "dsAttrTypeStandard:GeneratedUID" kDS1AttrAdminStatus "dsAttrTypeStandard:AdminStatus" kDS1AttrPwdAgingPolicy "dsAttrTypeStandard:PwdAgingPolicy" kDS1AttrUserShell "dsAttrTypeStandard:UserShell" kDS1AttrVFSType "dsAttrTypeStandard:VFSType" kDS1AttrVFSPassNo "dsAttrTypeStandard:VFSPassNo" kDS1AttrVFSDumpFreq "dsAttrTypeStandard:VFSDumpFreq" kDS1AttrVFSLinkDir "dsAttrTypeStandard:VFSLinkDir" kDS1AttrChange "dsAttrTypeStandard:Change" kDS1AttrExpire "dsAttrTypeStandard:Expire" kDSNAttrRecordAlias "dsAttrTypeStandard:RecordAlias" kDSNAttrGroupMembership "dsAttrTypeStandard:GroupMembership" kDSNAttrHomeDirectory "dsAttrTypeStandard:HomeDirectory" kDSNAttrKeywords "dsAttrTypeStandard:Keywords" kDS1AttrXMLPlist Discussion: SA config settings plist. kDS1AttrXMLPlist "dsAttrTypeStandard:XMLPlist" kDS1AttrHomeDirectoryQuota Discussion: Represents the allowed usage for a user's home directory in bytes. Found in user records (kDSStdRecordTypeUsers). kDS1AttrHomeDirectoryQuota "dsAttrTypeStandard:HomeDirectoryQuota" kDS1AttrHomeDirectorySoftQuota "dsAttrTypeStandard:HomeDirectorySoftQuota" kDS1AttrAdminLimits Discussion: XML plist indicating what an admin user can edit. Found in kDSStdRecordTypeUsers records. kDS1AttrAdminLimits "dsAttrTypeStandard:AdminLimits" kDS1AttrPresetUserIsAdmin Discussion: Flag to indicate whether users created from this preset are administrators by default. Found in kDSStdRecordTypePresetUsers records. kDS1AttrPresetUserIsAdmin "dsAttrTypeStandard:PresetUserIsAdmin" kDS1StandardAttrHomeLocOwnerkDS1AttrHomeLocOwner kDS1AttrHomeLocOwner Discussion: Represents the owner of a workgroup's shared home directory. Typically found in kDSStdRecordTypeGroups records. kDS1AttrHomeLocOwner "dsAttrTypeStandard:HomeLocOwner" kDSNAttrProtocols "dsAttrTypeStandard:Protocols" kDSNAttrVFSOpts "dsAttrTypeStandard:VFSOpts" kDS1AttrPasswordServerLocation Discussion: Specifies the IP address or domain name of the Password Server associated with a given directory node. Found in a config record named Pass- wordServer. kDS1AttrPasswordServerLocation "dsAttrTypeStandard:PasswordServerLocation" kDS1AttrPort Discussion: Represents the port number a service is available on. Typically found in service record types including kDSStdRecordTypeAFPServer, kDSSt- dRecordTypeLDAPServer, and kDSStdRecordTypeWebServer. kDS1AttrPort "dsAttrTypeStandard:Port" kDS1AttrLocation Discussion: Represents the location a service is available from (usually domain name). Typically found in service record types including kDSStdRecordTy- peAFPServer, kDSStdRecordTypeLDAPServer, and kDSStdRecordTypeWebServer. kDS1AttrLocation "dsAttrTypeStandard:Location" kDS1AttrServiceType Discussion: Represents the service type for the service. This is the raw service type of the service. For example a service record type of kDSSt- dRecordTypeWebServer might have a service type of "http" or "https". kDS1AttrServiceType "dsAttrTypeStandard:ServiceType" kDS1AttrPicture Discussion: Represents the path of the picture for each user displayed in the login window. Found in user records (kDSStdRecordTypeUsers). kDS1AttrPicture "dsAttrTypeStandard:Picture" Mutivalued meta attribute data kDSNAttrMetaNodeLocation "dsAttrTypeStandard:AppleMetaNodeLocation" kStandardTargetAlias "dsAttrTypeStandard:AppleMetaAliasTarget" kStandardSourceAlias "dsAttrTypeStandard:AppleMetaAliasSource" kDS1AttrAliasData "dsAttrTypeStandard:AppleAliasData" Single Valued - checksum/meta data kDS1AttrDataStamp "dsAttrTypeStandard:DataStamp" kDS1AttrTotalSize "dsAttrTypeStandard:TotalSize" Single Valued - data of Create, Modify, Backup time in UTC kDS1AttrTimePackage "dsAttrTypeStandard:TimePackage" Single Valued - alias attribute, contain pointer to another node/record/attribute kDS1AttrAlias "dsAttrTypeStandard:Alias" Single valued - used to get a "auth" credential, to be used to authenticate to other Directory nodes. kDS1AttrAuthCredential "dsAttrTypeStandard:AuthCredential" Single valued - Note attribute. Commonly used in printer records. kDS1AttrNote "dsAttrTypeStandard:Note" 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 Specifi- cation RFC and IETF IPP-LDAP Printer Record. kDS1AttrPrinterMakeAndModel "dsAttrTypeStandard:PrinterMakeAndModel" 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. kDS1AttrPrinterURI "dsAttrTypeStandard:PrinterURI" 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. kDSNAttrPrinterXRISupported "dsAttrTypeStandard:PrinterXRISupported" Single-valued attribute that defines the IEEE 1284 DeviceID of a printer. This is used when configuring a printer. kDS1AttrPrinter1284DeviceID "dsAttrTypeStandard:Printer1284DeviceID" Single valued - DNS Resolver domain attribute. kDS1AttrDNSDomain "dsAttrTypeStandard:DNSDomain" Single valued - DNS Resolver nameserver attribute. kDS1AttrDNSNameServer "dsAttrTypeStandard:DNSNameServer" KDC master key RSA encrypted with realm public key. kDSNAttrKDCAuthKey "dsAttrTypeStandard:KDCAuthKey" Contents of the kdc.conf file. kDS1AttrKDCConfigData "dsAttrTypeStandard:KDCConfigData" Used with directory nodes so that clients can discover the API capabilities for this Directory Node. kDS1AttrCapabilities "dsAttrTypeStandard:Capabilities" 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 kDS1AttrReadOnlyNode "dsAttrTypeStandard:ReadOnlyNode" used with Search Node to "discover" the search path for this node kDS1AttrSearchPath "dsAttrTypeStandard:SearchPath" kDSNAttrSearchPath "dsAttrTypeStandard:SearchPath" used with Search Node to "discover" the search policy for this node kDS1AttrSearchPolicy "dsAttrTypeStandard:SearchPolicy" used with Search Node to "discover" the possible search paths for this node kDS1AttrNSPSearchPath "dsAttrTypeStandard:NSPSearchPath" kDSNAttrNSPSearchPath "dsAttrTypeStandard:NSPSearchPath" kDS1AttrLSPSearchPath "dsAttrTypeStandard:LSPSearchPath" kDSNAttrLSPSearchPath "dsAttrTypeStandard:LSPSearchPath" kDS1AttrCSPSearchPath "dsAttrTypeStandard:CSPSearchPath" kDSNAttrCSPSearchPath "dsAttrTypeStandard:CSPSearchPath" force the directory service to generate a binary image of the record and all it's attributes. kDS1AttrRecordImage "dsAttrTypeStandard:RecordImage" Information (version, signature, about, credits..ect.) about the plug-in that is actually servicing a particular directory node. kDSNAttrPlugInInfo "dsAttrTypeStandard:PlugInInfo" Multivalued Attribute, list of names/keys for this record kDSNAttrRecordName "dsAttrTypeStandard:RecordName" Multivalued - list of attribute types kDSNAttrSchema "dsAttrTypeStandard:Scheama" Single Valued for a Record, Multi-valued for a Directory Node kDSNAttrRecordType "dsAttrTypeStandard:RecordType" kDSNAttrNodePath "dsAttrTypeStandard:NodePath" kDSNAttrAuthMethod "dsAttrTypeStandard:AuthMethod" kDSNAttrSetPasswdMethod "dsAttrTypeStandard:SetPasswdMethod" // Multivalued - list of group records kDSNAttrGroup "dsAttrTypeStandard:Group" Multivalued - list of member records kDSNAttrMember "dsAttrTypeStandard:Member" kDSNAttrURL "dsAttrTypeStandard:URL" data contained in this attribute type is a fully qualified MIME Type. kDSNAttrMIME "dsAttrTypeStandard:MIME" kDSNAttrHTML "dsAttrTypeStandard:HTML" kDSNAttrNBPEntry "dsAttrTypeStandard:NBPEntry" kDSNAttrDNSName "dsAttrTypeStandard:DNSName" kDSNAttrIPAddress "dsAttrTypeStandard:IPAddress" kDS1AttrENetAddress Discussion: Single-valued attribute for hardware Ethernet address (MAC address). Found in machine records (kDSStdRecordTypeMachines) and computer records (kDSStdRecordTypeComputers). kDS1AttrENetAddress "dsAttrTypeStandard:ENetAddress" kDSNAttrBootParams Discussion: Attribute type in host or machine records for storing boot params. kDSNAttrBootParams "dsAttrTypeStandard:BootParams" kDSNAttrNetGroups Discussion: Attribute type that indicates which netgroups its record is a member of. Found in user, host, and netdomain records. kDSNAttrNetGroups "dsAttrTypeStandard:NetGroups".Pp kDSNAttrPGPPublicKey "dsAttrTypeStandard:PGPPublicKey" kDSNAttrEMailAddress "dsAttrTypeStandard:EMailAddress" kDSNAttrAreaCode "dsAttrTypeStandard:AreaCode" kDSNAttrPhoneNumber "dsAttrTypeStandard:PhoneNumber" kDSNAttrPostalAddress "dsAttrTypeStandard:PostalAddress" kDSNAttrOrganizationName "dsAttrTypeStandard:OrganizationName" kDSNAttrAddressLine1 "dsAttrTypeStandard:AddressLine1" kDSNAttrAddressLine2 "dsAttrTypeStandard:AddressLine2" kDSNAttrAddressLine3 "dsAttrTypeStandard:AddressLine3" kDSNAttrCity "dsAttrTypeStandard:City" kDSNAttrState "dsAttrTypeStandard:State" kDSNAttrPostalCode "dsAttrTypeStandard:PostalCode" used for Setup Assistant automatic population kDS1AttrSetupOccupation "dsAttrTypeStandard:Occupation" kDS1AttrSetupLocation "dsAttrTypeStandard:SetupAssistantLocation" kDS1AttrSetupAdvertising "dsAttrTypeStandard:SetupAssistantAdvertising" kDS1AttrSetupAutoRegister "dsAttrTypeStandard:SetupAssistantAutoRegister" kDS1AttrMCXSettings "dsAttrTypeStandard:MCXSettings" kDSNAttrMCXSettings "dsAttrTypeStandard:MCXSettings" kDS1AttrMCXFlags "dsAttrTypeStandard:MCXFlags" kDSNAttrComputers "dsAttrTypeStandard:Computers" Print kDS1AttrPrintServiceInfoXML "dsAttrTypeStandard:PrintServiceInfoXML" kDS1AttrPrintServiceInfoText "dsAttrTypeStandard:PrintServiceInfoText" kDS1AttrPrintServiceUserData Discussion: Single-valued attribute for print quota configuration or statistics (XML data). Found in user records (kDSStdRecordTypeUsers) or print ser- vice statistics records (kDSStdRecordTypePrintServiceUser). kDS1AttrPrintServiceUserData "dsAttrTypeStandard:PrintServiceUserData" kDSStdNotifyxxxxx Discussion: Notification tags that can be registered for with SystemConfiguration to receive notifications of events occur- ing in the DirectoryService daemon on the local machine. kDSStdNotifyTypePrefix "com.apple.DirectoryService.NotifyTypeStandard:" kDSStdNotifySearchPolicyChanged "com.apple.DirectoryService.NotifyTypeStandard:SearchPolicyChanged" kDSStdNotifyDirectoryNodeAdded "com.apple.DirectoryService.NotifyTypeStandard:DirectoryNodeAdded" kDSStdNotifyDirectoryNodeDeleted "com.apple.DirectoryService.NotifyTypeStandard:DirectoryNodeDeleted" SEE ALSO
DirectoryService(8) dscl(1) MacOSX Feb 21, 2003 MacOSX
Man Page

Featured Tech Videos