[Samba] How to automatically store the macAddress in AD

Rowland Penny rpenny at samba.org
Thu Mar 14 19:31:35 UTC 2019

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.


More information about the samba mailing list