Hi,
You can test all this with slapacl:
/usr/local/sbin/slapacl -f /usr/local/etc/openldap/slapd.conf -v \ -U bjorn -b "o=University of Michigan,c=US" \ "o/read:University of Michigan"
Aha. Now I see.Because you've told slapd that everyone has read access.However, in this configuration * An authenticated "postmaster" e.g. cn=postmaster,jvd=domain.com,o=mailsrv,dc=rmacd,dc=com cannot edit their own or their users' entries * An authenticated user cannot edit their own entries
Does the dovecot user always bind to search?Apparently it doesn't and that's where I've been going partly wrong.
Think of walking along a line of people with someone following you: 1. The person following you knows all information in your directory server and is a translator. The line of people are the rules, but they don't speak english. 2. The first person that wants to talk (i.e. you've matched their rule to chat) tells the person following you what you are allowed to hear or do. You then both carry on. 3. The next person that talks to you (i.e. another match be it by * or directly), does the same, but if they've already been told they can share all the information, then you can't change that (i.e. a write). If they've been told to forget something or something you can change, you get told that. If the condition is "break", you get kicked out of the line and the person following you shares everything they know.
You'd use break if doing replication and the replication user always has a rule first so they rest don't get evaluated.
That's a pretty crap analogy, but I've done my best :-)
## Postfix doesn't want to search without the following
## (Tried access to dn.subtree="o=mailsrv,dc=rmacd,dc=com"
## but it just bailed out)
access to dn.subtree="dc=rmacd,dc=com"
by self write
by * read## Etc.
access to dn.base=""
by * read
by anonymous readaccess to dn.base="cn=Subschema"
by * readaccess to *
by self write
by users read
Best wishes, Ronald.
-- Ronald MacDonald : ronald@xxx.xxx.xxx http://www.rmacd.com/ +44-777-235-1655 4 1f1 Gillespie Cresc, Edinburgh.
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
|
This archive is kept by wibble+RM@xxx.xxx.xxx Morpheux | HomePage |