[Samba] bug with redirect output samba-tool ?

L.P.H. van Belle belle at bazuin.nl
Mon Oct 28 03:03:15 MDT 2013

When i try to use this line: 
samba-tool dns query mydomain.lan @ ALL -UAdministrator | less
Failed to bind to uuid 50abc2a4-574d-40b3-9d66-ee4fd5fba076 for 50abc2a4-574d-40b3-9d66-ee4fd5fba076 at ncacn_ip_tcp:[49175,sign] NT_STATUS_NET_WRITE_FAULT
ERROR(runtime): uncaught exception - (-1073741614, 'NT_STATUS_NET_WRITE_FAULT')
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/dns.py", line 982, in run
    dns_conn = dns_connect(server, self.lp, self.creds)
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/dns.py", line 37, in dns_connect
    dns_conn = dnsserver.dnsserver(binding_str, lp, creds)

looks like a bug to me, or does redirecting the output just not work. 

More information about the samba mailing list