gss_userok(3)

gss_userok3

Api function

Usage

#include <gss.h>

int gss_userok(const gss_name_t name, const char * username);

Arguments

const gss_name_t name

(gss_name_t, read) Name to be compared.

const char * username

Zero terminated string with username.

Overview

Compare the username against the output from gss_export_name() invoked on name, after removing the leading OID. This answers the question whether the particular mechanism would authenticate them as the same principal

Warning

This function is a GNU GSS specific extension, and is not part of the official GSS API.

Return value

Returns 0 if the names match, non-0 otherwise.

Releases

10 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8–11
  6. 12–13

Reporting bugs

Report bugs to <[email protected]>. GNU Generic Security Service home page: http://www.gnu.org/software/gss/ General help using GNU software: http://www.gnu.org/gethelp/

From gss-man 1.0.4-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.