[Samba] run script on domain join

Rowland Penny
2018-05-23T07:19:41Z

On Tue, 22 May 2018 14:33:45 +0200
Arnaud FLORENT via samba <samba at lists.samba.org> 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"
> mode
>
>
> 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 ?

Rowland