[Samba] dns module not found

Denis Cardon dcardon at tranquil.it
Fri Nov 3 11:50:21 UTC 2017


Hi Dirk,


> i have three samba dc's each running with Version 4.7 on raspbian strech
>
>
>
> On one oft hem i have now this problem and i don't know why?
>
> I'm not sure what caused the problem. because it worked before.
>
>
>
> root at samba01:~# /usr/sbin/samba_dnsupdate --help
>
> Traceback (most recent call last):
>
>   File "/usr/sbin/samba_dnsupdate", line 52, in <module>
>
>     samba.ensure_third_party_module("dns", "dnspython")
>
>   File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 359, in
> ensure_third_party_module
>
>     namespace="samba.third_party")
>
>   File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 344, in
> import_bundled_package
>
>     "%s.%s" % (namespace, modulename), fromlist=[namespace])
>
> ImportError: No module named dns

do you have python-dns package installed?

Cheers,

Denis



>

-- 
Denis Cardon
Tranquil IT Systems
Les Espaces Jules Verne, bâtiment A
12 avenue Jules Verne
44230 Saint SĂ©bastien sur Loire
tel : +33 (0) 2.40.97.57.55
http://www.tranquil-it-systems.fr




More information about the samba mailing list