Web lists-archives.com

Re: [Samba] How to automatically store the macAddress in AD




On Thu, 14 Mar 2019 20:20:54 +0100
"Pierre, BRIEC via samba" <samba@xxxxxxxxxxxxxxx> 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