-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sun, 23 Apr 2006, Erik Nørgaard wrote:
Hi: So, I finally decided to get OpenLDAP set up to serve an address book independent of where I am and on what computer. The problem is that unless an attribute value is ascii, values have to be in UTF-8 and base64 encoded(?), as I could understand from googling. But, I can't even spell my own name in that encoding! So question is: How do I most easily populate my directory? Is there a tool that can convert an iso-8859-1 ldif to utf-8+base64 ldif? Will ldap queries also have to be encoded UTF-8+base64 as well? Have I misunderstood the bit about base64, that this is only required for binary data such as jpeg images? All documentation I have found tells how easy it is to get data out in UTF-8 ldif, but I really need to get the data in there first.
Erik, you can convert the LDIF file with the following command iconv -f ISO8859-1 -t UTF-8 <filename> The only thing you need is converters/libiconv from ports. The base64 encoding is done by the OpenLDAP tools itself. Hth. Joerg- -- The beginning is the most important part of the work.
-Plato -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFES8tYSPOsGF+KA+MRAs91AKC/4BNM0nIpwbRtWvONkzNbn5EW9wCePUi8 WNlYPWwTJQBPQLB2K+2H7Hw= =KRuH -----END PGP SIGNATURE-----
_______________________________________________ firstname.lastname@example.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"