Web lists-archives.com

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




On Wed, 20 Mar 2019 14:40:22 +0100
"Pierre, BRIEC via samba" <samba@xxxxxxxxxxxxxxx> wrote:

> Thanks Rowland for your modification.
> 
> The process is working fine as the information is added but is wrong
> 
> 
> the macaddress from DHCPREQUEST is 90:1b:0e:bb:12:8a
> and the macaddress in AD is: 1:90:1b:e:bb:12:8a (have you noticed the
> missing 0 and  1: is added at the beginning)
> 

No I hadn't, but I don't think it has anything to do with script, I
think DHCP is sending the wrong data:

Commit: IP: 192.168.0.88 DHCID: 1:ec:8:6b:c:cb:c2 Name: devstation

But, the request shows this:

DHCPREQUEST for 192.168.0.88 from ec:08:6b:0c:cb:c2 (devstation) via
eth0

1:ec:8:6b:c:cb:c2 != ec:08:6b:0c:cb:c2

Let me look into this, I could be some time ;-)

It doesn't really matter for the scripts original purpose, but it does
for your purpose.

Rowland

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba