Web lists-archives.com

Re: [Samba] run script on domain join

the host has first an address in dhcp pool between (it is not known by dhcpd with a fixed ip address)

i would like to add a dhcpd record to provide always same ip to host (ie fixed-address

when host is joined to my samba domain

in NT PDC, i can do that with  "add machine script" in smb.conf

but in AD DC, this script is not run

so i m searching another way to run a script when a computer join the AD DC domain

Le 23/05/2018 à 09:19, Rowland Penny via samba a écrit :
On Tue, 22 May 2018 14:33:45 +0200
Arnaud FLORENT via samba <samba@xxxxxxxxxxxxxxx> wrote:

Hi everyone.

I setup a samba AD domain

on NT PDC,  i was using  'add machine script' to run a script to add
static dhcp lease for joined computer.

but this script is not called in "active directory domain controller"

is there another way to run a script when a computer join the domain?

thank you.

I don't understand this, surely the computer must have an ipaddress
before it is joined, or am I missing something here ?


IRIS Technologies

phone: (33) 03 20 65 85 80
fax: (33) 03 20 65 85 81


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