fc11c56 ipa-kdb: fix gcc complaints in kdb tests

Authored and Committed by abbra 3 years ago
    ipa-kdb: fix gcc complaints in kdb tests
    
    We use string_to_sid() from internal Samba libraries, so we have to link
    to it properly.
    
    In addition, size_t is (long unsigned int), just cast to (int) in
    asprintf.
    
    Fixes: https://pagure.io/freeipa/issue/8585
    Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>
    
        
file modified
+2 -0