[Samba] Naming violation: objectClass: myObjectClass not a valid child class for <>

RhineDevil tanyadegurechaff at disroot.org
Sun Jul 26 09:58:16 UTC 2020

Sun, 26 Jul 2020 09:57:05 +0100 Rowland penny via samba <samba at lists.samba.org>:
> On 26/07/2020 09:43, RhineDevil via samba wrote:
> > 64 Naming violation: objectClass: myObjectClass not a valid child class for <OU=myOrganizationUnit,DC=domain,DC=local>
> > Could someone give me an hint on why such an error could occur?
> Please post the ldif you are trying to add.
> Also, if you are using the .local tld, then can I suggest you don't, 
> .local is reserved for bonjour and hence, avahi
> Rowland

dn: CN=rfc822MailMember,CN=Schema,CN=Configuration,dc=local
objectClass: top
objectClass: attributeSchema
schemaIdGuid:: aB7do9Dx3LkCSVgvixllpg==
cn: rfc822MailMember
name: rfc822MailMember
lDAPDisplayName: rfc822MailMember
description: rfc822 mail address of group member(s)
oMSyntax: 22
isSingleValued: FALSE

dn: CN=nisMailAlias,CN=Schema,CN=Configuration,dc=local
objectClass: top
objectClass: classSchema
schemaIdGuid:: gMnYtZqCPTLAMXe3RZus8A==
cn: nisMailAlias
name: nisMailAlias
lDAPDisplayName: nisMailAlias
subClassOf: top
objectClassCategory: 1
description: NIS mail alias
mustContain: cn
mayContain: rfc822MailMember
defaultObjectCategory: CN=nisMailAlias,CN=Schema,CN=Configuration,dc=local

dn: ou=myOrganizationUnit,dc=local
ou: myOrganizationUnit
objectClass: top
objectClass: organizationalUnit

cn: abuse
objectClass: nisMailAlias
objectClass: top
rfc822MailMember: root

You said you didn't want to help me about this but if you'd do at least I'd learn something useful for custom schemas, since this type of error isn't referenced anywhere
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Firma digitale OpenPGP
URL: <http://lists.samba.org/pipermail/samba/attachments/20200726/9c068e3f/attachment.sig>

More information about the samba mailing list