[Samba] open: /var/lib/samba/private/named.conf: permission denied

Davor Vusir davortvusir at gmail.com
Wed Jul 30 07:19:42 MDT 2014


Den 30 jul 2014 02:07 skrev "Carlos Ibrahim Arias" <carlos at braimtec.com>:
>
> Hello everyone,
>
> I’m deploying samba on a CenOS Server following the guide  'Samba AD DC
How To' at wiki.samba.org. Everything has gone right till I got to the
section 'Configuring Bind as Samba Active Directory backend’.
>
> Firstly Bind could not access '/var/lib/samba/private/named.conf’ when
adding the option 'include "/var/lib/samba/private/named.conf”;’ to
/etc/named.conf. I got the error message of the subject.
>
> I “solved” this adding the content to the named.conf file at
/etc/named.conf but it did not work neither. I got the following message:
>
> Jul 30 00:33:27 braimone named[2299]: loading configuration from
'/etc/named.conf'
> Jul 30 00:33:27 braimone named[2299]: using default UDP/IPv4 port range:
[1024, 65535]
> Jul 30 00:33:27 braimone named[2299]: using default UDP/IPv6 port range:
[1024, 65535]
> Jul 30 00:33:27 braimone named[2299]: listening on IPv4 interface lo,
127.0.0.1#53
> Jul 30 00:33:27 braimone named[2299]: listening on IPv4 interface eth1,
192.168.2.1#53
> Jul 30 00:33:27 braimone named[2299]: generating session key for dynamic
DNS
> Jul 30 00:33:27 braimone named[2299]: sizing zone task pool based on 5
zones
> Jul 30 00:33:27 braimone named[2299]: Loading 'AD DNS Zone' using driver
dlopen

Replace 'AD DNS Zone' with your DNS domain in Sambas private/named.conf.
And restart bind.

Regards
Davor

> Jul 30 00:33:29 braimone named[2299]: samba_dlz: Failed to connect to
/var/lib/samba/private/dns/sam.ldb
> Jul 30 00:33:29 braimone named[2299]: dlz_dlopen of 'AD DNS Zone' failed
> Jul 30 00:33:29 braimone named[2299]: SDLZ driver failed to load.
> Jul 30 00:33:29 braimone named[2299]: DLZ driver failed to load.
> Jul 30 00:33:29 braimone named[2299]: loading configuration: failure
> Jul 30 00:33:29 braimone named[2299]: exiting (due to fatal error)
>
> SElinux is set to enforced but I’m not getting any error, the permissions
are properly set and I don’t know what else I can do.
>
> Can anyone help?
>
> Thanks in advanced!
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list