[Samba] run script on domain join
aflorent at iris-tech.fr
Wed May 23 07:36:48 UTC 2018
the host has first an address in dhcp pool between 192.168.1.100-200 (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
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
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 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"
>> 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 ?
phone: (33) 03 20 65 85 80
fax: (33) 03 20 65 85 81
mailto:aflorent at iris-tech.fr
More information about the samba