Bug 9952 - samba_dnsupdate: Cannot contact any KDC for requested realm
Summary: samba_dnsupdate: Cannot contact any KDC for requested realm
Status: RESOLVED WORKSFORME
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: DNS server (show other bugs)
Version: 4.0.6
Hardware: x64 Linux
: P5 normal (vote)
Target Milestone: ---
Assignee: Kai Blin
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-16 20:59 UTC by Marc Muehlfeld
Modified: 2016-08-26 01:22 UTC (History)
0 users

See Also:


Attachments
Debug level 10 output of 'samba_dnsupdate' (4.78 KB, application/octet-stream)
2013-06-16 20:59 UTC, Marc Muehlfeld
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Muehlfeld 2013-06-16 20:59:47 UTC
Created attachment 8975 [details]
Debug level 10 output of 'samba_dnsupdate'

Situation:
- 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>
    get_credentials(lp)
  File "/usr/local/samba/sbin/samba_dnsupdate", line 120, in get_credentials
    creds.get_named_ccache(lp, ccachename)
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. :-)
Comment 1 Marc Muehlfeld 2016-08-26 01:22:38 UTC
I re-checked this with 4.5.0rc2: The problem does not exist anymore in this version. I close this bug report.