02d1cb8 New utility function sss_get_domain_name

Authored and Committed by jhrozek 10 years ago
    New utility function sss_get_domain_name
    
    Instead of copying a block of code that checks whether domain is a subdomain
    and uses only name of FQDN as appropriate, wrap the logic into a function.
    
        
file modified
+4 -14
file modified
+4 -8
file modified
+17 -0
file modified
+7 -0