Re: [SSSD] [PATCH] PAC: do not expect that sysdb_search_object_by_sid() return ENOENT

2013-06-19 Thread Jakub Hrozek
On Tue, Jun 18, 2013 at 04:15:54PM -0400, Simo Sorce wrote: On Tue, 2013-06-18 at 19:45 +0200, Jakub Hrozek wrote: On Tue, Jun 18, 2013 at 05:30:09PM +0200, Sumit Bose wrote: Hi, one of the issues reported in https://bugzilla.redhat.com/show_bug.cgi?id=975001 is a core dump in the

[SSSD] [PATCH] PAC: do not expect that sysdb_search_object_by_sid() return ENOENT

2013-06-18 Thread Sumit Bose
Hi, one of the issues reported in https://bugzilla.redhat.com/show_bug.cgi?id=975001 is a core dump in the PAC responder. I thought that I can find missing results by checking for ENOENT which is wrong in this case. This patch properly checks the number of results. bye, Sumit From

Re: [SSSD] [PATCH] PAC: do not expect that sysdb_search_object_by_sid() return ENOENT

2013-06-18 Thread Jakub Hrozek
On Tue, Jun 18, 2013 at 05:30:09PM +0200, Sumit Bose wrote: Hi, one of the issues reported in https://bugzilla.redhat.com/show_bug.cgi?id=975001 is a core dump in the PAC responder. I thought that I can find missing results by checking for ENOENT which is wrong in this case. This patch

Re: [SSSD] [PATCH] PAC: do not expect that sysdb_search_object_by_sid() return ENOENT

2013-06-18 Thread Simo Sorce
On Tue, 2013-06-18 at 19:45 +0200, Jakub Hrozek wrote: On Tue, Jun 18, 2013 at 05:30:09PM +0200, Sumit Bose wrote: Hi, one of the issues reported in https://bugzilla.redhat.com/show_bug.cgi?id=975001 is a core dump in the PAC responder. I thought that I can find missing results by