krb5conf: use 'true' instead of 'yes' for forwardable option

'yes' is also valid value in krb5.conf but we should be consistent and
use only 'true' as we do for other options.

https://fedorahosted.org/freeipa/ticket/5518

Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
Martin Basti committed 2016-03-09 19:04:19 +01:00
1 parent 2a61ddb644
commit e0b9afded5
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1069,7 +1069,7 @@ def configure_krb5_conf(cli_realm, cli_domain, cli_server, cli_kdc, dnsok,
libopts.append({'name':'dns_lookup_kdc', 'type':'option', 'value':'true'})
libopts.append({'name':'rdns', 'type':'option', 'value':'false'})
libopts.append({'name':'ticket_lifetime', 'type':'option', 'value':'24h'})
libopts.append({'name':'forwardable', 'type':'option', 'value':'yes'})
libopts.append({'name':'forwardable', 'type':'option', 'value':'true'})
libopts.append({'name':'udp_preference_limit', 'type':'option', 'value':'0'})
# Configure KEYRING CCACHE if supported
+1 -1
View File
@@ -11,7 +11,7 @@ includedir /var/lib/sss/pubconf/krb5.include.d/
dns_lookup_kdc = true
rdns = false
ticket_lifetime = 24h
forwardable = yes
forwardable = true
udp_preference_limit = 0
$OTHER_LIBDEFAULTS
[realms]
+1 -1
View File
@@ -249,7 +249,7 @@ def configure_krb5_conf(realm, kdc, filename):
libdefaults.append({'name':'dns_lookup_kdc', 'type':'option', 'value':'true'})
libdefaults.append({'name':'rdns', 'type':'option', 'value':'false'})
libdefaults.append({'name':'ticket_lifetime', 'type':'option', 'value':'24h'})
libdefaults.append({'name':'forwardable', 'type':'option', 'value':'yes'})
libdefaults.append({'name':'forwardable', 'type':'option', 'value':'true'})
libdefaults.append({'name':'udp_preference_limit', 'type':'option', 'value':'0'})
opts.append({'name':'libdefaults', 'type':'section', 'value': libdefaults})