[Samba] [Samba4] samba_dlz problem "loading configuration: already exists"
steve
steve at steve-ss.com
Sat Jan 7 14:21:40 MST 2012
On 01/07/2012 08:02 PM, Andreas Schweizer wrote:
> Hi,
>
> I'm new to this list and Samba4, so may be this is a stupid question. I've installed samba4 (4.0.0alpha18-GIT-7b42ceb) on a server in my home LAN and have a problem with samba_dlz and bind (9.8.1-P1).
>
> In the zone definition file for my LAN domain, I had configured the IP addresses for several host names (e.g. printer, ...) with "A" records. This worked perfectly fine in the past (e.g. "nslookup printer" returned the IP address of my printer). After adding the following line in /etc/named.conf according to the HOWTO:
>
> include "/usr/local/samba/private/named.conf";
>
> ...I now get an error from samba_dlz:
>
> named: samba_dlz: Failed to configure zone 'myzone.priv'
> named: loading configuration: already exists
>
> If I comment-out my zone in /etc/named.conf, Samba4 works fine (it can even update the DNS database), but I can of course no longer access my devices, e.g. nslookup printer returns:
>
> aschweiz ~> nslookup printer
> Server: 172.16.1.18
> Address: 172.16.1.18#53
>
> ** server can't find printer: NXDOMAIN
>
> What I already tried was to add my devices in dns_update_list, e.g. by adding a line:
>
> A printer 172.16.1.16
>
> However, then I get an error message when starting samba: "Failed DNS update - NT_STATUS_ACCESS_DENIED".
>
> Can anybody help me with this? How to add devices to the zone that Samba creates in the DNS server?
>
> Thank you,
> Andreas
>
>
>
I'm no expert but I also had problems with the dns updates. I added the
line:
tkey-gssapi-keytab "/usr/local/samba/private/dns.keytab";
to the options{} section of /etc/named.conf and all was well. There is
some named:named ownership stuff to do for that keytab and the dns
folder in the same directory. Not on the lan at the moment but I think
it's explained in named.txt, also in the /private directory.
HTH
Steve
More information about the samba
mailing list