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

Re: warning during slapindex



On Thu, 2005-04-07 at 16:11, FM wrote:
> 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
> 
> 
> What is wrong with these ?

Hi,

You used the groupstyle 'expand', which causes substring  substitution of submatches to take place.
But your dnstyle is not a regex. That's why you got the warnings.

You should use 'group.exact' instead of 'group.expand'.

Sam

Attachment: signature.asc
Description: This is a digitally signed message part