#2747 get_object_from_cache() does not handle services
Closed: Fixed None Opened 4 years ago by preichl.

get_object_from_cache() does not seem to handle services at all although it is expected to.

(Tue Jul 28 10:43:24 2015) [sssd[be[unix.local]]] [sdap_process_result] (0x2000): Trace: sh[0x7f95709ca0a0], connected[1], ops[0x7f957081c910], ldap[0x7f95707d1b10]
(Tue Jul 28 10:43:24 2015) [sssd[be[unix.local]]] [sdap_get_generic_op_finished] (0x0400): Search result: Success(0), no errmsg set
(Tue Jul 28 10:43:24 2015) [sssd[be[unix.local]]] [sdap_get_services_process] (0x0400): Search for services, returned 0 results.
(Tue Jul 28 10:43:24 2015) [sssd[be[unix.local]]] [sysdb_search_services] (0x2000): Search services with filter: (&(objectclass=service)(&(serviceProtocol=udplite)(|(nameAlias=rpcbind)(name=rpcbind))))
(Tue Jul 28 10:43:24 2015) [sssd[be[unix.local]]] [sysdb_search_services] (0x2000): No such entry
(Tue Jul 28 10:43:24 2015) [sssd[be[unix.local]]] [get_object_from_cache] (0x0020): Unexpected entry type [5].
(Tue Jul 28 10:43:24 2015) [sssd[be[unix.local]]] [ipa_id_get_account_info_orig_done] (0x0040): get_object_from_cache failed.
(Tue Jul 28 10:43:24 2015) [sssd[be[unix.local]]] [ipa_account_info_error_text] (0x0020): Bug: dp_error is OK on failed request
(Tue Jul 28 10:43:24 2015) [sssd[be[unix.local]]] [acctinfo_callback] (0x0100): Request processed. Returned 3,22,Account info lookup failed

That's expected, IPA provider doesn't handle services.

We should probably just shortcut the request for services and don't even run the ldapsearch..or support users with custom schema and then don't call the view machinery and return whatever is in LDAP.

Moving to a near milestone because the debug messages might confuse admins.

milestone: NEEDS_TRIAGE => SSSD 1.13.2

Fields changed

rhbz: => todo

Fields changed

owner: somebody => pcech

Fields changed

status: new => assigned

Fields changed

patch: 0 => 1

Even though the patches are under review, we would like to release 1.13.2 tarball soon, therefore I'm moving the ticket out of 1.13.2 for now.

We can move the ticket back if the patches are acked before the 1.13.2 release.

milestone: SSSD 1.13.2 => SSSD 1.13.3

Fields changed

resolution: => fixed
status: assigned => closed

Metadata Update from @preichl:
- Issue assigned to pcech
- Issue set to the milestone: SSSD 1.13.3

2 years ago

Login to comment on this ticket.