[turba] Turba and LDAP as Data Source

Anders Bruun Olsen anders at bruun-olsen.net
Tue Jun 10 05:26:51 PDT 2003


On Fri, Jun 06, 2003 at 03:21:26PM -0400, Mohamed Magdi Abbas wrote:
> I have the LDAP OU setup in the following manner:
> ou=personal_addressbook,dc=yaqeen,dc=info
> 	ou=user1,ou=personal_addressbook,dc=yaqeen,dc=info
> 		cn=kirk,ou=user1,ou=personal_addressbook,dc=yaqeen,dc=info
> 		cn=spock,ou=user1,ou=personal_addressbook,dc=yaqeen,dc=info
> 	ou=user2,ou=personal_addressbook,dc=yaqeen,dc=info
> 		cn=ahmed,ou=user2,ou=personal_addressbook,dc=yaqeen,dc=info

I am trying to setup personal addressbooks and have created
ou=personal_addressbooks,dc=dsl,dc=dk and
ou=abo,ou=personal_addressbooks,dc=dsl,dc=dk and have this in
slapd.conf:

access to dn="ou=(.+), ou=personal_addressbook, dc=dsl, dc=dk"
        by dn="uid=$1,ou=accounts,dc=dsl,dc=dk" write
        by * none

But whenever I try to add contacts to it I get this error logged:

Jun 10 14:24:24 gorm slapd[32389]: connection_get(18)
Jun 10 14:24:24 gorm slapd[9966]: ==> ldbm_back_bind: dn: uid=abo,ou=accounts,dc=dsl,dc=dk
Jun 10 14:24:24 gorm slapd[9966]: send_ldap_result: 0::
Jun 10 14:24:24 gorm slapd[32389]: connection_get(18)
Jun 10 14:24:24 gorm slapd[11242]: do_add: ndn (CN=MOR,OU=ABO,OU=PERSONAL_ADDRESSBOOK,DC=DSL,DC=DK)
Jun 10 14:24:24 gorm slapd[11242]: ==> ldbm_back_add: cn=Mor,ou=abo,ou=personal_addressbook,dc=dsl,dc=dk
Jun 10 14:24:24 gorm slapd[11242]: send_ldap_result: 50::no write access to parent
Jun 10 14:24:24 gorm slapd[32389]: connection_get(18)

Can anybody tell me how to setup openldap correctly to allow this?

-- 
Anders
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/O d--@ s:+ a-- C++ $UL+++ P++ L+++ E- W+ N(+) o K? w O- M-- V
PS+ PE@ Y+ PGP+ t 5 X R+ tv+ b+ DI+++ D+ G e- h !r y?
------END GEEK CODE BLOCK------
PGPKey: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8BFECB41


More information about the turba mailing list