Convert a Base64 LDIF file to plaintext (for import)
问题 I have a LDIF file which has a multi-value Base64-encoded attribute, and I'd like to convert it in non-Base64-encoded syntax. How can this be done? Context The LDIF file is as such: dn: cn=johndoe,ou=clients,ou=management,dc=example,dc=com changetype: modify replace: foobarStatus foobarStatus:: ZW5hYmxl... (Base64 string) ...ZCA9IHRydWU where the decoded Base64 string is as such: market = "US" mgmt.account.mode = "X12" foo.field = "Something" bar.field = "Something else" ... Problem When I