c4a3b24 SECRETS: Return ENOENT when_deleting a non-existent secret

1 file Authored by fidencio 7 years ago, Committed by jhrozek 7 years ago,
    SECRETS: Return ENOENT when_deleting a non-existent secret
    
    For this, just make use of the sysdb_error_to_errno() function.
    
    Resolves:
    https://fedorahosted.org/sssd/ticket/3125
    
    Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
    
    Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
    Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>