[Samba] How to automatically store the macAddress in AD

Rowland Penny rpenny at samba.org
Thu Mar 14 20:58:35 UTC 2019


On Thu, 14 Mar 2019 21:32:43 +0100
"Pierre, BRIEC" <pierre.briec at stetherese.net> wrote:

> Hi,
> from the veyon documentation
> A standard Active Directory does not have an attribute for storing MAC
> addresses. 

Do you think I imagined the attribute called 'macAddress' ?
Its objectclass is 'ieee802Device' and they can be added to a computers
object in AD.

Rowland

>You’ll need to populate MAC addresses manually in an
> existing unused attribute such as wwwHomepageor extend the AD scheme.
> Additionally you can grant computers group write access to SELF and
> let them store the MAC address of the first physical LAN adapter by
> using a PowerShell startup script.
> 
> So, is it possible ?
> 
> 
> Le jeu. 14 mars 2019 20:31, Rowland Penny via samba
> <samba at lists.samba.org> a écrit :
> 
> > On Thu, 14 Mar 2019 20:20:54 +0100
> > "Pierre, BRIEC via samba" <samba at lists.samba.org> wrote:
> >  
> > > Hi list,
> > >
> > > Does someone know a way to automatically store the hwaddress in
> > > the AD? I'm using Veyon in my school to manage the students PCs
> > > and if the hwadress is populated in the AD, the Room
> > > configuration can be set with AD otherwise i have to manage rooms
> > > manually. I'm using samba4 with bind and isc-dhcp-server are on
> > > the same server. Can we use scripts or some ways?
> > >
> > > thanks in advance
> > > Pierre
> > >
> > > --  
> >
> > Well, seeing as the dhcp server passes the mac address to the update
> > script and there is an attribute called 'macAddress' available, it
> > should be fairly easy (famous last words) to add something to the
> > script to do what you want.
> >
> > The main stumbling block will be in where to store it.
> >
> > 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