>i tried installing the Roundcube LDAP Addressbook following the howto
>posted overe here:
>http://trac.roundcube.net/wiki/Howto_Ldap
>
>The ldap installation is working fine, but the rcabook-setup.sh script
>is
>returning an error and the configuration breaks:
>
>-create addressbook base directory: ou=rcabook,dc=localhost
>  (as LDAP administator: cn=admin,dc=localhost)
>  adding new entry "ou=rcabook,dc=localhost"
>
>-create the addressbook user: cn=rcuser,ou=rcabook,dc=localhost
>  (as LDAP administator: cn=admin,dc=localhost)
>  adding new entry "cn=rcuser,ou=rcabook,dc=localhost"
>
>-create subdirectory for public contacts:
>ou=public,ou=rcabook,dc=localhost
>  (as Roundcube user: cn=rcuser,ou=rcabook,dc=localhost)
>adding new entry "ou=public,ou=rcabook,dc=localhost"
>
>ERROR-unable to create subdirectory!
>
>Can anybody assist?
>whats the problem here?
the two first connects are done as admin and ok. the failing one is done as rcuser... have you set up his special rigths in slapd.conf as described?


yes i use the described slapd.conf file with these lines:
# Grant the Roundcub user to create private users
access to dn.one="ou=private,ou=rcabook,dc=localhost" attrs=userPassword
        by dn="cn=rcuser,ou=rcabook,dc=localhost" write
        by anonymous auth
        by self write
        by * none

# For user authentication and password change
access to attrs=userPassword
        by dn="cn=admin,dc=localhost" write
        by anonymous auth
        by self write
        by * none

# Grant the Roundcube users access to their private addressbooks
access to dn.regex="^.*cn=([^,]+),ou=private,ou=rcabook,dc=localhost$"
        by dn="cn=admin,dc=localhost" write
        by dn="cn=rcuser,ou=rcabook,dc=localhost" write
        by dn.exact,expand="cn=$1,ou=private,ou=rcabook,dc=localhost" write

# Grant the Roundcube user access to the whole addressbook
access to dn.subtree="ou=rcabook,dc=localhost"
        by dn="cn=admin,dc=localhost" write
        by dn="cn=rcuser,ou=rcabook,dc=localhost" write

# For direcory access
access to *
        by dn="cn=admin,dc=localhost" write


Where exactly has the password for the rcuser to be set?
ir is it created running rcabook-setup.sh?

thanks


 
Andreas

>
>Server is running debian testing with slapd 2.4.31
>
>Thank you very much!
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Roundcube Development discussion mailing list
>dev@lists.roundcube.net
>http://lists.roundcube.net/mailman/listinfo/dev

_______________________________________________
Roundcube Development discussion mailing list
dev@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/dev