LDAP with Wemail

Rodrigo Faria Tavares rodrigofariatavares at bol.com.br
Wed Jun 28 20:50:55 UTC 2006


Hello,

I´m trying put a acl in ldap server, about adress book in webmail.

access to dn="ou=(.+), ou=personal_addressbook, dc=example, dc=com"
    by dn="uid=$1, dc=example, dc=com" write
    by * none

But, when i try to comfigure ldap server come this message, how i can to resolve it ?

Preparing LDAP database...
/etc/openldap/slapd.conf: line 78: expecting <what> got "ou"
<access clause> ::= access to <what> [ by <who> <access> [ <control> ] ]+
<what> ::= * | [dn[.<dnstyle>]=<DN>] [filter=<filter>] [attrs=<attrspec>]
<attrspec> ::= <attrname> [val[/<matchingRule>][.<attrstyle>]=<value>] | 
<attrlist>
<attrlist> ::= <attr> [ , <attrlist> ]
<attr> ::= <attrname> | @<objectClass> | !<objectClass> | entry | children
<who> ::= [ * | anonymous | users | self | dn[.<dnstyle>]=<DN> ]
        [ realanonymous | realusers | realself | realdn[.<dnstyle>]=<DN> ]
        [dnattr=<attrname>]
        [realdnattr=<attrname>]
        [group[/<objectclass>[/<attrname>]][.<style>]=<group>]
        [peername[.<peernamestyle>]=<peer>] [sockname[.<style>]=<name>]
        [domain[.<domainstyle>]=<domain>] [sockurl[.<style>]=<url>]
        [ssf=<n>] [transport_ssf=<n>] [tls_ssf=<n>] [sasl_ssf=<n>]
<style> ::= exact | regex | base(Object)
<dnstyle> ::= base(Object) | one(level) | sub(tree) | children | exact | 
regex
<attrstyle> ::= exact | regex | base(Object) | one(level) | sub(tree) | 
children
<peernamestyle> ::= exact | regex | ip | path
<domainstyle> ::= exact | regex | base(Object) | sub(tree)
<access> ::= [[real]self]{<level>|<priv>}
<level> ::= none|disclose|auth|compare|search|read|{write|add|delete}|manage
<priv> ::= {=|+|-}{0|d|x|c|s|r|{w|a|z}|m}+
<control> ::= [ stop | continue | break ]


Rodrigo Faria Tavares
e-mail : rodrigofariat at yahoo.com.br
Analista de Suporte Linux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-install-list/attachments/20060628/c730dd56/attachment.htm>


More information about the Redhat-install-list mailing list