[SSSD] [sssd][patch] SYSDB: sysdb_getnetgr returns ENOENT

Pavel Reichl preichl at redhat.com
Thu Apr 17 16:44:43 UTC 2014


Hello,

attached patch is the first of many to solve 
https://fedorahosted.org/sssd/ticket/1991

"The return codes of various sysdb operations differ. Some search
operations would return ENOENT if they don't find a matching object some
would return EOK but an empty result list."

I think it would be best if in case that no results were found both
ENOENT value and 'properly' empty list were returned. 

Thank for opinions or/and review.

Pavel Reichl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-SYSDB-sysdb_getnetgr-returns-ENOENT.patch
Type: text/x-patch
Size: 1409 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20140417/f2e2fa0e/attachment.bin>


More information about the sssd-devel mailing list