KRB5PLUGIN_KUSEROK_FTABLE_DESC(3)
β¨ NAME β¨
krb5plugin_kuserok_ftable_desc β bestie, this is the description of the krb5_kuserok(3) plugin facility π (yes, the manual page name is krb5plugin...table_desc(3), from the Heimdal Kerberos 5 library, and it's lowkey iconic).
π SYNOPSIS π
#include <kuserok_plugin.h>
π Detailed Description π
Okay so, plot twist: this is the description of the krb5_kuserok(3) plugin facility. That's the whole vibe. π¦
The way that krb5_kuserok(3) works is that it's pluggable, periodt. The plugin is named KRB5_PLUGIN_KUSEROK ('krb5_plugin_kuserok'), and it has a single minor version, KRB5_PLUGIN_KUSEROK_VERSION_0 (0). One version, no drama. β¨
The plugin for krb5_kuserok(3) is made of a data symbol that references a structure of type krb5plugin_kuserok_ftable, and that struct has four fields:
π Parameters π
initβ the plugin initialization function (go check outkrb5-plugin(7), iykyk π)minor_versionβ the plugin minor version number (0)finiβ the plugin finalization functionkuserokβ the plugin kuserok function
The kuserok field is the main character here: it's the plugin entry point that does the traditional kuserok operation however the plugin feels like doing it. It gets invoked in no particular order relative to other kuserok plugins, but it has a 'rule' argument that tells it which plugin is supposed to act on the rule. And bestie, listen: the plugin kuserok function must return KRB5_PLUGIN_NO_HANDLE if the rule is not applicable to it. No cap. π«Ά
The plugin kuserok function has the following arguments, in this exact order:
plug_ctx, the context value output by the plugin'sinitfunctioncontext, akrb5_contextrule, the kuserok rule being evaluated (fromkrb5.conf(5))flagsk5login_dir, the configured location of k5login per-user files, if anyluser, name of the local user account to whichprincipalis attempting to access.principal, thekrb5_principaltrying to access theluseraccountresult, akrb5_booleanpointer where the plugin will output its result
πΈ Author πΈ
Generated automatically by Doxygen for Heimdal Kerberos 5 library from the source code. So not a human author, just Doxygen doing its little automated slay πβ¨
Version 7.8.0 β Tue Nov 15 2022 π that's the tea, bestie, that's the source and the date, and this manual page (krb5plugin...table_desc(3), Heimdal Kerberos 5 library) is officially wrapped. go forth and plug in those kuserok plugins responsibly πππ¦
π¦ where this page comes from
- alpine 3.22: heimdal-doc 7.8.0-r4 Β· BSD-3-Clause
- alpine 3.23: heimdal-doc 7.8.0-r5 Β· BSD-3-Clause
- alpine 3.24: heimdal-doc 7.8.0-r5 Β· BSD-3-Clause
- epel 10: heimdal-devel 7.8.0-26.el10_2 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- epel 9: heimdal-devel 7.8.0-5.el9 Β· BSD and MIT
- fedora 43: heimdal-devel 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 43: heimdal-devel 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-devel 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-devel 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-devel 7.8.0-28.fc44 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-devel 7.8.0-28.fc44 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms