71a8026 py3: pass raw entries to LDIFWriter

1 file Authored by stlaz 6 years ago, Committed by tkrizek 6 years ago,
    py3: pass raw entries to LDIFWriter
    
    LDIFWriter.unparse() expects the scalar values of the attributes
    of the entries to be bytes as it applies a byte regular expression
    to check whether to base64-encode the values or not. Previously,
    we were passing the scalar attribute values as strings which
    was breaking the LDIFWriter.unparse() exectution.
    
    https://pagure.io/freeipa/issue/7131
    
    Reviewed-By: Felipe Barreto <fbarreto@redhat.com>