Adding an attribute using the language subtype
About this task
The PingDirectory server provides support for attributes using language subtypes. The operation must specifically match the subtype for successful operation. Any non-ASCII characters must be in UTF-8 format.
Steps
-
Run the
ldapmodifytool from the command line interface. -
Specify the modification using
changetype:modify. -
Specify which attributes to add using the
addoption.Example:
In this example, we add another value for the
langattribute.$ bin/ldapmodify -h server.example.com -p 389 -w password dn: uid=user.2004,ou=People,dc=example,dc=com changetype: modify add: postalAddress; lang-ko postalAddress; lang-ko:Byung-soon Kim$2020-14 Seoul -
To process the request, enter
ctrl+dtwice.This is the UNIX EOF escape sequence.