Modifying Directory Entries
19
2.1.3.8. Adding an Attribute Subtype
There are three different kinds of subtypes to attributes which can be added to an entry: language,
binary, and pronunciation.
2.1.3.8.1. Language Subtype
Sometimes a user's name can be more accurately represented in characters of a language other
than the default language. For example, a user, Noriko, has a name in Japanese and prefers that her
name be represented by Japanese characters when possible. You can select Japanese as a language
subtype for the
givenname
attribute so that other users can search for her name in Japanese as well
as English. For example:
givenname;lang-ja
To specify a language subtype for an attribute, add the subtype to the attribute name as follows:
attribute
;lang-
subtype
:
attribute value
attribute
is the attribute being added to the entry and
subtype
is the two character abbreviation for the
language. The supported language subtypes are listed in
Table D.2, “Supported Language Subtypes”
.
Only one language subtype can be added per attribute
instance
in an entry. To assign multiple
language subtypes, add another attribute instance to the entry, and then assign the new language
subtype. For example, the following is illegal:
cn;
lang-ja;lang-en-GB
:
value
Instead, use:
cn;
lang-ja
:
ja-value
cn;
lang-en-GB
:
value
2.1.3.8.2. Binary Subtype
Assigning the binary subtype to an attribute indicates that the attribute value is binary, such as user
certificates (
usercertificate;binary
).
Although you can store binary data within an attribute that does not contain the
binary
subtype (for
example,
jpegphoto
), the
binary
subtype indicates to clients that multiple variants of the attribute
type may exist.
2.1.3.8.3. Pronunciation Subtype
Assigning the pronunciation subtype to an attribute indicates that the attribute value is a phonetic
representation. The subtype is added to the attribute name as
attribute
;phonetic
. This subtype
is commonly used in combination with a language subtype for languages that have more than one
alphabet, where one is a phonetic representation.
This subtype is useful with attributes that are expected to contain user names, such as
cn
or
givenname
. For example,
givenname;lang-ja;phonetic
indicates that the attribute value is the
phonetic version of the user's Japanese name.
Содержание DIRECTORY SERVER 8.0
Страница 18: ...xviii ...
Страница 29: ...Configuring the Directory Manager 11 6 Enter the new password and confirm it 7 Click Save ...
Страница 30: ...12 ...
Страница 112: ...94 ...
Страница 128: ...110 ...
Страница 190: ...Chapter 6 Managing Access Control 172 4 Click New to open the Access Control Editor ...
Страница 224: ...206 ...
Страница 324: ...306 ...
Страница 334: ...316 ...
Страница 358: ...340 ...
Страница 410: ...392 ...
Страница 420: ...402 ...
Страница 444: ...426 ...
Страница 454: ...436 ...
Страница 464: ...446 ...
Страница 484: ...466 ...
Страница 512: ...494 ...
Страница 522: ...504 ...