The Samba-Bugzilla – Bug 9952
samba_dnsupdate: Cannot contact any KDC for requested realm
Last modified: 2016-08-26 01:22:38 UTC
Created attachment 8975 [details]
Debug level 10 output of 'samba_dnsupdate'
- Two DC (both with BIND backend) in the domain
- DC1 (the one with all FSMO roles, etc.) is down
- DC2 uses it's own DNS in resolv.conf
When 'samba_dnsupdate' runs on DC2, in the logs the following appears:
Traceback (most recent call last):
File "/usr/local/samba/sbin/samba_dnsupdate", line 507, in <module>
File "/usr/local/samba/sbin/samba_dnsupdate", line 120, in get_credentials
RuntimeError: kinit for DC2$@SAMDOM.EXAMPLE.COM failed (Cannot contact any KDC for requested realm)
I'm not sure, if this is a problem. But maybe the error message can be beautified with a small patch, when you have time. :-)
I re-checked this with 4.5.0rc2: The problem does not exist anymore in this version. I close this bug report.