498dcbd Add responder_get_domain_by_id()

2 files Authored by sbose 9 years ago, Committed by jhrozek 9 years ago,
    Add responder_get_domain_by_id()
    
    This new call is similar to responder_get_domain() but uses the domain
    SID as search parameter. Since the length of the stored domain SID is
    used in the comparison, SIDs of users and groups and be used directly
    without stripping the RID component.
    
    The functionality is not merged into responder_get_domain() to allow to
    calculate the timeout correctly and return a specific error code if the
    entry is expired.