[turba] LDAP setup

Christian Rishoj christian at rishoj.net
Sat Aug 30 06:41:36 PDT 2003


> I'm not 100% sure, but I guess you'll have to get the SASL library and compile
> LDAP with SASL.
> The SASL docs says:
> "/etc/passwd, via the call getpwnam(), is supported innately in the library.
> Simply set the configuration option "pwcheck_method" to "passwd"."
> 
> By default, sasldb (the SASL secrets database) is used.

Suppose my address books reside in:

    ou=personal_addressbook, dc=ond, dc=tv2i, dc=dk

...in which there is an organizationalUnit for each user.


Now, in the ACL it says:

# Enforce ACL to personal address books
access to dn="ou=(.+), ou=personal_addressbook, dc=ond, dc=tv2i, dc=dk"
        by dn="uid=$1, dc=ond, dc=tv2i, dc=dk" write

Should I add an   uid=$1, dc=ond, dc=tv2i, dc=dk   for each user as well? And which objectclass should these be?

Christian



More information about the turba mailing list