Bug #15642
closedauth_kerb.conf error when using external authentication and foreman-installer
Description
I use these parameters with foreman-installer : foreman-installer --foreman-ipa-authentication=true --foreman-pam-service=foreman-prod
The keytab is retrieved and is in /etc/httpd/conf/http.keytab
The pam service is created and is in /etc/pam.d/foreman-prod
But the config file /etc/httpd/conf.d/05-foreman-ssl.d/auth_kerb.conf is not correctly generated :
Krb5KeyTab line has no value
require pam-account has no value
systemctl status httpd :
Syntax error on line 9 of /etc/httpd/conf.d/05-foreman-ssl.d/auth_kerb.conf:
Krb5KeyTab takes one argument, Location of Kerberos V5 keytab file.
Updated by Dominic Cleal over 8 years ago
- Project changed from Foreman to Installer
- Category set to Foreman modules
- Translation missing: en.field_release set to 161
The templates/auth_kerb.conf.erb template appears to rely on having variables in-scope, but the variables it's accessing are defined in the foreman
class and not foreman::config
where it's used. The template also has no test coverage.
Updated by Dominic Cleal over 8 years ago
- Status changed from New to Assigned
- Assignee set to Dominic Cleal
Updated by Alexandre Barth over 8 years ago
same problem with the intercept_form_submit.conf file with value for InterceptFormPAMService parameter
Updated by Dominic Cleal over 8 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/puppet-foreman/pull/462 added
Thanks, I fixed that one too.
Updated by Alexandre Barth over 8 years ago
Thank you Dominic, tested and i confirm this is working now.
Updated by Dominic Cleal over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset puppet-foreman|837849846c43ca4dcb44f8c61e039c543c576968.