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

Michal Židek mzidek at redhat.com
Wed Sep 19 15:42:35 UTC 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-LDB_ERR_INVALID_ATTRIBUTE_SYNTAX-added-to-sysdb_erro.patch
Type: text/x-patch
Size: 743 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120919/8a1d9c75/attachment.bin>


More information about the sssd-devel mailing list