[Samba] run script on domain join

Arnaud FLORENT
2018-05-22T12:33:45Z

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"
mode


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

thank you.