Web lists-archives.com

Re: [Samba] Setup a new samba AD DC




On Wed, 26 Apr 2017 11:49:08 +0200
Dario Lesca via samba <samba@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx> 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
fedora:

On debian:
root@dc3:~# ls -lad /etc/dhcp/
drwxr-xr-x 4 root root 4096 Feb 27 11:09 /etc/dhcp/
root@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@fed24:~# ls -lad /etc/dhcp/
drwxr-xr-- 3 root root 61 Apr 26 09:07 /etc/dhcp/
root@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.

Rowland


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba