Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

uncaught exception - 'NoneType' object has no attribute 'get'

0 views
Skip to first unread message

Marc Muehlfeld

unread,
Jun 4, 2012, 9:40:56 AM6/4/12
to
Hi,

I started with a fresh testing environment for s4 and when I do the migration,
it breaks:


# /usr/local/samba/bin/samba-tool domain samba3upgrade --dbdir=/usr/var/locks/
--use-xattrs=yes --realm=MUC.medizinische-genetik.de /etc/samba/smb3.conf
no talloc stackframe around, leaking memory
Reading smb.conf
Provisioning
Exporting account policy
Exporting groups
Exporting users
Next rid = 17062
ERROR(<type 'exceptions.AttributeError'>): uncaught exception - 'NoneType'
object has no attribute 'get'
File
"/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/__init__.py",
line 160, in _run
return self.run(*args, **kwargs)
File
"/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/domain.py", line
926, in run
useeadb=eadb)
File "/usr/local/samba/lib64/python2.6/site-packages/samba/upgrade.py",
line 675, in upgrade_from_samba3
useeadb=useeadb, dns_backend=dns_backend)
File
"/usr/local/samba/lib64/python2.6/site-packages/samba/provision/__init__.py",
line 1666, in provision
file =
tempfile.NamedTemporaryFile(dir=os.path.abspath(os.path.dirname(lp.get("private dir"))))


I used the latest git version (4.0.0alpha22-GIT-0110623).

Any idea what's wrong?


Regards,
Marc

Andrew Bartlett

unread,
Jun 4, 2012, 8:01:12 PM6/4/12
to
Try these patches, which should make it into beta1.

Andrew Bartlett

--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
0001-s4-provision-Place-xattr.tdb-in-the-actual-state-dir.patch
0002-s4-provision-Test-for-posix-ACLs-in-the-actual-sysvo.patch

Marc Muehlfeld

unread,
Jun 5, 2012, 2:56:39 AM6/5/12
to
Am 05.06.2012 02:01, schrieb Andrew Bartlett:
> Try these patches, which should make it into beta1.

Works perfekt. Many thanks.


Regards,
Marc

0 new messages