<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "OpenDirectory",
  "identifier" : "/documentation/OpenDirectory/ODFrameworkErrors",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Open Directory"
    ],
    "preciseIdentifier" : "c:@E@ODFrameworkErrors"
  },
  "title" : "ODFrameworkErrors"
}
-->

# ODFrameworkErrors

```
struct ODFrameworkErrors
```

## Topics

### Constants

[`kODErrorCredentialsAccountDisabled`](/documentation/OpenDirectory/kODErrorCredentialsAccountDisabled)

The account is disabled.

[`kODErrorCredentialsAccountExpired`](/documentation/OpenDirectory/kODErrorCredentialsAccountExpired)

The account is expired.

[`kODErrorCredentialsAccountInactive`](/documentation/OpenDirectory/kODErrorCredentialsAccountInactive)

The account is inactive.

[`kODErrorCredentialsAccountNotFound`](/documentation/OpenDirectory/kODErrorCredentialsAccountNotFound)

The authentication server could not find the provided account.

[`kODErrorCredentialsContactMaster`](/documentation/OpenDirectory/ODFrameworkErrors/kODErrorCredentialsContactMaster)

The authentication server contacted is not the primary server, and the requested operation requires the primary server.

[`kODErrorCredentialsInvalid`](/documentation/OpenDirectory/kODErrorCredentialsInvalid)

The provided credentials are invalid with the current node.

[`kODErrorCredentialsInvalidComputer`](/documentation/OpenDirectory/kODErrorCredentialsInvalidComputer)

The account is not permitted to log into this computer.

[`kODErrorCredentialsInvalidLogonHours`](/documentation/OpenDirectory/kODErrorCredentialsInvalidLogonHours)

The logon attempt was not within set logon hours.

[`kODErrorCredentialsMethodNotSupported`](/documentation/OpenDirectory/kODErrorCredentialsMethodNotSupported)

The extended authentication method is not supported.

[`kODErrorCredentialsNotAuthorized`](/documentation/OpenDirectory/kODErrorCredentialsNotAuthorized)

The operation, such as changing a password, is not permitted with current privileges.

[`kODErrorCredentialsOperationFailed`](/documentation/OpenDirectory/kODErrorCredentialsOperationFailed)

The requested operation failed.

[`kODErrorCredentialsParameterError`](/documentation/OpenDirectory/kODErrorCredentialsParameterError)

An invalid parameter was provided.

[`kODErrorCredentialsPasswordChangeRequired`](/documentation/OpenDirectory/kODErrorCredentialsPasswordChangeRequired)

The password must be changed.

[`kODErrorCredentialsPasswordChangeTooSoon`](/documentation/OpenDirectory/kODErrorCredentialsPasswordChangeTooSoon)

The password was changed too recently to be changed again.

[`kODErrorCredentialsPasswordExpired`](/documentation/OpenDirectory/kODErrorCredentialsPasswordExpired)

The password has expired and must be changed.

[`kODErrorCredentialsPasswordNeedsDigit`](/documentation/OpenDirectory/kODErrorCredentialsPasswordNeedsDigit)

The provided password needs at least one digit.

[`kODErrorCredentialsPasswordNeedsLetter`](/documentation/OpenDirectory/kODErrorCredentialsPasswordNeedsLetter)

The provided password needs at least one letter.

[`kODErrorCredentialsPasswordQualityFailed`](/documentation/OpenDirectory/kODErrorCredentialsPasswordQualityFailed)

The provided password did not meet minimum quality requirements.

[`kODErrorCredentialsPasswordTooLong`](/documentation/OpenDirectory/kODErrorCredentialsPasswordTooLong)

The provided password is too long.

[`kODErrorCredentialsPasswordTooShort`](/documentation/OpenDirectory/kODErrorCredentialsPasswordTooShort)

The provided password is too short.

[`kODErrorCredentialsPasswordUnrecoverable`](/documentation/OpenDirectory/kODErrorCredentialsPasswordUnrecoverable)

The password could not be recovered from the authentication database.

[`kODErrorCredentialsServerCommunicationError`](/documentation/OpenDirectory/kODErrorCredentialsServerCommunicationError)

The authentication server encountered a communication error.

[`kODErrorCredentialsServerError`](/documentation/OpenDirectory/kODErrorCredentialsServerError)

The authentication server encountered an error.

[`kODErrorCredentialsServerNotFound`](/documentation/OpenDirectory/kODErrorCredentialsServerNotFound)

The authentication server could not be found.

[`kODErrorCredentialsServerTimeout`](/documentation/OpenDirectory/kODErrorCredentialsServerTimeout)

The authentication server timed out.

[`kODErrorCredentialsServerUnreachable`](/documentation/OpenDirectory/kODErrorCredentialsServerUnreachable)

The authentication server could not be reached.

[`kODErrorDaemonError`](/documentation/OpenDirectory/kODErrorDaemonError)

The daemon has encountered an undefined error.

[`kODErrorNodeConnectionFailed`](/documentation/OpenDirectory/kODErrorNodeConnectionFailed)

The node connection failed.

[`kODErrorNodeDisabled`](/documentation/OpenDirectory/kODErrorNodeDisabled)

[`kODErrorNodeUnknownHost`](/documentation/OpenDirectory/kODErrorNodeUnknownHost)

