Bug 14553 - support dnspython 2.0.0 or later
Summary: support dnspython 2.0.0 or later
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Python (show other bugs)
Version: 4.13.0
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-27 07:47 UTC by Alexander Bokovoy
Modified: 2020-11-03 12:36 UTC (History)
1 user (show)

See Also:


Attachments
patch for v4.13 branch (5.23 KB, patch)
2020-10-27 07:50 UTC, Alexander Bokovoy
asn: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bokovoy 2020-10-27 07:47:25 UTC
DNSPython 2.0.0 changed API and deprecated calls used by Samba. As result, when running Samba AD DC, samba_dnsupdate tool issues warnings:

[2020/10/22 10:48:36.514438, 0] ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler)
 /usr/sbin/samba_dnsupdate: /usr/sbin/samba_dnsupdate:274:
DeprecationWarning: please use dns.resolver.Resolver.resolve() instead

[2020/10/22 10:48:36.521212, 0] ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler)
 /usr/sbin/samba_dnsupdate:

 return resolver.query(name, name_type)
Comment 1 Alexander Bokovoy 2020-10-27 07:50:08 UTC
Created attachment 16310 [details]
patch for v4.13 branch
Comment 2 Alexander Bokovoy 2020-10-27 07:51:36 UTC
Landed in master with commit 3e27dc4847bd35ca8914be087d5a8ca096510399
Comment 3 Andreas Schneider 2020-10-27 08:14:16 UTC
Karolin, please add the patch to 4.13. Thanks!
Comment 4 Karolin Seeger 2020-10-30 12:25:07 UTC
(In reply to Andreas Schneider from comment #3)
Pushed to autobuild-v4-13-test.
Comment 5 Samba QA Contact 2020-10-30 13:54:48 UTC
This bug was referenced in samba v4-13-test:

e424e1d65e439460783bce4a32b723bc45fb5f2e
Comment 6 Karolin Seeger 2020-11-02 07:56:37 UTC
Closing out bug report.

Thanks!
Comment 7 Samba QA Contact 2020-11-03 12:36:40 UTC
This bug was referenced in samba v4-13-stable (Release samba-4.13.2):

e424e1d65e439460783bce4a32b723bc45fb5f2e