gss_aapl_change_password(_:_:_:_:)
Changes the password associated with a name.
Declaration
func gss_aapl_change_password(_ name: gss_name_t, _ mech: gss_const_OID, _ attributes: CFDictionary, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>?) -> OM_uint32Parameters
- name:
The GSS name for which you want to change the password.
- mech:
The underlying mechanism in use. For example, use Gss_krb5_mechanism for Kerberos.
- attributes:
A dictionary that you use to specify the old and new passwords as string values. Use the keys Kgsschangepasswordoldpassword and Kgsschangepasswordnewpassword for the old and new passwords, respectively.
- error:
A
CFErrorRefpointer that the function sets to point at a new error object if the function call fails. PassNULLto ignore this error. When an error does exist, it describes the reason for the failure, and you are responsible for releasing it withCFRelease.
Return Value
A major status code set to GSS_S_COMPLETE if the call succeeds, or some other value indicating the reason for failure if not.