[Samba] How to switch from internal DNS to Bind

Rowland penny rpenny at samba.org
Thu Dec 31 19:30:08 UTC 2015


On 31/12/15 18:28, James wrote:
> On 12/31/2015 11:01 AM, Reindl Harald wrote:
>>
>>
>> Am 31.12.2015 um 16:51 schrieb James:
>>> I forgot, I do not want to update the distro at the moment. My
>>> production is currently on 12.04. Want to keep things symmetrical. I'm
>>> going to compile and build bind again.
>>>
>>> mount | grep /run
>>> tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
>>> none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
>>> none on /run/shm type tmpfs (rw,nosuid,nodev)
>>
>> so it's like on every recent distribution not persistent
>> https://www.google.at/#q=ubuntu+12.04+/var/run
>>
>> http://askubuntu.com/questions/303120/how-folders-created-in-var-run-on-each-reboot 
>>
>>
>>
>>
> OK I think I solved the tkey-gssapi issue. Apparently It wasn't in the 
> correct location in named.conf. The syslog no longer shows any 
> meaningful bind errors. Looking at the samba log I do see some.
>
>
> [2015/12/31 13:22:46.466800,  0] 
> ../source4/smbd/server.c:370(binary_smbd_main)
>   samba version 4.2.5 started.
>   Copyright Andrew Tridgell and the Samba Team 1992-2014
> ldb: unable to dlopen /usr/local/samba/lib/ldb/dns_notify.so : 
> /usr/local/samba/lib/private/liberrors-samba4.so: version 
> `SAMBA_4.3.0' not found (required by 
> /usr/local/samba/lib/ldb/dns_notify. so)
> ldb: unable to dlopen /usr/local/samba/lib/ldb/tombstone_reanimate.so 
> : /usr/local/samba/lib/private/libdsdb-module-samba4.so: version 
> `SAMBA_4.3.0' not found (required by /usr/local/samba/lib/l 
> db/tombstone_reanimate.so)
> [2015/12/31 13:22:48.050030,  0] 
> ../source4/smbd/server.c:488(binary_smbd_main)
>   samba: using 'standard' process model
> [2015/12/31 13:22:48.358595,  0] 
> ../lib/util/become_daemon.c:124(daemon_ready)
>   STATUS=daemon 'samba' finished starting up and ready to serve 
> connections
> [2015/12/31 13:22:50.709103,  0] 
> ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler)
>   /usr/local/samba/sbin/samba_spnupdate: ldb: unable to dlopen 
> /usr/local/samba/lib/ldb/dns_notify.so : 
> /usr/local/samba/lib/private/liberrors-samba4.so: version 
> `SAMBA_4.3.0' not found (require                                 d by 
> /usr/local/samba/lib/ldb/dns_notify.so)
> [2015/12/31 13:22:51.022158,  0] 
> ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler)
>   /usr/local/samba/sbin/samba_spnupdate: ldb: unable to dlopen 
> /usr/local/samba/lib/ldb/tombstone_reanimate.so : 
> /usr/local/samba/lib/private/libdsdb-module-samba4.so: version 
> `SAMBA_4.3.0' not                                  found (required by 
> /usr/local/samba/lib/ldb/tombstone_reanimate.so)
> [2015/12/31 13:22:51.377786,  0] 
> ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler)
>   /usr/local/samba/sbin/samba_dnsupdate: ldb: unable to dlopen 
> /usr/local/samba/lib/ldb/dns_notify.so : 
> /usr/local/samba/lib/private/liberrors-samba4.so: version 
> `SAMBA_4.3.0' not found (require                                 d by 
> /usr/local/samba/lib/ldb/dns_notify.so)
> [2015/12/31 13:22:51.800456,  0] 
> ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler)
>   /usr/local/samba/sbin/samba_dnsupdate: ldb: unable to dlopen 
> /usr/local/samba/lib/ldb/tombstone_reanimate.so : 
> /usr/local/samba/lib/private/libdsdb-module-samba4.so: version 
> `SAMBA_4.3.0' not                                  found (required by 
> /usr/local/samba/lib/ldb/tombstone_reanimate.so)
>
>
> I need to update to Samba 4.3 in order to resolve this. What exactly 
> do I lose by not updating?
>

OK James, I have just spent the last hour trying to compile bind9 on the 
latest Ubuntu 12.04, well that is not entirely true. I have been trying 
to install the require packages to compile bind9 and it seems that lots 
of required packages are no longer available i.e.

Package gcc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gcc' has no installation candidate

So, sorry, but I have given up, I have had another thought, could your 
problems be caused by apparmor ?

I still think that you would be better off upgrading to 14.04.

Rowland




More information about the samba mailing list