[Samba] Samba 4 upgrade_from_s3 problem

Taylor, Jonn jonnt at taylortelephone.com
Thu Apr 1 21:18:03 MDT 2010


Unable to upgrade from samba 3 to samba 4 using upgrade_from_s3.

CentOS 5.4 x86_64
samba Version 4.0.0alpha12-GIT-ef83c97
samba3-3.4.4-41.el5 from sernet

[root at bdc source4]# ./setup/upgrade_from_s3 --targetdir=/etc/samba4 
/etc/samba /etc/samba/smb.conf
Reading Samba3 databases and smb.conf
Provisioning
Traceback (most recent call last):
   File "./setup/upgrade_from_s3", line 84, in ?
     targetdir=opts.targetdir)
   File "bin/python/samba/upgrade.py", line 415, in upgrade_provision
     serverrole=serverrole)
   File "bin/python/samba/provision.py", line 1112, in provision
     domainsid = security.dom_sid(domainsid)
TypeError: argument 1 must be string without null bytes, not str



More information about the samba mailing list