Active Directory
com.apple.DirectoryService.managed
The payload that configures an Active Directory (AD) domain.
macOS: device channel only
Configuration Keys (39)
Showing 39 of 39 keys
| Key | Type | Description | Default | Range |
|---|---|---|---|---|
| string | The Active Directory domain to join. | Default: — | Range: — | |
UserNamestringUserName | string | The user name of the account for the domain. | Default: — | Range: — |
PasswordstringPassword | string | The password of the account for the domain. | Default: — | Range: — |
ClientIDstringClient ID | string | The client's identifier. | Default: — | Range: — |
ADOrganizationalUnitstringADOrganizationalUnit | string | The organizational unit to add the joining computer object to. | Default: — | Range: — |
| boolean | If 'true', the system enables the 'ADCreateMobileAccountAtLogin' key. | Default: false | Range: — | |
ADCreateMobileAccountAtLoginbooleanCreate mobile account at login | boolean | If 'true', the system creates a mobile account at login. Depends on: ADCreateMobileAccountAtLoginFlag ∈ [true] | Default: false | Range: — |
| boolean | If 'true', the system enables the 'ADWarnUserBeforeCreatingMA' key. | Default: false | Range: — | |
ADWarnUserBeforeCreatingMAbooleanRequire confirmation before creating mobile account | boolean | If 'true', the system enables the warning before creating the mobile account. Depends on: ADWarnUserBeforeCreatingMAFlag ∈ [true] | Default: false | Range: — |
| boolean | If 'true', the system enables the 'ADForceHomeLocal' key. | Default: false | Range: — | |
ADForceHomeLocalbooleanForce local home directory on startup disk | boolean | If 'true', the system forces a local home directory. Depends on: ADForceHomeLocalFlag ∈ [true] | Default: false | Range: — |
| boolean | If 'true', the system enables the 'ADUseWindowsUNCPath' key. | Default: false | Range: — | |
ADUseWindowsUNCPathbooleanUse UNC path for network home location | boolean | If 'true', the system uses the UNC path from Active Directory to derive the network home location. Depends on: ADUseWindowsUNCPathFlag ∈ [true] | Default: false | Range: — |
ADMountStylestringMount Style | string | The network home protocol to use: 'afp' or 'smb'. | Default: "smb" | Range: AFP (afp), SMB (smb) |
ADDefaultUserShellFlagbooleanEnable ADDefaultUserShell Key | boolean | If 'true', the system enables the 'ADDefaultUserShell' key. | Default: false | Range: — |
ADDefaultUserShellstringDefault user shell | string | The default user shell. Depends on: ADDefaultUserShellFlag ∈ [true] | Default: "/bin/bash" | Range: — |
ADMapUIDAttributeFlagbooleanEnable ADMapUIDAttribute Key | boolean | If 'true', the system enables the 'ADMapUIDAttribute' key. | Default: false | Range: — |
ADMapUIDAttributestringMap UID to attribute | string | The map UID to attribute. Depends on: ADMapUIDAttributeFlag ∈ [true] | Default: — | Range: — |
ADMapGIDAttributeFlagbooleanEnable ADMapGIDAttribute Key | boolean | If 'true', the system enables the 'ADMapGIDAttribute' key. | Default: false | Range: — |
ADMapGIDAttributestringMap user GID to attribute | string | The map GID to attribute. Depends on: ADMapGIDAttributeFlag ∈ [true] | Default: — | Range: — |
ADMapGGIDAttributeFlagbooleanEnable ADMapGGIDAttribute Key | boolean | If 'true', the system enables the 'ADMapGGIDAttributeFlag' key. | Default: false | Range: — |
ADMapGGIDAttributestringMap group GID to attribute | string | The map group GID to attribute. Depends on: ADMapGGIDAttributeFlag ∈ [true] | Default: — | Range: — |
ADPreferredDCServerFlagbooleanEnable ADPreferredDCServer Key | boolean | If 'true', the system enables the 'ADPreferredDCServer' key. | Default: false | Range: — |
ADPreferredDCServerstringPreferred domain server | string | The preferred domain server. Depends on: ADPreferredDCServerFlag ∈ [true] | Default: — | Range: — |
ADDomainAdminGroupListFlagbooleanEnable ADDomainAdminGroupList Key | boolean | If 'true', the system enables the 'ADDomainAdminGroupList' key. | Default: false | Range: — |
Allow administration by specified Active Directory groups. | array | The list of Active Directory groups with admin access. Depends on: ADDomainAdminGroupListFlag ∈ [true] | Default: — | Range: — |
| string | An active directory group | Default: — | Range: — | |
| boolean | If 'true', the system enables the 'ADAllowMultiDomainAuth' key. | Default: false | Range: — | |
ADAllowMultiDomainAuthbooleanAllow authentication from any domain in the forest | boolean | If 'true', the system allows authentication from any domain in the namespace. Depends on: ADAllowMultiDomainAuthFlag ∈ [true] | Default: false | Range: — |
ADNamespaceFlagbooleanEnable ADNamespace Key | boolean | If 'true', the system enables the 'ADNamespace' key. | Default: false | Range: — |
ADNamespacestringSet primary user account naming convention: "forest" or "domain" | string | The primary user account naming convention; either 'forest' or 'domain'. Depends on: ADNamespaceFlag ∈ [true] | Default: "domain" | Range: domain, forest |
| boolean | If 'true', the system enables the 'ADPacketSign' key. | Default: false | Range: — | |
ADPacketSignstringPacket signing | string | The packet signing policy. Depends on: ADPacketSignFlag ∈ [true] | Default: "allow" | Range: allow, disable, require |
ADPacketEncryptFlagbooleanEnable ADPacketEncrypt Key | boolean | If 'true', the system enables the 'ADPacketEncrypt' key. | Default: false | Range: — |
ADPacketEncryptstringPacket encryption | string | The packet encryption policy. Depends on: ADPacketEncryptFlag ∈ [true] | Default: "allow" | Range: allow, disable, require, ssl |
ADRestrictDDNSFlagbooleanEnable ADRestrictDDNS Key | boolean | If 'true', the system enables the 'ADRestrictDDNS' key. | Default: false | Range: — |
| array | An array of strings that represent the interfaces allowed for dynamic DNS updates, such as en0 and en1. Depends on: ADRestrictDDNSFlag ∈ [true] | Default: — | Range: — | |
| string | An interface name which is allowed to make DDNS updates | Default: — | Range: — | |
Enable ADTrustChangePassIntervalDays Key | boolean | If 'true', the system enables the 'ADTrustChangePassIntervalDays' key. | Default: false | Range: — |
Password trust interval | integer | The number of days before requiring a change of the computer trust account password. Set to '0' to disable the feature. Depends on: ADTrustChangePassIntervalDaysFlag ∈ [true] | Default: 14 | Range: — |
DescriptionstringDescription | string | The directory service description. | Default: — | Range: — |