OpenLDAP Access Control

Source: Internet
Author: User
Keywords Access control name access rights multiple
Tags access access control access rights basic control controlled multiple name

Access to SLAPD entries and properties is controlled by the Access profile directive. The common format for access rights lines is as follows:

<access directive>:: = Access to <what>
[By <who> <access> <control>]+
<what>:: * |
[dn[.<basic-style>]=<regex> | Dn.<scope-style>=<dn>]
[Filter=<ldapfilter>] [Attrs=<attrlist>]
<basic-style>:: = Regex | Exact
<scope-style>:: = Base | One | Subtree | Children
<attrlist>:: = <attr> [Val[.<basic-style>]=<regex>] | <attr> <attrlist>
<attr>:: = <attrhttp://www.aliyun.com/zixun/aggregation/11696.html ">name> | Entry | Children
<who>:: * | [Anonymous | users | self
| dn[.<basic-style>]=<regex> | Dn.<scope-style>=<dn>]
[Dnattr=<attrname>]
[Group[/<objectclass>[/<attrname>][.<basic-style>]]=<regex>]
[Peername[.<basic-style>]=<regex>]
[Sockname[.<basic-style>]=<regex>]
[Domain[.<basic-style>]=<regex>]
[Sockurl[.<basic-style>]=<regex>]
[Set=<setspec>]
[Aci=<attrname>]
<access>:: = [Self]{<level>|<priv>}
<level>:: = none | Auth | Compare | Search | Read | Write
<priv>:: = {=|+|-}{w|r|s|c|x|0}+
<control>: = [Stop | re-enters | break]

<what> Select the entries and attributes to which access rights apply. The <who> section indicates which entity is given access Rights,<access> section explains what access is given. Multiple <who> <access> <control> triples can be specified to allow multiple entities to be given different access rights to the same set of entry attributes. All access control options are not listed here, please refer to the slapd.access (5) man page for more details.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.