Accentuated email addresses stored in LDAP
Steffen Kaiser
skdovecot at inf.h-brs.de
Tue Mar 20 10:00:05 EET 2018
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 19 Mar 2018, Andre Rodier wrote:
> In fact, I am using the otherMailBox attribute, from the standard OpenLDAP
> distribution, which is also IA5String.
>
> - Is there any way in Dovecot to encode the fields in base 64, to send
> queries? as the query is "eq", this would be enough, I think.
Check out: https://wiki2.dovecot.org/Variables?highlight=(base64)
However, I never used this modifier and Aki pointed out, that UTF8
usernames are not (100%) supported, yet.
> - Or is the LDAP server is supposed to store attributes as UTF8, and in this
> case, how to configure it that way?
To achieve this, you must/can extend the schema with your own attribute
that uses:
https://www.ldap.com/understanding-ldap-schema
"Directory String
"The directory string syntax is basically a catch-all syntax for UTF-8
strings. It allows values with this syntax to have any combination of one
or more UTF-8 characters (empty directory string values are not allowed,
although some directory servers ignore this constraint).
"The directory string syntax is defined in RFC 4517 section 3.3.6, and has
an OID of "1.3.6.1.4.1.1466.115.121.1.15"."
Otherwise, you could _misuse_ an exiting attribute of this type unused in
your directory otherwise.
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEVAwUBWrC/hcQnQQNheMxiAQLV+wf+P/gzADRyNSIQtILNKoN7eHEVPNGt9iVd
TzHl5rka9XB89eUE2lsGjlURH3PIVqDKjtTEAl27CYiBr9OI66u+PvhE1o2lvY7R
YBG1Z/R3n8FWF58HpxwJGBbY4iiPQKSvvRM43/Q2mYnEveyIBvNZawNo0okTNMOM
bMSmpUhxGKsqmAeEoUQHOKrujAK0qfucZDI7nuSGjJeej7L2HXm3sEEKTEuYmUDQ
E2ox5fAyIMURA+NINzdmk7chXu30DfWuHNY8jwezM3SEds5xlAy4x6qD6EZ4f7qP
KnYEfxnYyISDqcXSy9AL20srIzn2OXiTA3/TiVOKFXpHrrst8kVCeg==
=+Me+
-----END PGP SIGNATURE-----
More information about the dovecot
mailing list