[Samba] Raising domain functionality level with samba-tool fails with uncaught exception errors from Python
curriegrad2004
curriegrad2004 at gmail.com
Mon Nov 7 22:50:35 MST 2011
Hey all,
I just downloaded the latest samba4 git and provisioned an Active
Directory domain following the directions on the wiki. However, when I
wanted to raise the default domain's functionality level from Windows
Server 2003 to 2008 R2, I'm getting errors from samba-tool with
something to do with Python's uncaught exception:
--forest-level
ERROR(<type 'exceptions.AttributeError'>): uncaught exception -
'module' object has no attribute 'get_config_basedn'
File "/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/__init__.py",
line 167, in _run
return self.run(*args, **kwargs)
File "/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/domain.py",
line 326, in run
m.dn = ldb.Dn(samdb, "CN=Partitions,%s" % ldb.get_config_basedn())
--domain-level
ERROR(<type 'exceptions.AttributeError'>): uncaught exception -
'module' object has no attribute 'get_config_basedn'
File "/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/__init__.py",
line 167, in _run
return self.run(*args, **kwargs)
File "/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/domain.py",
line 301, in run
+ ",CN=Partitions,%s" % ldb.get_config_basedn())
What can be causing this issue? Is it the python included with
Scientific Linux 6.0 the one to blame or did I compile samba4
incorrectly in any way?
More information about the samba
mailing list