[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: error in slapd.conf



At 09:37 AM 12/27/2002, Lord Chaser wrote:
>I am trying to put up a virtual mailserver but it needs openldap. I am am having some problems with slapd.conf:
> 
>when I run: /usr/local/libexec/slapd 
> 
>I get: /usr/local/etc/openldap/slapd.conf: line 38: expecting <access> got "cn=postmaster,jvd=$1,o=ChaseNET,dc=icarus,dc=dyn,dc=ee"

Because "by group/organizationalRole/roleOccupant=\"
should be followed by <access>.  Of course, "\" is not a
valid DN.  So, the error, I think, is your attempt to use
an unexpected form of escaping.  Long lines can only be
wrapped as documented in slapd.conf(5).

> 
><access clause> ::= access to <what> [ by <who> <access> <control> ]+ 
><what> ::= * | [dn=<regex>] [filter=<ldapfilter>] [attrs=<attrlist>]
><attrlist> ::= <attr> | <attr> , <attrlist>
><attr> ::= <attrname> | entry | children
><who> ::= [ * | anonymous | users | self | dn=<regex> ]
>        [dnattr=<attrname>]
>        [group[/<objectclass>[/<attrname>]]=<regex>]
>        [peername=<regex>] [sockname=<regex>]
>        [domain=<regex>] [sockurl=<regex>]
>        [ssf=<n>] [transport_ssf=<n>] [tls_ssf=<n>] [sasl_ssf=<n>]
><access> ::= [self]{<level>|<priv>}
><level> ::= none | auth | compare | search | read | write
><priv> ::= {=|+|-}{w|r|s|c|x}+
><control> ::= [ stop | continue | break ]
> 
>heres a link to my slapd.conf <http://icarus.dyn.ee/slapd.conf>http://icarus.dyn.ee/slapd.conf
> 
>I have no idea what to do now.... any suggestions?