Exceptions

exception kadmin.exceptions.CStringConversion

Couldn’t convert a CString to a String

exception kadmin.exceptions.CStringImportFromVec

Couldn’t import a Vec<u8> CString

exception kadmin.exceptions.DateTimeConversion

Failed to convert a chrono::DateTime to a krb5_timestamp

exception kadmin.exceptions.DurationConversion

Failed to convert a Duration to a krb5_deltat

exception kadmin.exceptions.EncryptionTypeConversion

Failed to convert to encryption type

exception kadmin.exceptions.KAdminException

kadm5 error

Variables:
  • code – kadm5 error code

  • origin_message – kadm5 error message

exception kadmin.exceptions.KerberosException

Kerberos error

Variables:
  • code – Kerberos error code

  • origin_message – Kerberos error message

exception kadmin.exceptions.LibraryLoadError

Failed to load the kadm5 library

exception kadmin.exceptions.LibraryMismatch

The library is not compatible with the current operation

exception kadmin.exceptions.LockError

Failed to acquire the kadmin initialisation lock

exception kadmin.exceptions.NullPointerDereference

Pointer was NULL when converting a *c_char to a String

exception kadmin.exceptions.PyKAdminException

Top-level exception

exception kadmin.exceptions.SaltTypeConversion

Failed to convert to salt type

exception kadmin.exceptions.StringConversion

Couldn’t convert a CString to a String, because an interior nul byte was found

exception kadmin.exceptions.ThreadRecvError

Failed to receive the result from an operatior from the sync executor

exception kadmin.exceptions.ThreadSendError

Failed to send an operation to the sync executor

exception kadmin.exceptions.TimestampConversion

Failed to convert a krb5_timestamp to a chrono::DateTime