Roundcube Community Forum

 

Using LDAP for extended address book

Started by deltatech, May 05, 2011, 07:41:59 PM

Previous topic - Next topic

deltatech

I am newbie to LDAP but I used the rcabook-setup.sh file to create the address book and I am getting an error.   Here is the results of running the script

> sh ./rcabook-setup.sh
This script prepares an openLDAP server for a simple
addressbook, working "out of the box" with Roundcube:

  server: ldap://localhost:389
  org   : Delta Technical Services
  config: /etc/openldap/slapd.conf
  suffix: dc=deltatechnicalservices,dc=com
  rootdn: cn=Manager,dc=deltatechnicalservices,dc=com

-create the openLDAP base directory: dc=deltatechnicalservices,dc=com
  (as LDAP administator: cn=Manager,dc=deltatechnicalservices,dc=com)
  Enter LDAP Password:
adding new entry "dc=deltatechnicalservices,dc=com"

-create addressbook base directory: ou=rcabook,dc=deltatechnicalservices,dc=com
  (as LDAP administator: cn=Manager,dc=deltatechnicalservices,dc=com)
  Enter LDAP Password:
adding new entry "ou=rcabook,dc=deltatechnicalservices,dc=com"

-create the addressbook user: cn=rcuser,ou=rcabook,dc=deltatechnicalservices,dc=com
  (as LDAP administator: cn=Manager,dc=deltatechnicalservices,dc=com)
  Enter LDAP Password:
adding new entry "cn=rcuser,ou=rcabook,dc=deltatechnicalservices,dc=com"

ERROR-the addressbook user "cn=rcuser,ou=rcabook,dc=deltatechnicalservices,dc=com"
has no write permissions to "ou=rcabook,dc=deltatechnicalservices,dc=com"!
Please check the ACL in the coniguration file,
usually /etc/ldap/slapd.conf.
Do not forget to restart the server afterwards!


There was no documentation that explains what an ACL in the configuration file is or how to add it.