samba-tool dns commands failing?

Charles Tryon charles.tryon at gmail.com
Tue Jan 17 11:47:42 MST 2012


On Tue, Jan 17, 2012 at 10:18 AM, Charles Tryon <charles.tryon at gmail.com>wrote:

> ...
>
> On Tue, Jan 17, 2012 at 2:03 AM, Amitay Isaacs <amitay at gmail.com> wrote:
>
>> Hi Charles,
>>
>> On Tue, Jan 17, 2012 at 6:36 AM, Charles Tryon <charles.tryon at gmail.com>
>> wrote:
>> > I'm running the latest git version of the samba-tool, trying to
>> view/modify
>> > information in my DNS zones, and all the DNS related commands are
>> suddenly
>> > failing:
>> >
>> > <samba:dev>? samba-tool dns add 127.0.0.1 bbaggins.net dummy  A
>> > 192.168.2.99 --password=<adminpasswd>
>> > Failed to bind to uuid 50abc2a4-574d-40b3-9d66-ee4fd5fba076 for
>> > 50abc2a4-574d-40b3-9d66-ee4fd5fba076 at ncacn_ip_tcp:127.0.0.1[1024,sign]
>> > NT_STATUS_NET_WRITE_FAULT
>> > ERROR(runtime): uncaught exception - (-1073741614,
>> > 'NT_STATUS_NET_WRITE_FAULT')
>> >  File
>> >
>> "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
>> > line 167, in _run
>> >    return self.run(*args, **kwargs)
>> >  File
>> > "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/dns.py",
>> line
>> > 848, in run
>> >    dns_conn = dns_connect(server, self.lp, self.creds)
>> >  File
>> > "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/dns.py",
>> line
>> > 36, in dns_connect
>> >    dns_conn = dnsserver.dnsserver(binding_str, lp, creds)
>> >
>> >
>> > I get pretty much the same response from any command, regardless of the
>> > user that run the command as.  The dns server is running, and replies
>> > appropriately to DNS queries.  DNS is running bind 9.8, as included in
>> > Fedora 16.
>> >
>> > (4.0.0alpha18-GIT-13182e7)
>>
>> It appears that samba is not running. Can you confirm that?
>>
>> samba-tool dns commands use DCE/RPC interface to manage DNS records, and
>> not talk to BIND.
>>
>> Amitay.
>>
>
I did a fresh pull from git, rebuilt, re-installed, ran update-provision,
and it appears to be working now.  Permissions are a little odd:  It used
to be that I could run as myself and use the --password argument, and
successfully add or remove DNS records.  Now I need to run as root (sudo),
and then it works fine.  Not sure what happened (could even be a mistake in
my process somewhere), but it appears to be fixed.


-- 
    Charles Tryon
_________________________________________________________________________
      "It's the job that's never started that takes longest to finish."
                                 -- Samwise Gamgee


More information about the samba-technical mailing list