Bug 9969 - DNS Internal - SAMBA-TOOL DNS commands returns 'WERR_DNS_ERROR_DS_UNAVAILABLE'
Summary: DNS Internal - SAMBA-TOOL DNS commands returns 'WERR_DNS_ERROR_DS_UNAVAILABLE'
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 critical (vote)
Target Milestone: ---
Assignee: Amitay Isaacs
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-26 11:49 UTC by Evandro
Modified: 2021-02-27 14:26 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evandro 2013-06-26 11:49:34 UTC
Folks,

Greetings from Brazil.

We are trying to migrate our Microsoft AD to Samba4 AD structure, but we are having some problems with internal DNS.

We joined a samba4 server at our M$ w2k3 domain using internal dns.

The JOIN process was 100% successful. All objects were replicated and the replication process is ok. LDAP connections ans searches are ok too.

The problem is in how to manager the DNS records. When we try to run "samba-tool dns" commands, pointing to samba server, we are getting the "ERROR(runtime): uncaught exception - (9717, 'WERR_DNS_ERROR_DS_UNAVAILABLE')" message. When we try to connect samba DNS using Microsoft DNS tools, it doesn't connect.

The Internal DNS do not accept any samba-tool dns command.

So, how can I fix this problem?

Thanks a lot,

Evandro
Comment 1 Kai Blin 2013-06-26 12:33:52 UTC
This is a problem with the DNSSERVER RPC service, not with the internal DNS. Assigning to Amitay.
Comment 2 Evandro 2013-06-26 13:46:09 UTC
Ok.

This is a problem with the DNSSERVER RPC service, and how can I do to fix it?
Comment 3 Amitay Isaacs 2013-06-27 02:55:48 UTC
What is the exact samba-tool dns subcommand you are using?  Without knowing which command is failing it's difficult to fix anything.

Since you have mentioned you are using Windows 2003, you might want to try the samba-tool dns command with --client-version=dotnet and see if that helps.
Comment 4 Evandro 2013-06-27 15:51:05 UTC
Amitay, good morning!

What is the exact samba-tool dns subcommand I'm using?
- samba-tool dns serverinfo <sambaserver>

Thanks,

Evandro
Comment 5 Amitay Isaacs 2013-06-28 07:46:43 UTC
Ah, looks like dnsserver RPC service is not running.  

What's the value of the configuration parameter "dcerpc endpoint servers" in smb.conf?  Does it include dnsserver?

Also, what version of Samba are you using?
Comment 6 Björn Jacke 2021-02-27 14:26:07 UTC
closing, no feedback, also looks like a configuration issue.