#1420 sudo: provide automatic configuration of machine hostnames
Closed: Fixed None Opened 7 years ago by pbrezina.

sudoHost attribute may contain hostname or fqdn that is used to filter out rules that match to current machine. Currently, we can use ldap_sudo_hostnames to set hostnames and fqdn of a machine manually but we should also try to configure this automatically.

SUDO allows only one hostname that is returned from gethostname() (and set to "localhost" if gethostname() fails) and then - if allowed - resolves its fqdn using gethostbyname() or getaddrinfo() if available.

We should obey this behaviour in SSSD.


Fields changed

owner: somebody => pbrezina
status: new => assigned

Fields changed

description: ''sudoHost'' attribute may contain hostname or fqdn that is used to filter out rules that match to current machine. Currently, we can use ''ldap_sudo_hostnames'' to set hostnames and fqdn of a machine manually but we should also try to configure this automatically.

SUDO allows only one hostname that is returned from ''gethostname()'' (and set to "localhost" if the returned value is empty) and then - if allowed - resolves its fqdn using ''gethostbyname()'' or ''getaddrinfo()'' if available.

We should obey this behaviour in SSSD. => ''sudoHost'' attribute may contain hostname or fqdn that is used to filter out rules that match to current machine. Currently, we can use ''ldap_sudo_hostnames'' to set hostnames and fqdn of a machine manually but we should also try to configure this automatically.

SUDO allows only one hostname that is returned from ''gethostname()'' (and set to "localhost" if gethostname() fails) and then - if allowed - resolves its fqdn using ''gethostbyname()'' or ''getaddrinfo()'' if available.

We should obey this behaviour in SSSD.
feature_milestone: => ''''

Fields changed

patch: 0 => 1

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.9.0 beta 6

Fields changed

rhbz: => 0

Fields changed

milestone: SSSD 1.9.0 beta 6 => SSSD 1.9.0 beta 7

master: fbaaa99

resolution: => fixed
status: assigned => closed

Fields changed

milestone: SSSD 1.9.0 beta 7 => SSSD 1.9.0 beta 6

Metadata Update from @pbrezina:
- Issue assigned to pbrezina
- Issue set to the milestone: SSSD 1.9.0 beta 6

2 years ago

Login to comment on this ticket.

Metadata