nm_iam_set_user_fingerprint()

DESCRIPTION

Set the public key fingerprint for an existing user while the system is running.

DECLARATION

enum nm_iam_error nm_iam_set_user_fingerprint(struct nm_iam* iam, const char* username, const char* fingerprint)

PARAMETERS

iam:
[in] IAM module to manipulate
username:
[in] the username of the user
fingerprint:
[in] hex encoded public key fingerprint

RETURN VALUES

NM_IAM_ERROR_INVALID_FINGERPRINT if the specified fingerprint is invalid. NM_IAM_ERROR_NO_SUCH_USER if the specified user does not exist. NM_IAM_ERROR_OK if the fingerprint was set successfully for the user.

EXAMPLES

None.