#1441 sysdb_store_ssh_host() function should add objectclass and name attributes to new hosts
Closed: wontfix 4 years ago by pbrezina. Opened 11 years ago by mzidek.

Function sysdb_store_ssh_host() allows to add new host with no SYSDB_OBJECTCLASS and SYSDB_NAME atributes. These attributes are internally required by sysdb_delete_ssh_host() and sysdb_search_ssh_hosts() (they can not find a host without these attributes in database).

Right now the function sysdb_store_ssh_host() is only used to modify existing host with SYSDB_OBJECTCLASS and SYSDB_NAME attributes already set, so it behaves correctly, but we should not allow the API to add host that can not be deleted or found.

Possible solution is to create default objectclass for ssh hosts and use it in sysdb_store_ssh_host() function when new host is added. The name attribute can be the same as the name parameter for this function.


Deferred for now, but it's likely to bubble up when Honza changes the SSH responder to be more generic. Right now, the code works by accident because it's only used in the IPA provider and the objectclass is reused from the ipaHost class, similarly the name attribute is reused from ipaHost.

milestone: NEEDS_TRIAGE => SSSD Deferred

Fields changed

rhbz: => 0
type: defect => task

Metadata Update from @mzidek:
- Issue set to the milestone: SSSD Patches welcome

7 years ago

Thank you for taking time to submit this request for SSSD. Unfortunately this issue was not given priority and the team lacks the capacity to work on it at this time.

Given that we are unable to fulfill this request I am closing the issue as wontfix.

If the issue still persist on recent SSSD you can request re-consideration of this decision by reopening this issue. Please provide additional technical details about its importance to you.

Thank you for understanding.

Metadata Update from @pbrezina:
- Issue close_status updated to: wontfix
- Issue status updated to: Closed (was: Open)

4 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/2483

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