[SSSD] [PATCH] LDB_ERR_INVALID_ATTRIBUTE_SYNTAX added to, sysdb_error_to_errno.

Jakub Hrozek jhrozek at redhat.com
Wed Sep 19 15:56:35 UTC 2012


On Wed, Sep 19, 2012 at 05:42:35PM +0200, Michal Židek wrote:
> If the LDB_ERR_* code is not recognized by sysdb_error_to_errno
> function, it returns EFAULT by default. This caused confusion in the
> case when SSSD tried to store attribute with bad syntax to LDB (like
> in the ticket https://fedorahosted.org/sssd/ticket/1440 ). Error
> message said "Bad address", which was inappropriate.
> 
> Patch is in attachment.
> 
> Michal

Ack,

for the record, this patch only eases the translation of ldb error codes
to errno and does not solve ticket #1440.



More information about the sssd-devel mailing list