[Samba] samba4 phyton-dns error

Mike Brady mike.brady at devnull.net.nz
Thu Jul 22 03:53:23 MDT 2010


On Thu, 2010-07-22 at 10:49 +0200, Daniel Müller wrote:
> Dear all,
> 
> I compiled Samba 4.0.0alpha12 successful on my centos 5.5 box. Kerberos and
> DNS working as wanted.
> There is only a ugly  error in dnsupdate. Samba_dnsupdate gives this error:
> 
> Traceback (most recent call last):
>   File "/usr/sbin/samba_dnsupdate", line 40, in ?
>     samba.ensure_external_module("dns", "dnspython")
>   File "/usr/local/samba/lib/python2.4/site-packages/samba/__init__.py",
> line 321, in ensure_external_module
>     sys.modules[modulename] = __import__(
> TypeError: __import__() takes no keyword arguments
> 
> Starting samba –I –M single:
> 
> samba version 4.0.0alpha12-GIT-UNKNOWN started.
> Copyright Andrew Tridgell and the Samba Team 1992-2010
> samba: using 'single' process model
> FIXME: Using new system session for hdb
> /usr/local/samba/sbin/samba_dnsupdate: Traceback (most recent call last):
> /usr/local/samba/sbin/samba_dnsupdate:   File
> "/usr/local/samba/sbin/samba_dnsupdate", line 40, in ?
> /usr/local/samba/sbin/samba_dnsupdate:    
> samba.ensure_external_module("dns", "dnspython")
> /usr/local/samba/sbin/samba_dnsupdate:   File
> "/usr/local/samba/lib/python2.4/site-packages/samba/__init__.py", line 321,
> in ensure_external_module
> /usr/local/samba/sbin/samba_dnsupdate:     sys.modules[modulename] =
> __import__(
> /usr/local/samba/sbin/samba_dnsupdate: TypeError: __import__() takes no
> keyword arguments
> ../dsdb/dns/dns_update.c:249: Failed DNS update - NT_STATUS_ACCESS_DENIED
> Testing kcctpl_create_intersite_connections
> 
> 
> Of course I installed following rpm: python-pydns-2.3.4-1.noarch.rpm
> What link do I miss.
> 
> Greetings
> Daniel
> 
> EDV Daniel Müller
> 
> Leitung EDV
> Tropenklinik Paul-Lechler-Krankenhaus
> Paul-Lechler-Str. 24
> 72076 Tübingen 
> Tel.: 07071/206-463, Fax: 07071/206-499
> eMail: mueller at tropenklinik.de
> Internet: www.tropenklinik.de 
> 
> 

Daniel

I have python-dns-1.7.1-1.el5 installed from EPEL, not python-pydns.

Regards

Mike



More information about the samba mailing list