8cc0de3 CLDAP: do not read IPA domain from hostname

1 file Authored by sbose 10 years ago, Committed by mkosek 10 years ago,
    CLDAP: do not read IPA domain from hostname
    
    Currently the CLDAP plugin determines the IPA domain name by reading
    the current host name and splitting of the domain part. But since an IPA
    server does not have to be in a DNS domain which has the same name as
    the IPA domain this may fail. The domain name was used to search the
    ipaNTDomainAttrs object, but since this object is unique in the tree it
    is sufficient to use the objectclass in the search filter. Now the IPA
    domain can be read from the ipaNTDomainAttrs object as well.
    
    Fixes https://fedorahosted.org/freeipa/ticket/3941