"Duplicate option" error when adding the LDAP schema to OpenLDAP
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Ziad Sawalha |
Bug Description
With:
* keystone current trunk
* slapd 2.4.25-1.1ubuntu4.1
When I try to add the schema, I have this error:
root@dino:
olcObjectClasses: value #1 olcObjectClasses: Duplicate option before ( keystoneEnabled ) MAY ( mail $ userPassword ) )
ObjectClassDesc
numericoid whsp ; ObjectClass identifier
[ "NAME" qdescrs ]
[ "DESC" qdstring ]
[ "OBSOLETE" whsp ]
[ "SUP" oids ] ; Superior ObjectClasses
[ ( "ABSTRACT" / "STRUCTURAL" / "AUXILIARY" ) whsp ]
[ "MUST" oids ] ; AttributeTypes
[ "MAY" oids ] ; AttributeTypes
whsp ")"
config error processing cn={3}keystone,
slaptest: bad configuration file!
Removing those lines (see the patch):
MUST ( keystoneName )
MUST ( keystoneEnabled )
Make slaptest pass and slapd can run. I don't have tested further yet, I'll add more detail if the rest works.
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | essex-3 → 2012.1 |
Nope, doesn't works without defining keystoneName and keystoneEnabled.