title: Directory Service description: Directory Service payload: payloadtype: com.apple.DirectoryService.managed supportedOS: macOS: introduced: '10.8' multiple: true devicechannel: true userchannel: false requiresdep: false userapprovedmdm: false allowmanualinstall: true userenrollment: mode: allowed content: In macOS 10.9 and later, a configuration profile can be used to configure macOS to join an Active Directory (AD) domain. Advanced AD options available via Directory Utility or the dsconfigad command line tool can also be set using a configuration profile. payloadkeys: - key: HostName title: HostName type: presence: required content: The Active Directory domain to join. - key: UserName title: UserName type: presence: optional content: The user name of the account for the domain. - key: Password title: Password type: presence: optional content: The password of the account for the domain. - key: ClientID title: Client ID type: presence: optional content: The client's identifier. - key: Description title: Description type: presence: optional content: The directory service description. - key: ADOrganizationalUnit title: ADOrganizationalUnit type: presence: optional content: The organizational unit where the joining computer object is added. - key: ADMountStyle title: ADMountStyle type: presence: optional content: 'The network home protocol to use: ''afp'' or ''smb''.' - key: ADCreateMobileAccountAtLoginFlag title: ADCreateMobileAccountAtLoginFlag supportedOS: macOS: introduced: '10.9' type: presence: optional default: false content: If 'true', enables the 'ADCreateMobileAccountAtLogin' key. - key: ADCreateMobileAccountAtLogin title: ADCreateMobileAccountAtLogin type: presence: optional default: false content: If 'true', creates a mobile account at login. - key: ADWarnUserBeforeCreatingMAFlag title: ADWarnUserBeforeCreatingMAFlag supportedOS: macOS: introduced: '10.9' type: presence: optional default: false content: If 'true', enables the 'ADWarnUserBeforeCreatingMA' key. - key: ADWarnUserBeforeCreatingMA title: ADWarnUserBeforeCreatingMA type: presence: optional default: false content: If 'true', enables the warning before creating the mobile account. - key: ADForceHomeLocalFlag title: ADForceHomeLocalFlag supportedOS: macOS: introduced: '10.9' type: presence: optional default: false content: If 'true', enables the 'ADForceHomeLocal' key. - key: ADForceHomeLocal title: ADForceHomeLocal type: presence: optional default: false content: If 'true', forces a local home directory. - key: ADUseWindowsUNCPathFlag title: ADUseWindowsUNCPathFlag supportedOS: macOS: introduced: '10.9' type: presence: optional default: false content: If 'true', enables the 'ADUseWindowsUNCPath' key. - key: ADUseWindowsUNCPath title: ADUseWindowsUNCPath type: presence: optional default: false content: If 'true', uses the UNC path from Active Directory to derive the network home location. - key: ADAllowMultiDomainAuthFlag title: ADAllowMultiDomainAuthFlag supportedOS: macOS: introduced: '10.9' type: presence: optional default: false content: If 'true', enables the 'ADAllowMultiDomainAuth' key. - key: ADAllowMultiDomainAuth title: ADAllowMultiDomainAuth type: presence: optional default: false content: If 'true', allows authentication from any domain in the namespace. - key: ADDefaultUserShellFlag title: ADDefaultUserShellFlag type: presence: optional default: false content: If 'true', enables the 'ADDefaultUserShell' key. - key: ADDefaultUserShell title: ADDefaultUserShell type: presence: optional content: The default user shell. - key: ADMapUIDAttributeFlag title: ADMapUIDAttributeFlag type: presence: optional default: false content: If 'true', enables the 'ADMapUIDAttribute' key. - key: ADMapUIDAttribute title: ADMapUIDAttribute type: presence: optional content: The map UID to attribute. - key: ADMapGIDAttributeFlag title: ADMapGIDAttributeFlag type: presence: optional default: false content: If 'true', enables the 'ADMapGIDAttribute' key. - key: ADMapGIDAttribute title: ADMapGIDAttribute type: presence: optional content: The map GID to attribute. - key: ADMapGGIDAttributeFlag title: ADMapGGIDAttributeFlag type: presence: optional default: false content: If 'true', enables the 'ADMapGGIDAttributeFlag' key. - key: ADMapGGIDAttribute title: ADMapGGIDAttribute type: presence: optional content: The map group GID to attribute. - key: ADPreferredDCServerFlag title: ADPreferredDCServerFlag type: presence: optional default: false content: If 'true', enables the 'ADPreferredDCServer' key. - key: ADPreferredDCServer title: ADPreferredDCServer type: presence: optional content: The preferred domain server. - key: ADDomainAdminGroupListFlag title: ADDomainAdminGroupListFlag type: presence: optional default: false content: If 'true', enables the 'ADDomainAdminGroupList' key. - key: ADDomainAdminGroupList title: ADDomainAdminGroupList type: presence: optional content: The list of Active Directory groups that are granted admin access. subkeys: - key: ADDomainAdminGroupListItem type: - key: ADNamespaceFlag title: ADNamespaceFlag type: presence: optional default: false content: If 'true', enables the 'ADNamespace' key. - key: ADNamespace title: ADNamespace type: presence: optional content: The primary user account naming convention; either 'forest' or 'domain'. - key: ADPacketSignFlag title: ADPacketSignFlag supportedOS: macOS: introduced: '10.8' type: presence: optional default: false content: If 'true', enables the 'ADPacketSign' key. - key: ADPacketSign title: ADPacketSign type: presence: optional content: The packet signing policy. - key: ADPacketEncryptFlag title: ADPacketEncryptFlag type: presence: optional default: false content: If 'true', enables the 'ADPacketEncrypt' key. - key: ADPacketEncrypt title: ADPacketEncrypt type: presence: optional content: The packet encryption policy. - key: ADRestrictDDNSFlag title: ADRestrictDDNSFlag type: presence: optional default: false content: If 'true', enables the 'ADRestrictDDNS' key. - key: ADRestrictDDNS title: ADRestrictDDNS supportedOS: macOS: introduced: '10.8' type: presence: optional content: An array of strings representing the interfaces that are allowed for dynamic DNS updates (for example, en0, en1, and so on). subkeys: - key: ADRestrictDDNSItem type: - key: ADTrustChangePassIntervalDaysFlag title: ADTrustChangePassIntervalDaysFlag type: presence: optional default: false content: If true, enables the 'ADTrustChangePassIntervalDays 'key. - key: ADTrustChangePassIntervalDays title: ADTrustChangePassIntervalDays type: presence: optional content: The number of days before requiring a change of the computer trust account password. '0' disables the feature.