Issue 7522 - Admin Guide: bugs in example
Summary: Admin Guide: bugs in example
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: documentation (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-10 14:17 UTC by openldap@laimbock.com
Modified: 2014-08-01 21:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description openldap@laimbock.com 2013-02-10 14:17:48 UTC
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)


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.
Comment 1 Howard Chu 2013-03-25 16:21:27 UTC
changed notes
changed state Open to Test
moved from Incoming to Documentation
Comment 2 Howard Chu 2013-03-25 16:31:02 UTC
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/

Comment 3 Quanah Gibson-Mount 2013-03-25 16:51:26 UTC
changed notes
changed state Test to Release
Comment 4 Quanah Gibson-Mount 2013-04-02 23:54:33 UTC
changed notes
changed state Release to Closed
Comment 5 OpenLDAP project 2014-08-01 21:04:12 UTC
fixed in master
fixed in RE24