.TH "krb5plugin_kuserok_ftable_desc" 3 "Tue Jul 11 2017" "Version 7.4.0" "HeimdalKerberos5library" \" -*- nroff -*- .ad l .nh .SH NAME krb5plugin_kuserok_ftable_desc \- Description of the krb5_kuserok(3) plugin facility\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SH "Detailed Description" .PP Description of the krb5_kuserok(3) plugin facility\&. The krb5_kuserok(3) function is pluggable\&. The plugin is named KRB5_PLUGIN_KUSEROK ('krb5_plugin_kuserok'), with a single minor version, KRB5_PLUGIN_KUSEROK_VERSION_0 (0)\&. .PP The plugin for krb5_kuserok(3) consists of a data symbol referencing a structure of type krb5plugin_kuserok_ftable, with four fields: .PP \fBParameters:\fP .RS 4 \fIinit\fP Plugin initialization function (see krb5-plugin(7)) .br \fIminor_version\fP The plugin minor version number (0) .br \fIfini\fP Plugin finalization function .br \fIkuserok\fP Plugin kuserok function .RE .PP The kuserok field is the plugin entry point that performs the traditional kuserok operation however the plugin desires\&. It is invoked in no particular order relative to other kuserok plugins, but it has a 'rule' argument that indicates which plugin is intended to act on the rule\&. The plugin kuserok function must return KRB5_PLUGIN_NO_HANDLE if the rule is not applicable to it\&. .PP The plugin kuserok function has the following arguments, in this order: .PP .IP "1." 4 plug_ctx, the context value output by the plugin's init function .IP "2." 4 context, a krb5_context .IP "3." 4 rule, the kuserok rule being evaluated (from krb5\&.conf(5)) .IP "4." 4 flags .IP "5." 4 k5login_dir, configured location of k5login per-user files if any .IP "6." 4 luser, name of the local user account to which principal is attempting to access\&. .IP "7." 4 principal, the krb5_principal trying to access the luser account .IP "8." 4 result, a krb5_boolean pointer where the plugin will output its result .PP .SH "Author" .PP Generated automatically by Doxygen for HeimdalKerberos5library from the source code\&.