4656d6b ipadiscovery: Decode to unicode in ipacheckldap(), get_ipa_basedn()

1 file Authored by pviktori 8 years ago, Committed by jcholast 8 years ago,
    ipadiscovery: Decode to unicode in ipacheckldap(), get_ipa_basedn()
    
    ipacheckldap uses a schema-less connection with decode_attrs=False,
    so bytes need to be decoded manually.
    This was not a problem in Python2 where bytes and unicode could
    be mixed freely.
    
    Part of the work for https://fedorahosted.org/freeipa/ticket/5638
    
    Reviewed-By: Jan Cholasta <jcholast@redhat.com>
    
        
file modified
+11 -7