Skip to content

Commit

Permalink
Fix error #86 while running freeipa
Browse files Browse the repository at this point in the history
The name attribute was not added to IPA IdP
  • Loading branch information
anazmy committed Mar 2, 2019
1 parent ec9d6b0 commit 9ed00b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idp/IPA.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def _load_user_allowed_hosts(self):
# TODO: Add per-host ssh port checks
sshport = self.default_ssh_port
self._allowed_ssh_hosts[host] = {
'fqdn': hostname, 'ssh_port': sshport, 'hostgroups': memberof_hostgroup}
'name': hostname, 'fqdn': hostname, 'ssh_port': sshport, 'hostgroups': memberof_hostgroup}
logging.debug("IPA: ALLOWED_HOSTS %s", host)
except Exception as e:
logging.error(
Expand Down

0 comments on commit 9ed00b9

Please sign in to comment.