[Samba] Samba4 in FreeBSD 9 i386 for Domain controller not working. Samba version 4.1.0 pre1-GIT cf15406

Carl Gabel cgabel at gmail.com
Mon Dec 3 05:22:44 MST 2012

pccom frank <pccom.frank <at> hotmail.com> writes:

> Hi, I have deinstalled bind99 and re-made Samba4But still, Samba4 not 
working.The following are what I
> did.Looks like it is the dnsupdate problem. This time, it is the samba4's 
dnsupdate problem.
> Do I have to initialize kdc server?
> Those are copied from FreeBSD handbook for Kerberos 5.
> .....Note that this /etc/krb5.conf file implies that your KDC will have the 
fully-qualified hostname of
> kerberos.example.org. You will need to add a CNAME (alias) entry to your zone 
file to accomplish this if
> your KDC has a different hostname.Note: For large networks with a properly 
configured BIND DNS server,
> ...
> root <at> f10:/usr/local/samba/sbin # ./samba -i -M singlesamba version 
> started.Copyright Andrew Tridgell and the Samba Team 1992-2012samba: using 
'single' process
> model/usr/local/samba/sbin/samba_dnsupdate: Traceback (most recent call
> last):/usr/local/samba/sbin/samba_dnsupdate:   File 
> line 507, 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 121, in
> get_credentials/usr/local/samba/sbin/samba_dnsupdate:     
> ccachename)/usr/local/samba/sbin/samba_dnsupdate: RuntimeError: kinit for 
> failed (Cannot contact any KDC for requested 
> ../source4/dsdb/dns/dns_update.c:294: Failed DNS update - 

Did you manage to resolve this issue?
I am encountering the same problem with FreeBSD9
amd64 and Samba Version 4.1.0pre1-GIT-99efe84,
and so far have found no solutions.

More information about the samba mailing list