[Samba] DC controller and DNS

ve2cii at ve2cii.com ve2cii at ve2cii.com
Mon Aug 2 16:20:56 UTC 2021


    I downloaded:

python3-dnspython_2.0.0-1_all.deb

I then converted it to slackware. I installed it. Restarted samba and 
got the same error.


On 8/2/21 12:03, Rowland Penny via samba wrote:
> On Mon, 2021-08-02 at 11:45 -0400, ve2cii--- via samba wrote:
>>       Here is where we go away from the pack!! And another reason why
>> I went
>> down the road I did.
>> I am using Slackware-14.2. (This cannot be changed)
>>
>> I have an error in my samba log file as follows:  (no module name
>> 'dns')
>>
>> ====================================================================
>>     samba version 4.13.9 started.
>>     Copyright Andrew Tridgell and the Samba Team 1992-2020
>> [2021/08/02 11:30:40.446237,  0]
>> ../../source4/smbd/server.c:920(binary_smbd_main)
>>     binary_smbd_main: samba: using 'prefork' process model
>> [2021/08/02 11:30:40.536541,  0]
>> ../../lib/util/become_daemon.c:136(daemon_ready)
>>     daemon_ready: daemon 'samba' finished starting up and ready to
>> serve
>> connections
>> [2021/08/02 11:30:40.877388,  0]
>> ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler)
>>     /usr/sbin/samba_dnsupdate: Traceback (most recent call last):
>> [2021/08/02 11:30:40.877472,  0]
>> ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler)
>>     /usr/sbin/samba_dnsupdate:   File "/usr/sbin/samba_dnsupdate",
>> line
>> 56, in <module>
>> [2021/08/02 11:30:40.877599,  0]
>> ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler)
>>     /usr/sbin/samba_dnsupdate:     from samba.dnsresolver import
>> DNSResolver
>> [2021/08/02 11:30:40.877683,  0]
>> ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler)
>>     /usr/sbin/samba_dnsupdate:   File
>> "/usr/lib/python3.9/site-packages/samba/dnsresolver.py", line 20, in
>> <module>
>> [2021/08/02 11:30:40.877827,  0]
>> ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler)
>>     /usr/sbin/samba_dnsupdate:     import dns.resolver
>> [2021/08/02 11:30:40.877878,  0]
>> ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler)
>>     /usr/sbin/samba_dnsupdate: ModuleNotFoundError: No module named
>> 'dns'
>> [2021/08/02 11:30:40.899410,  0]
>> ../../source4/dsdb/dns/dns_update.c:86(dnsupdate_nameupdate_done)
>>     dnsupdate_nameupdate_done: Failed DNS update with exit code 1
>>
>> =====================================================================
>> ==
>>
>> I have: (installed)
>>
>> root at dns2:/var/adm/samba# python3 --version
>> Python 3.9.5
>> root at dns2:/var/adm/samba#
>>
>> Plus: (installed)
>>
>> dnspython-1.12.0-i486-1_SBo.tgz
> Have you installed python3-dnspython ?
>
> Slackware is a bit unrepresented on this list, there is/was a person
> that used (something to do with the Ohio state police retirement fund
> if I recall correctly) Samba on Slackware.
>
> We do have a wiki page for the packages required to build Samba:
> https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba
>
> Unfortunately it doesn't mention Slackware, but it should provide
> pointers.
>
>>      I tried downloading and compiling the latest dnspython-2.2.0 and
>> I
>> get the same
>> error. Bug perhaps??  Test machines have the same error and are
>> working
>> properly.
>>
>>       As far as upgrading samba, I can do that pretty easily once I
>> get
>> this one working
>> properly.  I can go up to samba-4-13.9. 4-14.x won't compile on my
>> Slackware.
>>
> Never tried building Samba on Slackware, but all versions should build,
> as long as all the required files are installed.
>
> Rowland
>
>
>


More information about the samba mailing list