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

RhineDevil tanyadegurechaff at disroot.org
Sun Oct 11 10:06:51 UTC 2020


Mon, 27 Jul 2020 09:09:04 +0100 Rowland penny via samba <samba at lists.samba.org>:
> On 27/07/2020 01:12, RhineDevil wrote:
> > Sun, 26 Jul 2020 19:03:04 +0100 Rowland penny via samba <samba at lists.samba.org>:
> >> On 26/07/2020 18:45, RhineDevil wrote:
> >>> Done, I still get the same errors when adding mod.ldif
> >>>
> >>> (I used ldbadd instead of ldbmodify, is that a problem?)
> >> No, that isn't the problem, the problem is that I forgot to remove a
> >> comment :-(
> >>
> >> Create another ldif:
> >>
> >> /tmp/classmod.ldif
> >>
> >> dn: CN=nisMailAlias,CN=Schema,CN=Configuration,DC=mydomain,DC=ldom
> >> changetype: modify
> >> add: possSuperiors
> >> possSuperiors: top
> >>
> >> Then stop Samba again and modify the class with:
> >>
> >> service samba-ad-dc stop
> >>
> >> ldbmodify -H /var/lib/samba/private/sam.ldb /tmp/classmod.ldif
> >> --option="dsdb:schema update allowed"=true
> >>
> >> service samba-ad-dc start
> >>
> >> Then try to add your OU ldif again.
> >>
> >> Rowland
> >>
> > Got nice results, later I moved to other migrations and that's the only error I don't know how to solve:
> > Error: Unable to parse dn 'CN=echo+ipServiceProtocol=ddp,CN=services,CN=ypServ30,CN=RpcServices,CN=System,DC=mydomain,DC=ldom'
> >
> > dn: CN=echo+ipServiceProtocol=ddp,CN=services,CN=ypServ30,CN=RpcServices,CN=System,DC=mydomain,DC=ldom
> > cn: echo
> > objectClass: ipService
> > objectClass: top
> > ipServicePort: 4
> > ipServiceProtocol: ddp
> >
> No, sorry, I cannot parse it either, your 'CN' must match the 'cn:'
> 
> Just what are you trying to add ?
> 
> Rowland

I'm trying to add /etc/services to samba schema
-------------- 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/20201011/f7310b44/attachment.sig>


More information about the samba mailing list