The host provided is invalid.

[`kODErrorNodeUnknownName`](/documentation/OpenDirectory/kODErrorNodeUnknownName)

The node name provided does not exist and cannot be opened.

[`kODErrorNodeUnknownType`](/documentation/OpenDirectory/kODErrorNodeUnknownType)

The node type provided is not a known value.

[`kODErrorPluginError`](/documentation/OpenDirectory/kODErrorPluginError)

A plug-in has encountered an undefined error.

[`kODErrorPluginOperationNotSupported`](/documentation/OpenDirectory/kODErrorPluginOperationNotSupported)

The plug-in does not support the requested operation.

[`kODErrorPluginOperationTimeout`](/documentation/OpenDirectory/kODErrorPluginOperationTimeout)

[`kODErrorPolicyOutOfRange`](/documentation/OpenDirectory/kODErrorPolicyOutOfRange)

[`kODErrorPolicyUnsupported`](/documentation/OpenDirectory/kODErrorPolicyUnsupported)

[`kODErrorQueryInvalidMatchType`](/documentation/OpenDirectory/kODErrorQueryInvalidMatchType)

An invalid match type was provided in the query.

[`kODErrorQuerySynchronize`](/documentation/OpenDirectory/kODErrorQuerySynchronize)

A query synchronization has been initiated.

[`kODErrorQueryTimeout`](/documentation/OpenDirectory/kODErrorQueryTimeout)

The query timed out.

[`kODErrorQueryUnsupportedMatchType`](/documentation/OpenDirectory/kODErrorQueryUnsupportedMatchType)

An unsupported match type was provided in the query.

[`kODErrorRecordAlreadyExists`](/documentation/OpenDirectory/kODErrorRecordAlreadyExists)

The record create failed because the record already exists.

[`kODErrorRecordAttributeNotFound`](/documentation/OpenDirectory/kODErrorRecordAttributeNotFound)

The requested attribute could not be found in the record.

[`kODErrorRecordAttributeUnknownType`](/documentation/OpenDirectory/kODErrorRecordAttributeUnknownType)

The attribute type is unknown.

[`kODErrorRecordAttributeValueNotFound`](/documentation/OpenDirectory/kODErrorRecordAttributeValueNotFound)

The requested attribute value could not be found in the record.

[`kODErrorRecordAttributeValueSchemaError`](/documentation/OpenDirectory/kODErrorRecordAttributeValueSchemaError)

The attribute value does not meet schema requirements.

[`kODErrorRecordInvalidType`](/documentation/OpenDirectory/kODErrorRecordInvalidType)

[`kODErrorRecordNoLongerExists`](/documentation/OpenDirectory/kODErrorRecordNoLongerExists)

[`kODErrorRecordParameterError`](/documentation/OpenDirectory/kODErrorRecordParameterError)

An invalid parameter was provided.

[`kODErrorRecordPermissionError`](/documentation/OpenDirectory/kODErrorRecordPermissionError)

The changes were denied due to insufficient permissions.

[`kODErrorRecordReadOnlyNode`](/documentation/OpenDirectory/kODErrorRecordReadOnlyNode)

The record cannot be modified.

[`kODErrorRecordTypeDisabled`](/documentation/OpenDirectory/kODErrorRecordTypeDisabled)

The record type is disabled by policy for a plug-in.

[`kODErrorSessionDaemonNotRunning`](/documentation/OpenDirectory/kODErrorSessionDaemonNotRunning)

The daemon is not running.

[`kODErrorSessionDaemonRefused`](/documentation/OpenDirectory/kODErrorSessionDaemonRefused)

The daemon refused the session.

[`kODErrorSessionLocalOnlyDaemonInUse`](/documentation/OpenDirectory/kODErrorSessionLocalOnlyDaemonInUse)

A normal request was issued when the local-only daemon was in use.

[`kODErrorSessionNormalDaemonInUse`](/documentation/OpenDirectory/kODErrorSessionNormalDaemonInUse)

A local-only request was issued when the normal daemon was in use.

[`kODErrorSessionProxyCommunicationError`](/documentation/OpenDirectory/kODErrorSessionProxyCommunicationError)

There was a communication error with the remote daemon.

[`kODErrorSessionProxyIPUnreachable`](/documentation/OpenDirectory/kODErrorSessionProxyIPUnreachable)

The proxy did not respond.

[`kODErrorSessionProxyUnknownHost`](/documentation/OpenDirectory/kODErrorSessionProxyUnknownHost)

The proxy could not be resolved.

[`kODErrorSessionProxyVersionMismatch`](/documentation/OpenDirectory/kODErrorSessionProxyVersionMismatch)

Versions mismatch between the remote daemon and the local framework.

[`kODErrorSuccess`](/documentation/OpenDirectory/kODErrorSuccess)

[`kODErrorCredentialsAccountLocked`](/documentation/OpenDirectory/kODErrorCredentialsAccountLocked)

[`kODErrorCredentialsAccountTemporarilyLocked`](/documentation/OpenDirectory/kODErrorCredentialsAccountTemporarilyLocked)

[`kODErrorCredentialsContactPrimary`](/documentation/OpenDirectory/kODErrorCredentialsContactPrimary)

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)