Issue 7895 - slapcat fails with olcRootDSE needing external schema
Summary: slapcat fails with olcRootDSE needing external schema
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-13 22:16 UTC by Ryan Tandy
Modified: 2014-10-23 07:31 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 Ryan Tandy 2014-07-13 22:16:20 UTC
Full_Name: Ryan Tandy
Version: master/3102cbb
OS: Debian unstable
URL: 
Submission from: (NULL) (24.68.121.206)


Debian bug report: https://bugs.debian.org/599235

When I set olcRootDSE to a file containing:

dn: 
objectClass: locality

slapcat fails, saying:

53c30188 str2entry: invalid value for attributeType objectClass #0 (syntax
1.3.6.1.4.1.1466.115.121.1.38)
53c30188 root_dse_read_file: could not parse entry (file="rootdse.ldif" line=2)
53c30188 olcRootDSE: value #0: <olcRootDSE> could not read file rootdse.ldif
53c30188 config error processing cn=config: <olcRootDSE> could not read file
slapcat: bad configuration directory!

However, slapd itself works normally, and olcRootDSE is applied properly.

If I change 'locality' to a built-in objectClass, for example
'extensibleObject', then it works.

slapd.conf's rootdse directive also works, as long as the appropriate schema is
loaded earlier.

Background: the bug was reported by a user of the Kolab groupware package, which
adds the "kolab" objectClass to the rootDSE, when his database upgrade
(slapcat/slapadd) failed.

thanks,
Ryan
Comment 1 Howard Chu 2014-08-02 18:27:07 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 2 Quanah Gibson-Mount 2014-08-04 21:03:27 UTC
changed notes
changed state Test to Release
Comment 3 OpenLDAP project 2014-10-23 07:31:59 UTC
fixed in master
fixed in RE25
fixed in RE24
Comment 4 Quanah Gibson-Mount 2014-10-23 07:31:59 UTC
changed notes
changed state Release to Closed