07f7681 ipa-kdb: avoid ENOMEM when all SIDs are filtered out

Authored and Committed by mkosek 11 years ago
    ipa-kdb: avoid ENOMEM when all SIDs are filtered out
    
    When all SIDs in info3.sids structure were filtered out, we tried
    to talloc_realloc to zero memory size. talloc_realloc then returned
    NULL pointer and filter_login_info returned with ENOMEM.
    
    The code now rather frees the SID array and set info3.sidcount to
    correct value.