[Samba] Samba 4 latest git failed to provision: DNS
steve
steve at steve-ss.com
Wed Feb 8 05:19:47 MST 2012
On 02/08/2012 01:33 AM, steve wrote:
> On 07/02/12 23:45, steve wrote:
This:
https://lists.samba.org/archive/samba-technical/2012-February/081535.html
fixes this:
>
>> More dns problems:
>>
>> samba --version
>> Version 4.0.0alpha18-GIT-e32ad9b
>>
>> bin/tdbbackup: /home/steve/samba-master/bin/shared/private/libtdb.so:
>> version `SAMBA_4.0.0ALPHA18_DEVELOPERBUILD' not found (required by
>> bin/tdbbackup)
>> Failed to setup database for BIND, AD based DNS cannot be used
>> Traceback (most recent call last):
>> File "./source4/setup/provision", line 262, in <module>
>> useeadb=eadb, next_rid=opts.next_rid, lp=lp)
>> File "bin/python/samba/provision/__init__.py", line 1757, in provision
>> am_rodc=am_rodc, lp=lp)
>> File "bin/python/samba/provision/__init__.py", line 1491, in
>> provision_fill
>> targetdir=targetdir, site=DEFAULTSITE)
>> File "bin/python/samba/provision/sambadns.py", line 990, in
>> setup_ad_dns
>> create_samdb_copy(samdb, logger, paths, names, domainsid,
>> domainguid)
>> File "bin/python/samba/provision/sambadns.py", line 751, in
>> create_samdb_copy
>> os.path.join(dns_dir, "sam.ldb"))
>> File "bin/python/samba/provision/sambadns.py", line 688, in tdb_copy
>> raise Exception("Error copying %s" % file1)
>> Exception: Error copying /usr/local/samba/private/sam.ldb
>>
>> Any ideas anyone?
>> Thanks,
>> Steve
>
But not this:
> Provisioning with the internal dns doesn't work either:
>
> /usr/local/samba/sbin/samba_dnsupdate: Traceback (most recent call last):
> /usr/local/samba/sbin/samba_dnsupdate: File
> "/usr/local/samba/sbin/samba_dnsupdate", line 487, in <module>
> /usr/local/samba/sbin/samba_dnsupdate: get_credentials(lp)
> /usr/local/samba/sbin/samba_dnsupdate: File
> "/usr/local/samba/sbin/samba_dnsupdate", line 119, in get_credentials
> /usr/local/samba/sbin/samba_dnsupdate: creds.get_named_ccache(lp,
> ccachename)
> /usr/local/samba/sbin/samba_dnsupdate: RuntimeError: kinit for
> HH3$@HH3.SITE failed (Cannot contact any KDC for requested realm)
> /usr/local/samba/sbin/samba_dnsupdate:
>
> Not my lucky day:(
It produces this error after a restart.
I've wasted quite a bit of time with cases like this. Would it be OK for
one of us here to subscribe to samba-technical if we promise not to post?
Thanks,
Steve
More information about the samba
mailing list