logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gss_userok - API function

Arguments

       const gss_name_t name
                   (gss_name_t, read) Name to be compared.

       const char * username
                   Zero terminated string with username.

Description

       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

Name

       gss_userok - API function

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/

Return Value

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

See Also

       The  full  documentation  for  gss  is  maintained as a Texinfo manual.  If the info and gss programs are
       properly installed at your site, the command

              infogss

       should give you access to the complete manual.

gss                                                   1.0.4                                        gss_userok(3)

Synopsis

#include<gss.h>intgss_userok(constgss_name_tname,constchar*username);

Warning

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

See Also