97d3ef2 AD: Add a utility function to create list of connections

Authored and Committed by jhrozek 10 years ago
    AD: Add a utility function to create list of connections
    
    ad_id.c and ad_access.c used the same block of code. With the upcoming
    option to disable GC lookups, we should unify the code in a function to
    avoid breaking one of the code paths.
    
    The same applies for the LDAP connection to the trusted AD DC.
    
    Includes a unit test.
    
        
file modified
+28 -0
file modified
+1 -15
file modified
+1 -3
file modified
+52 -0
file modified
+7 -0
file modified
+8 -21
file modified
+1 -2