Show Table of Contents
3.9. Updating an Entry in an Internationalized Directory
To use attribute values with languages other than English, associate the attribute's value with a language tag.
When using
ldapmodify
to update an attribute that has a language tag set, you must match the value and language tag exactly or the operation will fail.
For example, to modify an attribute value that has the
lang-fr
language tag set, include the tag in the modify
operation:
# ldapmodify -D "cn=Directory Manager" -W -p 389 -h server.example.com -x dn: uid=user,ou=People,dc=example,dc=com changetype: modify replace: homePostalAddress;lang-fr homePostalAddress;lang-fr: 34 rue de Seine