Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On FreeBSD we run Samba4 as a DC and until recently had our IP addresses handed out by the routers DHCP server. We switched to running a DHCP server on the FreeBSD machine with the following configuration:-

# dhcpd.conf
# Sample configuration file for ISC dhcpd 

# option definitions common to all supported networks...
option domain-name "";
option domain-name-servers;

default-lease-time 600;
max-lease-time 7200;

# Use this to enble / disable dynamic dns updates globally.
#ddns-update-style none;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

# This is a very basic subnet declaration.

subnet netmask {
  option routers;

We now cannot add machines to the domain. The Windows 8.1 clients complain of "path not found" after entering credentials, correct or not.

The Samba4 configuration is very simple:-

#Global parameters
    workgroup = HLB
    realm = HLB.NET
    netbios name = SERVER1
    server role = active directory domain controller
    dns forwarder =
    nsupdate command = /usr/local/bin/samba-nsupdate -g
    allow dns updates = nonsecure

    path = /var/db/samba4/sysvol/
    read only = No

    path = /var/db/samba4/sysvol
    read only = No

    path = /srvdata/homes
    read only = No

    path = /srvdata/profiles
    read only = No

    path = /srvdata/packages
    read only = No

DNS tests seem to be as expected:- host -t SRV Yields:- has SRV record 0 100 389


host -t SRV

Yields:- has SRV record 0 100 88

Finally, whe testing the DNS A record via:-

host -t A

The following is returned:- has address

It seems that we may have missed some configuration option when setting up the DHCP server, however we are stumped at the moment. Any insight would be superb as we are sure there are others that have a similar setup to us.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.