ldap3.core.exceptions module

exception ldap3.core.exceptions.LDAPAdminLimitExceededResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPAffectMultipleDSASResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPAliasDereferencingProblemResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPAliasProblemResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPAssertionFailedResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPAttributeError

Bases: ldap3.core.exceptions.LDAPExceptionError, ValueError, TypeError

exception ldap3.core.exceptions.LDAPAttributeOrValueExistsResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPAuthMethodNotSupportedResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPAuthorizationDeniedResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPBindError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPBusyResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPCanceledResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPCannotCancelResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPCertificateError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPChangeError

Bases: ldap3.core.exceptions.LDAPExceptionError, ValueError

exception ldap3.core.exceptions.LDAPCommunicationError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPConfidentialityRequiredResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPConfigurationError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPConfigurationParameterError

Bases: ldap3.core.exceptions.LDAPConfigurationError

exception ldap3.core.exceptions.LDAPConnectionIsReadOnlyError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPConnectionPoolNameIsMandatoryError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPConnectionPoolNotStartedError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPConstraintViolationResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPControlError

Bases: ldap3.core.exceptions.LDAPExceptionError, ValueError

exception ldap3.core.exceptions.LDAPCursorError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPDefinitionError

Bases: ldap3.core.exceptions.LDAPConfigurationError

exception ldap3.core.exceptions.LDAPESyncRefreshRequiredResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPEntryAlreadyExistsResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPException

Bases: Exception

exception ldap3.core.exceptions.LDAPExceptionError

Bases: ldap3.core.exceptions.LDAPException

exception ldap3.core.exceptions.LDAPExtensionError

Bases: ldap3.core.exceptions.LDAPExceptionError, ValueError

exception ldap3.core.exceptions.LDAPInappropriateAuthenticationResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPInappropriateMatchingResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPInsufficientAccessRightsResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPInvalidAttributeSyntaxResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPInvalidCredentialsResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPInvalidDNSyntaxResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPInvalidDereferenceAliasesError

Bases: ldap3.core.exceptions.LDAPExceptionError, ValueError

exception ldap3.core.exceptions.LDAPInvalidDnError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPInvalidFilterError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPInvalidHashAlgorithmError

Bases: ldap3.core.exceptions.LDAPExceptionError, ValueError

exception ldap3.core.exceptions.LDAPInvalidPortError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPInvalidScopeError

Bases: ldap3.core.exceptions.LDAPExceptionError, ValueError

exception ldap3.core.exceptions.LDAPInvalidServerError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPInvalidTlsSpecificationError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPInvalidValueError

Bases: ldap3.core.exceptions.LDAPExceptionError, ValueError

exception ldap3.core.exceptions.LDAPKeyError

Bases: ldap3.core.exceptions.LDAPExceptionError, KeyError, AttributeError

exception ldap3.core.exceptions.LDAPLCUPInvalidDataResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPLCUPReloadRequiredResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPLCUPResourcesExhaustedResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPLCUPSecurityViolationResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPLCUPUnsupportedSchemeResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPLDIFError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPLoopDetectedResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPMaximumRetriesError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPMetricsError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPNamingViolationResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPNoSuchAttributeResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPNoSuchObjectResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPNoSuchOperationResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPNotAllowedOnNotLeafResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPNotAllowedOnRDNResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPObjectClassError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPObjectClassModsProhibitedResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPObjectClassViolationResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPObjectDereferenceError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPObjectError

Bases: ldap3.core.exceptions.LDAPExceptionError, ValueError

exception ldap3.core.exceptions.LDAPOperationResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPException

exception ldap3.core.exceptions.LDAPOperationsErrorResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPOtherResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPPackageUnavailableError

Bases: ldap3.core.exceptions.LDAPConfigurationError, ImportError

exception ldap3.core.exceptions.LDAPPasswordIsMandatoryError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPProtocolErrorResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPReferralError

Bases: ldap3.core.exceptions.LDAPCommunicationError

exception ldap3.core.exceptions.LDAPReferralResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPResponseTimeoutError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPSASLBindInProgressError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPSASLBindInProgressResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPSASLMechanismNotSupportedError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPSASLPrepError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPSSLConfigurationError

Bases: ldap3.core.exceptions.LDAPConfigurationError

exception ldap3.core.exceptions.LDAPSSLNotSupportedError

Bases: ldap3.core.exceptions.LDAPExceptionError, ImportError

exception ldap3.core.exceptions.LDAPSchemaError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPServerPoolError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPServerPoolExhaustedError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPSessionTerminatedByServerError

Bases: ldap3.core.exceptions.LDAPCommunicationError

exception ldap3.core.exceptions.LDAPSizeLimitExceededResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPSocketCloseError

Bases: ldap3.core.exceptions.LDAPCommunicationError

exception ldap3.core.exceptions.LDAPSocketOpenError

Bases: ldap3.core.exceptions.LDAPCommunicationError

exception ldap3.core.exceptions.LDAPSocketReceiveError

Bases: ldap3.core.exceptions.LDAPCommunicationError, OSError

exception ldap3.core.exceptions.LDAPSocketSendError

Bases: ldap3.core.exceptions.LDAPCommunicationError, OSError

exception ldap3.core.exceptions.LDAPStartTLSError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPStrongerAuthRequiredResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPTimeLimitExceededResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPTooLateResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPTransactionError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPUnavailableCriticalExtensionResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPUnavailableResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPUndefinedAttributeTypeResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPUnknownAuthenticationMethodError

Bases: ldap3.core.exceptions.LDAPConfigurationError

exception ldap3.core.exceptions.LDAPUnknownRequestError

Bases: ldap3.core.exceptions.LDAPCommunicationError

exception ldap3.core.exceptions.LDAPUnknownResponseError

Bases: ldap3.core.exceptions.LDAPCommunicationError

exception ldap3.core.exceptions.LDAPUnknownStrategyError

Bases: ldap3.core.exceptions.LDAPConfigurationError

exception ldap3.core.exceptions.LDAPUnwillingToPerformResult(result=None, description=None, dn=None, message=None, response_type=None, response=None)

Bases: ldap3.core.exceptions.LDAPOperationResult

exception ldap3.core.exceptions.LDAPUserNameIsMandatoryError

Bases: ldap3.core.exceptions.LDAPExceptionError

exception ldap3.core.exceptions.LDAPUserNameNotAllowedError

Bases: ldap3.core.exceptions.LDAPExceptionError

ldap3.core.exceptions.communication_exception_factory(exc_to_raise, exc)

Generates a new exception class of the requested type (subclass of LDAPCommunication) merged with the exception raised by the interpreter

ldap3.core.exceptions.start_tls_exception_factory(exc_to_raise, exc)

Generates a new exception class of the requested type (subclass of LDAPCommunication) merged with the exception raised by the interpreter