[Samba] Extending the samba schema from OpenLdap

Omnis ludis - games sergey.gortinsc17 at gmail.com
Mon May 20 13:28:08 UTC 2024


Hello, the problem really was that the domain name was superimposed on the
naming context cn=schema,cn=configuration, thanks for the help

пн, 20 мая 2024 г. в 13:33, Omnis ludis - games <sergey.gortinsc17 at gmail.com
>:

> yes this is the actual name of my test domain, okay I thought about it
> too, I’ll try to create a domain with a different name and test the
> extension again, I’ll post the result
>
> пн, 20 мая 2024 г. в 13:30, Rowland Penny via samba <samba at lists.samba.org
> >:
>
>> 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
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba
>>
>


More information about the samba mailing list