[Samba] Extending the samba schema from OpenLdap

Rowland Penny rpenny at samba.org
Mon May 20 10:29:19 UTC 2024


On Mon, 20 May 2024 11:53:50 +0300
Omnis ludis - games via samba <samba at lists.samba.org> wrote:

> Good afternoon, I prepared a file with attributes and classes for the
> samba ad schema extension, I used oLschema2ldif to create an ldif
> file for the extension, I managed to add a list of attributes to the
> schema successfully, but when I try to add a class, the following
> error occurs
> 
> at block before line 17" on DN
> CN=AsteriskExtension,CN=Schema,CN=Configuration,DC=schema,DC=upDC=schema,DC=up
> Add failed after processing 0 records
> The error shows that there is duplication of entries in the file, but
> in fact my entry in the file looks like this:
> dn: CN=AsteriskExtension,CN=Schema,CN=Configuration,DC=schema,DC=up
> objectClass: top
> objectClass: classSchema
> governsID: 1.3.6.1.4.1.22736.5.2.1
> schemaIdGuid:: cr41tj7nW6N4O4nU4/c4kg==
> cn: AsteriskExtension
> name: AsteriskExtension
> lDAPDisplayName: AsteriskExtension
> description: PBX Extension Information for Asterisk
> subClassOf: top
> objectClassCategory: 3
> mustContain: cn
> mayContain:AstContext
> mayContain: AstExtension
> mayContain: AstPriority
> mayContain: AstApplication
> mayContain: AstApplicationData
> It’s clear that there is no duplication in the file, so I’m confused,
> what could it be?

Is your dns domain really 'schema.up' ?

If so, that could be your duplicate:
CN=Schema
DC=schema

Rowland



More information about the samba mailing list