kerby icon indicating copy to clipboard operation
kerby copied to clipboard

GSS Principal names are not usernames (initiator side): apps need control over name type

Open nicowilliams opened this issue 6 years ago • 0 comments

    else if (principal && *principal) {
        gss_name_t name;
        principal_token.length = strlen(principal);
        principal_token.value = (char *)principal;

        state->maj_stat = gss_import_name(
            &state->min_stat, &principal_token, GSS_C_NT_USER_NAME, &name
        );

The name type has to be specifiable by the application.

nicowilliams avatar Feb 10 '20 17:02 nicowilliams