#1420 sudo: provide automatic configuration of machine hostnames
Closed: Fixed None Opened 11 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

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/2462

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata