{"id":4364,"date":"2022-12-20T17:49:05","date_gmt":"2022-12-20T20:49:05","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/gssproxy-conf-man5\/"},"modified":"2022-12-20T17:49:05","modified_gmt":"2022-12-20T20:49:05","slug":"gssproxy-conf-man5","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/gssproxy-conf-man5\/","title":{"rendered":"GSSPROXY.CONF (man5)"},"content":{"rendered":"<h1 align=\"center\">GSSPROXY.CONF<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#SECTIONS\">SECTIONS<\/a><br \/> <a href=\"#VARIABLE SUBSTITUTIONS\">VARIABLE SUBSTITUTIONS<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHORS\">AUTHORS<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">gssproxy.conf \u2212 GssProxy Daemon Configuration file<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Optional configuration directives for the gssproxy daemon.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">GSS\u2212Proxy conf files are classic ini\u2212style configuration files. Each option consist of a key = value pair. Any characters behind &#8216;#&#8217; will be treated as comments and will be ignored. Boolean parameters accept &#8220;1&#8221;, &#8220;true&#8221;, &#8220;yes&#8221; and &#8220;on&#8221; as positive values. All other values will be considered as negative values.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">GSS\u2212Proxy conf files must either be named &#8220;gssproxy.conf&#8221;, or be of the form &#8220;##\u2212foo.conf&#8221; (that is, start with two numbers followed by a dash, and end in &#8220;.conf&#8221;). Files not conforming to this will be ignored unless specifically requested through command line parameters. Within a single file, any duplicate values or sections will be merged. Across multiple files, duplicates will generate a warning, and the first value encountered will take precedence (i.e., there is no merging).<\/p>\n<h2>SECTIONS <a name=\"SECTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">A section in a GSS\u2212Proxy conf file is identified by the sectionname in square brackets ([sectionname]).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">There is one special section for global gssproxy settings, called [gssproxy].<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Services such as nfs, apache, ssh, etc. are represented by sections like [service\/nfs], [service\/apache], etc. and are identified by the &#8220;euid&#8221; setting (see below).<\/p>\n<h2>VARIABLE SUBSTITUTIONS <a name=\"VARIABLE SUBSTITUTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">String parameters may contain substitution patterns. This allows gssproxy to deal with patterns for the storage location of keytabs or credential caches easier.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The supported patterns are:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">%U<\/p>\n<p style=\"margin-left:17%;\">substitutes to the user&#8217;s numeric uid (e.g. 123)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">%u<\/p>\n<p style=\"margin-left:17%;\">substitutes to the user&#8217;s username (e.g. john).<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">gssproxy supports the following options:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">allow_any_uid (boolean)<\/p>\n<p style=\"margin-left:17%;\">Allow any process of any user to use this service.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Note that absent a custom socket option this option may cause a service definition to mask access to following services. To avoid issues change the order of services in your configuation file so that services with allow_any_uid enabled are listed last, or define a custom socket for other services.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Default: false<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">allow_protocol_transition (boolean)<\/p>\n<p style=\"margin-left:17%;\">Allow clients to request a ticket to self for an arbitrary user.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">This option controls whether s4u2self requests are allowed for the requesting client. The configured keytab is used as the service identity for which a ticket is requested. The KDC still needs to allow the operation for it to succeed.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Default: false<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">allow_constrained_delegation (boolean)<\/p>\n<p style=\"margin-left:17%;\">Allow clients to request a ticket to another service using an evidence ticket.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">This option controls whether s4u2proxy requests are allowed for the requesting client. The KDC still needs to allow the operation for it to succeed.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Default: false<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">allow_client_ccache_sync (boolean)<\/p>\n<p style=\"margin-left:17%;\">Allow clients to request credentials to be sent back for better caching.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">This option allows the proxy, in certain circumstances, to send back an additional option in the response structure of certain calls when it determines that a new ticket may have been added to the internal ccache. Clients can then replace their (encrypted) copy with the updated ccache.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Default: false<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">cred_store (string)<\/p>\n<p style=\"margin-left:17%;\">This parameter allows to control in which way gssproxy should use the cred_store interface provided by GSSAPI. The parameter can be defined multiple times per service.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">The syntax of the cred_store parameter is as follows: cred_store = <cred_store_option>:<cred_store_value><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Currently this interface supports the following options:<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">keytab<\/p>\n<p style=\"margin-left:23%;\">Defines the keytab the service should use. Example: cred_store = keytab:\/path\/to\/keytab<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">client_keytab<\/p>\n<p style=\"margin-left:23%;\">Defines a client keytab the service should use. Example: cred_store = client_keytab:\/path\/to\/client_keytab.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">ccache<\/p>\n<p style=\"margin-left:23%;\">Defines a credential cache the service should use. Example: cred_store = ccache:\/path\/to\/ccache.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Notably the client_keytab and the ccache setting typically are used with variable substitution placeholders (see above). For example:<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>cred_store = keytab:\/etc\/krb5.keytab <br \/> cred_store = ccache:FILE:\/var\/lib\/gssproxy\/krb5cc_%U <br \/> cred_store = client_keytab:\/var\/lib\/gssproxy\/%U.keytab<\/b><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Default: cred_store =<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">cred_usage (string)<\/p>\n<p style=\"margin-left:17%;\">Allow to restrict the kind of operations permitted for this service.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">The allowed options are: initiate, accept, both<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Default: cred_usage = both<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">debug (boolean)<\/p>\n<p style=\"margin-left:17%;\">Enable debugging to syslog. Setting to true is identical to setting debug_level to 1.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Default: debug = false<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">debug_level (integer)<\/p>\n<p style=\"margin-left:17%;\">Detail level at which to log debugging messages. 0 corresponds to no logging, while 1 turns on basic debug logging. Level 2 increases verbosity, including more detailed credential verification.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">At level 3 and above, KRB5_TRACE output is logged. If KRB5_TRACE was already set in the execution environment, trace output is sent to its value instead.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Default: 1 if debug is true, otherwise 0<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">enforce_flags (string)<\/p>\n<p style=\"margin-left:17%;\">A list of GSS Request Flags that are added unconditionally to every context initialization call. Flags can only be added to the list or removed from the list by prepending a +\/\u2212 sign to the flag name or value.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Recognized flag names: DELEGATE, MUTUAL_AUTH, REPLAY_DETECT, SEQUENCE, CONFIDENTIALITY, INTEGRITY, ANONYMOUS<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Examples:<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>enforce_flags = +REPLAY_DETECT <br \/> enforce_flags = \u22120x0001<\/b><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Default: enforce_flags =<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">euid (integer or string)<\/p>\n<p style=\"margin-left:17%;\">Either the numeric (e.g., 48) or symbolic (e.g., apache) effective uid of a running process, required to identify a service.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">The &#8220;euid&#8221; parameter is imperative, any section without it will be discarded.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Default: euid =<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">filter_flags (string)<\/p>\n<p style=\"margin-left:17%;\">A list of GSS Request Flags that are filtered unconditionally from every context initialization call. Flags can only be added to the list or removed from the list by prepending a +\/\u2212 sign to the flag name or value.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">NOTE: Because often gssproxy is used to withold access to credentials the Delegate Flag is filtered by default. To allow a service to delegate credentials use the first example below.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Recognized flag names: DELEGATE, MUTUAL_AUTH, REPLAY_DETECT, SEQUENCE, CONFIDENTIALITY, INTEGRITY, ANONYMOUS<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Examples:<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>filter_flags = \u2212DELEGATE <br \/> filter_flags = \u22120x0001 +ANONYMOUS<\/b><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Default: filter_flags = +DELEGATE<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">impersonate (boolean)<\/p>\n<p style=\"margin-left:17%;\">Use impersonation (s4u2self + s4u2proxy) to obtain credentials<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Default: impersonate = false<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">kernel_nfsd (boolean)<\/p>\n<p style=\"margin-left:17%;\">Boolean flag that allows the Linux kernel to check if gssproxy is running (via \/proc\/net\/rpc\/use\u2212gss\u2212proxy).<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Default: kernel_nfsd = false<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">krb5_principal (string)<\/p>\n<p style=\"margin-left:17%;\">The krb5 principal to be used preferred for this service, if one isn&#8217;t requested by the application. Note that this does not enforce use of this specific name; it only sets a default.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Default: krb5_principal =<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">mechs (string)<\/p>\n<p style=\"margin-left:17%;\">Currently only <i>krb5<\/i> is supported.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">The &#8220;mechs&#8221; parameter is imperative, any section without it will be discarded.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Default: mechs =<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">program (string)<\/p>\n<p style=\"margin-left:17%;\">If specified, this service will only match when the program being run is the specified string.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Programs are assumed to be specified as canonical paths (i.e., no relative paths, no symlinks). Additionally, the &#8216;|&#8217; character is reserved for future use and therefore forbidden.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">run_as_user (string)<\/p>\n<p style=\"margin-left:17%;\">The name of the user gssproxy will drop privileges to.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">This option is only available in the global section.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Default: run_as_user =<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">selinux_context (string)<\/p>\n<p style=\"margin-left:17%;\">This option is deprecated. Use a custom socket or euid instead.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">socket (string)<\/p>\n<p style=\"margin-left:17%;\">This parameter allows to create a per\u2212service socket file over which gssproxy client and server components communicate.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">When this parameter is not set, gssproxy will use a compiled\u2212in default.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">syslog_status (boolean)<\/p>\n<p style=\"margin-left:17%;\">Enable per\u2212call debugging output to the syslog. This may be useful for investigating problems in applications using gssproxy.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Default: syslog_status = false<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">trusted (boolean)<\/p>\n<p style=\"margin-left:17%;\">Defines whether this service is considered trusted. Use with caution, this enables impersonation.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Default: trusted = false<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">worker threads (integer)<\/p>\n<p style=\"margin-left:17%;\">Defines the amount of worker threads gssproxy will create at startup.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Default: worker threads =<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>gssproxy<\/b>(8) and <b>gssproxy-mech<\/b>(8).<\/p>\n<h2>AUTHORS <a name=\"AUTHORS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>GSS\u2212Proxy \u2212 http:\/\/fedorahosted.org\/gss\u2212proxy<\/b><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  gssproxy.conf \u2212 GssProxy Daemon Configuration file <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[959],"tags":[961,558,1291],"class_list":["post-4364","post","type-post","status-publish","format-standard","hentry","category-5-formatos-de-ficheros","tag-961","tag-gssproxy","tag-man5"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=4364"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4364\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}