openldap@laimbock.com wrote:
Full_Name: Patrick Laimbock Version: RE24 OS: CentOS 6.3 x86_64 URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (94.210.175.192)
Thanks for the report. Now fixed in master.
In the OpenLDAP Admin Guide on page 38 it says:
- olcSuffix: "dc=example,dc=com"
- olcDbDirectory: /usr/local/var/openldap-data
- olcRootDN: "cn=Manager,dc=example,dc=com"
- olcRootPW: secret
- olcDbIndex: uid pres,eq
- olcDbIndex: cn,sn,uid pres,eq,approx,sub
When I try to slapadd that example config I get the following errors:
5117a0af str2entry: invalid value for attributeType olcSuffix #0 (syntax 1.3.6.1.4.1.1466.115.121.1.12)
5117a1ea str2entry: invalid value for attributeType olcRootDN #0 (syntax 1.3.6.1.4.1.1466.115.121.1.12)
/etc/openldap34/slapd.d: line 1: duplicate index definition for attr "uid"
When I remove the quotes from the olcSuffix (line 34) and olcRootDN (line 36) entries and remove the double uid from either line 38 or line 39 then the slapadd action is successful.