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

Re: warning during slapindex

> Hello I receive this error during slapindex (3 times):
> /etc/openldap2.2/slapd.access.conf.new: line 36: "expand" style or
> modifier used in conjunction with a non-regex <what> clause
> here is my access (the last line is line 36):
> access to dn.subtree="ou=domains,dc=example,dc=com"
> by group.expand="cn=SAMBABindUSers,ou=LdapSystem,dc=example,dc=com" write
> by group.expand="cn=Domain Controllers,ou=Group,dc=example,dc=com"
>     write
> by group.expand="cn=Replicator,ou=Group,dc=example,dc=com" write
> by *    read

As should be described in slapd.access(5), the "expand" style modifier
applies to <by> clauses only when there's something to expand (e.g. when
the <what> is "regex".  Only in 2.3 there's a capability to expand
portions of non-regex <what> clauses (which is rather useless, BTW).


Pierangelo Masarati

    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497