Bug 4714 - handle broken dns-server and No DNS error
handle broken dns-server and No DNS error
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: net utility
All Linux
: P3 enhancement
: none
Assigned To: Jim McDonough
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2007-06-19 15:28 UTC by Alexander Spannagel
Modified: 2007-09-21 11:27 UTC (History)
1 user (show)

See Also:

patch meantioned in bug (2.74 KB, patch)
2007-06-19 15:48 UTC, Alexander Spannagel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Spannagel 2007-06-19 15:28:39 UTC

We have two issues using "net ads dns register". For both i have made minor changes to net_ads.c.

1. not responding DNS-Server
When the first nameserver returned is not responding "net ads dns register" fails.
Solution: go through all servers until update works or no more nameserver in the list.

2. machine fqdn differs from ad fqdn
When the domainname can not be fetched from hosts file (e.g. unix fqdn not equal to windows fqdn) "net ads dns register" fails with "No DNS domain...".
Solution: Try the REALM as DNS domain.
Not quite shure, but i thing the REALM is always the better choice. In our setup the unix/windows domains are seperated. In the domain_realm section of krb5.conf we map the unix to the windows-domain, so Kerberos works with this setup.
Comment 1 Alexander Spannagel 2007-06-19 15:48:30 UTC
Created attachment 2770 [details]
patch meantioned in bug