[Samba] samba-tool dns serverinfo command throws error

Douglas Bagnall douglas.bagnall at catalyst.net.nz
Wed May 29 02:17:38 UTC 2019


On 29/05/19 4:45 AM, James Atwell wrote:

>>> "/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/dns.py", line
>>> 157, in dns_addr_array_string
>>>      addr = inet_ntop(AF_INET, x)
>>>
>>> I'm not experiencing any DNS issues so I believe this may be a bug with
>>> the move to python3 Am I correct?
>> Yes, you are very likely correct.
>>
>> Does the attached patch help?
>>
>> If you can confirm this at
>> https://bugzilla.samba.org/show_bug.cgi?id=13965
>> it can get into the next 4.10 release.
>>
>> Douglas
> 
> Douglas,
> 
>     Now I get the following error with the patch applied.
>  [...]

OK. THIS time I wrote a test, and it is running in CI.

Does this one help?

Douglas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-samba-tool-dns-use-bytes-for-inet_ntop.patch
Type: text/x-patch
Size: 2039 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba/attachments/20190529/3f53dee6/0001-samba-tool-dns-use-bytes-for-inet_ntop.bin>


More information about the samba mailing list