[Samba] Setup a new samba AD DC

Rowland Penny rpenny at samba.org
Wed Apr 26 10:37:31 UTC 2017

On Wed, 26 Apr 2017 11:49:08 +0200
Dario Lesca via samba <samba at lists.samba.org> wrote:

> Il giorno mer, 26/04/2017 alle 07.27 +0100, Rowland Penny via samba ha
> scritto:
> > On Wed, 26 Apr 2017 01:55:16 +0200
> > Dario Lesca via samba <samba at lists.samba.org> wrote:
> > 
> > Your problem is that you need to find out just who dhcpd runs as on
> > fedora. On Devuan it is root and everything just works.
> Yes, on Debian work.

OK, done some investigating and it seems likely this is the problem on

On debian:
root at dc3:~# ls -lad /etc/dhcp/
drwxr-xr-x 4 root root 4096 Feb 27 11:09 /etc/dhcp/
root at dc3:~# ls -la /etc/dhcp/dhcpd.conf
-rw-r--r-- 1 root root 2107 Mar  2 16:49 /etc/dhcp/dhcpd.conf

On fedora:
root at fed24:~# ls -lad /etc/dhcp/
drwxr-xr-- 3 root root 61 Apr 26 09:07 /etc/dhcp/
root at fed24:~# ls -la /etc/dhcp/dhcpd.conf
-rw-r--r-- 1 root root 123 Aug  3 2016 /etc/dhcp/dhcpd.conf

I think it is all down to the permissions (or lack of them) on /etc/dhcp

debian: drwxr-xr-x
fedora: drwxr-xr--

I think that 'chmod +x /etc/dhcp' would have fixed all of your problems.


More information about the samba mailing list