[Samba] bug with redirect output samba-tool ?
Ricky Nance
ricky.nance at gmail.com
Mon Oct 28 12:53:39 MDT 2013
On Mon, Oct 28, 2013 at 5:28 AM, Rowland Penny
<rowlandpenny at googlemail.com>wrote:
> 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
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/**mailman/options/samba<https://lists.samba.org/mailman/options/samba>
>
I stumbled across this a while back and never did file a bug on it (sorry)
but if I recall correctly it did work when the password was specified on
the CLI or when you used the kerberos option and didn't use the username
(-K maybe?) .
Ricky
More information about the samba
mailing list