[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#7522) Admin Guide: bugs in example



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:
>
> 34. olcSuffix: "dc=example,dc=com"
> 35. olcDbDirectory: /usr/local/var/openldap-data
> 36. olcRootDN: "cn=Manager,dc=example,dc=com"
> 37. olcRootPW: secret
> 38. olcDbIndex: uid pres,eq
> 39. 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.
>
>


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/