[Samba] samba4 phyton-dns error

Daniel Müller mueller at tropenklinik.de
Thu Jul 22 02:49:36 MDT 2010


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 




More information about the samba mailing list