Use this information to search for entries that contain
attributes with language tags.
Procedure
- Enter the following command.
idsldapsearch -b "o=sample" "cn=Mark Anthony" sn
The
following results are returned:
cn=Mark Anthony,o=sample
sn=Anthony
sn;lang-spanish=Antonio
Note: Only sn;lang-spanish is
displayed in the output.
- Enter the following command.
idsldapsearch -b "o=sample" "sn;lang-spanish=Antonio"
The
following results are returned:
cn=Mark Anthony,o=sample
sn;lang-spanish=Antonio
Note: Only sn;lang-spanish is
displayed in the output.
- Enter the following command.
idsldapsearch -b "o=sample" "sn;lang-spanish=Antonio"
The
entire entry is returned as follows:
cn=Mark Anthony,o=sample
objectclass=person
objectclass=top
cn=Mark Anthony
sn=Anthony
sn;lang-spanish=Antonio