Thursday, March 4, 2021

[389-users] Re: Error while trying to add Object -> unknown object class "olcSchemaConfig"

Hi Dey,

I think that the problem is that the schema ldif is written for OpenLDAP and not 389 ...
Removing the olc prefix from the ldif will probably be enough to fix the issue.

FYI: there is a discussion about such problem in


On Thu, Mar 4, 2021 at 6:57 AM dd4321 Dey <> wrote:
I am trying to use LDAP service which is installed in the IPA server to authenticate Guacamole users. Guacamole and LDAP integration specifies that i need to create an additional object called guacConfigGroup.

To accomplish that, i have downloaded the supplied ldif file from and executed ldapadd utility command with the following ldif file:


# ldapadd -h -p 389 -x -D "cn=Directory Manager" -w 'secret' -f guacConfigGroup.ldif


dn: cn=guacConfigGroup,cn=schema,cn=config
objectClass: olcSchemaConfig
cn: guacConfigGroup
olcAttributeTypes: {0}( NAME 'guacConfigProtocol' SYNTAX )
olcAttributeTypes: {1}( NAME 'guacConfigParameter' SYNTAX )
olcObjectClasses: {0}( NAME 'guacConfigGroup' DESC 'Guacamole configuration group' SUP groupOfNames MUST guacConfigProtocol MAY guacConfigParameter )

However, i am getting the following error while trying to add guacConfigGroup object

adding new entry "cn=guacConfigGroup,cn=schema,cn=config"
ldap_add: Object class violation (65)
        additional info: unknown object class "olcSchemaConfig"

Any insights will be highly appreciated !

389-users mailing list --
To unsubscribe send an email to
Fedora Code of Conduct:
List Guidelines:
List Archives:
Do not reply to spam on the list, report it:


389 Directory Server Development Team

No comments:

Post a Comment