You are not logged in.
Hi,
I set up a samba Active Directory Domain Controller as per this Wiki page..
I can join Windows PCs to the domain, get an IP from the DHCP server and get to the internet - all great.
What is not working is administering the DHCP server from Windows, using the recommended Windows RSAT tools..
I have set up the same thing using Ubuntu 15.10 before and everything, including administering DHCP worked.
The error message RSAT gives me, after I add the server to the dhcp control page, is "DHCP might not be running on this server".
How do I debug this? Below is my dhcp.conf for reference:
subnet 192.168.1.0 netmask 255.255.255.0
{
authorative;
range 192.168.1.20 192.168.1.200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
option domain-name-servers 192.168.1.251;
option domain-name "some.tld";
default-lease-time 600;
max-lease-time 6000;
on commit {
set ClientIP = binary-to-ascii(10, 8, ".", leased-address);
set ClientName = pick-first-value(option host-name, host-decl-name);
execute("/usr/bin/dhcpd-update-samba-dns.sh", "add", ClientIP, ClientName);
}
on release {
set ClientIP = binary-to-ascii(10, 8, ".", leased-address);
set ClientName = pick-first-value(option host-name, host-decl-name);
execute("/usr/bin/dhcpd-update-samba-dns.sh", "delete", ClientIP, ClientName);
}
on expiry {
set ClientIP = binary-to-ascii(10, 8, ".", leased-address);
set ClientName = pick-first-value(option host-name, host-decl-name);
execute("/usr/bin/dhcpd-update-samba-dns.sh", "delete", ClientIP, ClientName);
}
}Offline