1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "gss_userok" 3 "1.0.3" "gss" "gss"
.SH NAME
gss_userok \- API function
.SH SYNOPSIS
.B #include <gss.h>
.sp
.BI "int gss_userok(const gss_name_t " name ", const char * " username ");"
.SH ARGUMENTS
.IP "const gss_name_t name" 12
(gss_name_t, read) Name to be compared.
.IP "const char * username" 12
Zero terminated string with username.
.SH "DESCRIPTION"
Compare the username against the output from \fBgss_export_name()\fP
invoked on \fIname\fP, after removing the leading OID. This answers the
question whether the particular mechanism would authenticate them
as the same principal
.SH "WARNING"
This function is a GNU GSS specific extension, and is not
part of the official GSS API.
.SH "RETURN VALUE"
Returns 0 if the names match, non\-0 otherwise.
.SH "REPORTING BUGS"
Report bugs to <bug-gss@gnu.org>.
GNU Generic Security Service home page: http://www.gnu.org/software/gss/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2003-2013 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
.SH "SEE ALSO"
The full documentation for
.B gss
is maintained as a Texinfo manual. If the
.B info
and
.B gss
programs are properly installed at your site, the command
.IP
.B info gss
.PP
should give you access to the complete manual.
|