On 28/10/13 09:03, L.P.H. van Belle wrote:>
> Hai,
>
> When i try to use this line:
>
> samba-tool dns query 192.168.249.225 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:192.168.249.225[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.
>
>
> Louis
>
Hi, try it like this: samba-tool dns query 192.168.249.225 mydomain.lan
@ ALL -uAdministrator --password=Administrator_password | less
Rowland