LDAP属性对人类用户母语的语言进行编码?

发布于 2024-08-01 20:21:54 字数 104 浏览 9 评论 0原文

LDAP 模式中用于对用户的母语(第一语言)进行编码的规范属性是什么?

与 Windows Active Directory 的默认/现有管理工具的互操作将是一个很大的优势。

What would be the canonical attribute in an LDAP schema to encode the mother tongue (first language) of a user?

Interop with default/existing administration tools for Windows Active Directory would be a big plus.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

蝶舞 2024-08-08 20:21:54

inetOrgPerson(和 AD 的用户)对象类的“preferredLanguage”属性就是您所追求的。

据我所知,默认的 Windows 管理工具不会公开此字段。 您将需要一个较低级别的工具,例如 adsiedit.msc。

2.7。 首选语言

用于表示个人的
首选书面或口头
语言。 这对于
国际通信或人类
计算机交互。 对此的价值观
属性类型必须符合
接受语言的定义
[RFC2068]中定义的标头字段
但有一个例外:顺序
“接受语言”“:”应该是
省略。 这是一个单值
属性类型。

<前><代码>( 2.16.840.1.113730.3.1.39
NAME“首选语言”
DESC“一个人首选的书面或口头语言”
EQUALITY 案例忽略匹配
SUBSTR case忽略子字符串匹配
语法 1.3.6.1.4.1.1466.115.121.1.15
单值)

The 'preferredLanguage' attribute of the inetOrgPerson (and AD's user) object class is what you are after.

As far as I know this field is not exposed by the default Windows admin tools. You would need a lower-level tool such as adsiedit.msc.

2.7. Preferred Language

Used to indicate an individual's
preferred written or spoken
language. This is useful for
international correspondence or human-
computer interaction. Values for this
attribute type MUST conform to the
definition of the Accept-Language
header field defined in [RFC2068]
with one exception: the sequence
"Accept-Language" ":" should be
omitted. This is a single valued
attribute type.

( 2.16.840.1.113730.3.1.39
  NAME 'preferredLanguage'
  DESC 'preferred written or spoken language for a person'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  SINGLE-VALUE )
)
幽梦紫曦~ 2024-08-08 20:21:54

RFC 2798 定义了 PreferredLanguage 属性。 以下是 OpenLDAP 中的定义:

# preferredLanguage
# Used to indicate an individual's preferred written or spoken
# language.  This is useful for international correspondence or human-
# computer interaction.  Values for this attribute type MUST conform to
# the definition of the Accept-Language header field defined in
# [RFC2068] with one exception:  the sequence "Accept-Language" ":"
# should be omitted.  This is a single valued attribute type.
attributetype ( 2.16.840.1.113730.3.1.39
        NAME 'preferredLanguage'
        DESC 'RFC2798: preferred written or spoken language for a person'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
        SINGLE-VALUE )

RFC 2798 defines the preferredLanguage attribute. Here is its definition from OpenLDAP:

# preferredLanguage
# Used to indicate an individual's preferred written or spoken
# language.  This is useful for international correspondence or human-
# computer interaction.  Values for this attribute type MUST conform to
# the definition of the Accept-Language header field defined in
# [RFC2068] with one exception:  the sequence "Accept-Language" ":"
# should be omitted.  This is a single valued attribute type.
attributetype ( 2.16.840.1.113730.3.1.39
        NAME 'preferredLanguage'
        DESC 'RFC2798: preferred written or spoken language for a person'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
        SINGLE-VALUE )
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文