[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Help on Index
Aadish Shrestha wanted us to know:
>similar to database index. But i didn't understand what present, equality,
>etc means
> index default pres,eq
> index objectClass,uid
> index cn,sn eq,sub,appro
In your previous email, you asked about ACL's for qmail, so I'm assuming
you are asking about the same situation here. Here's what I do in my
slapd.conf:
database ldbm
suffix "dc=domain,dc=org"
rootdn "cn=Manager,dc=domain,dc=org"
rootpw {crypt}rX9eUQ0sh0b9o
directory /var/lib/ldap
access to attr=userPassword
by dn="cn=Manager,dc=domain,dc=org" write
by dn="cn=courier,dc=domain,dc=org" read
by dn="cn=qmail,dc=domain,dc=org" read
by dn="cn=horde,dc=domain,dc=org" read
by self write
by * auth
access to *
by dn="cn=Manager,dc=domain,dc=org" write
by dn="cn=courier,dc=domain,dc=org" read
by dn="cn=qmail,dc=domain,dc=org" read
by dn="cn=horde,dc=domain,dc=org" read
by self read
index cn,sn,uid pres,eq
index mail,mailAlternateAddress eq
index objectClass eq
I created a different identity for each to bind with so I could control
what access each entity has.
--
Blue skies... Todd
| Get a bigger hammer! | Are you feeling lucky...punk? |
| http://www.mrball.net | I've had better days... |
| http://faq.mrball.net | It's the end of the world as we know i|