On 22 July 2010 10:49, Daniel Müller <[email protected]> wrote: > > Dear all, > > I compiled Samba 4.0.0alpha12 successful on my centos 5.5 box. [...] > 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 [...]
I see you are using Python 2.4. It seems that samba_dnsupdate needs Python 2.5: http://docs.python.org/library/functions.html#__import__ "[...] Changed in version 2.5: Keyword support for parameters was added." Perhaps the Samba4 HOWTO should be updated to state this requirement. -- Michael Wood <[email protected]> -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
