[Samba] schema enhancement recommandation?

Andrew Bartlett abartlet at samba.org
Mon Sep 10 18:09:33 UTC 2018


On Mon, 2018-09-10 at 19:35 +0200, Oliver Rath via samba wrote:
> Hi Rowland,
> 
> thank you for your fast answer. More see below.
> 
> On 10.09.2018 19:18, Rowland Penny via samba wrote:
> > 
> > [..] ERR: Object class violation : "objectclass_attrs: attribute
> > > 
> > > 'macAddress' on entry 'CN=DEMO-
> > > 02,CN=Computers,DC=dmiserver,DC=lan'
> > > does not exist in the specified objectclasses!" on DN
> > > CN=DEMO-02,CN=Computers,DC=dmiserver,DC=lan at block before line
> > > 13
> > > Add failed after processing 0 records
> > > 
> > The possible answer is in the error message. The attribute is
> > actually
> > 'macAddress' and its objectclass is 'ieee802Device', so if you add
> > the
> > objectclass and fix the syntax it may work.
> Hmm. Looking with google tells me, that ieee803Device ist part of
> nis.schema, which is already implemented on my ad with --rfc2307 via
> provisioning.

That (thankfully) doesn't change the schema, but regardless.

> But changing macaddress to
> 
> ieee803Device: aa:bb:cc:dd:ee:ff

No, what Rowland was saying is to modify objectclass to additionally
include ieee802device, then use macAddress.

Andrew Bartlett
-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba






More information about the samba mailing list