abbra / slapi-nis

Forked from slapi-nis 6 years ago
Clone

0f700cf back-sch-nss: only loop if asked to try again

Authored and Committed by abbra 2 years ago
    back-sch-nss: only loop if asked to try again
    
    slapi-nis uses sss-idmap library to discover user group membership.  Its
    sss_nss_getgrouplist_timeout() function can return timeout errors as
    well which might cause a busy looping.  sss_nss_getgrouplist_timeout()
    will return ERANGE which is translated by slapi-nis to NSS_STATUS_TRYAGAIN.
    
    Fixes: rhbz#1967179
    
    Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
    
        
file modified
+8 -5