On Thu, 2014-02-27 at 11:55 +0100, Pavel Březina wrote:
Hello Pavel,
[snip]
> patch #2 - fixes sysdb_getnetgr to return ENOENT as is as is
expected in
> code
This is not necessary. ENOENT is returned from ldb_search(). Or did you
manage to get EOK and count==0 somehow?
I actually did manage as is it not hard at all. Give it a try:-).
I don't know if ldb_search ever returns ENOENT but I dare to say that it
always returns EOK and count == 0 if no record is found.
That is reason for this ticket
https://fedorahosted.org/sssd/ticket/1991