In particular, I'll use cn, a multipurpose attribute type used to specify common names of any entity.
具体来说,我将使用cn属性类型,这是个多用途属性类型,可以用来指定任意实体的公共名称。
The default LDAP authentication filter is (|(cn=%*)(|(&(sn=%a)(givenname=%z))(&(sn=%z)(givenname=%a)))).
默认的 LDAP 身份验证过滤器是 (|(cn=%*)(|(&(sn=%a)(givenname=%z))(&(sn=%z)(givenname=%a))))。
Although you can use several components to define a DN, I use only three of them in this article: ou, uid, and cn. Each one has a different purpose.
虽然可以用多个组件定义一个DN,但我在本文中只使用三个组件:ou、uid和cn。
应用推荐