[Samba] migrate samba3 to samba4 fail with new git sources

Jorell JorellF at fastmail.net
Mon Jun 4 07:59:50 MDT 2012



On 6/4/2012 5:59 AM, Hervé Hénoch wrote:
 > Hello
 >
 > i'm on a vserver:
 >
 > none    /proc        proc    defaults        0 0
 > none    /tmp        tmpfs    size=32m,mode=1777    0 0
 > none    /dev/pts    devpts    gid=5,mode=620        0 0
 >
 > Regard
 >
 >
 >
 > Le 04/06/2012 14:35, Jorell a écrit :
 >> On 6/4/2012 2:09 AM, Hervé Hénoch wrote:
 >>> Hello,
 >>>
 >>> I've migrated successfully samba3 to samba4 by using samba-tool. Today,
 >>> i did "git pull", ran make clean, make and make install and the 
command :
 >>>
 >>> /usr/local/samba/bin/samba-tool domain samba3upgrade
 >>> --dbdir=/root/samba3/samba/ --realm=sc.isc84.org 
/root/samba3/etc/smb.conf
 >>>
 >>> which gave :
 >>>
 >>> no talloc stackframe around, leaking memory
 >>> You are not root or your system do not support xattr, using tdb backend
 >>> for attributes. If you intend to use this provision in production, 
rerun
 >>> the script as root on a system supporting xattrs.
 >>> Reading smb.conf
 >>> Provisioning
 >>> Exporting account policy
 >>> Exporting groups
 >>> Ignoring group 'Administrators' S-1-5-32-544 listed but then not found:
 >>> Unable to enumerate members for alias,
 >>> (-1073741487,NT_STATUS_NO_SUCH_ALIAS)
 >>> Ignoring group 'Account Operators' S-1-5-32-548 listed but then not
 >>> found: Unable to enumerate members for alias,
 >>> (-1073741487,NT_STATUS_NO_SUCH_ALIAS)
 >>> Ignoring group 'Print Operators' S-1-5-32-550 listed but then not 
found:
 >>> Unable to enumerate members for alias,
 >>> (-1073741487,NT_STATUS_NO_SUCH_ALIAS)
 >>> Ignoring group 'Backup Operators' S-1-5-32-551 listed but then not
 >>> found: Unable to enumerate members for alias,
 >>> (-1073741487,NT_STATUS_NO_SUCH_ALIAS)
 >>> Ignoring group 'Replicators' S-1-5-32-552 listed but then not found:
 >>> Unable to enumerate members for alias,
 >>> (-1073741487,NT_STATUS_NO_SUCH_ALIAS)
 >>> Exporting users
 >>> Skipping wellknown rid=500 (for username=root)
 >>> Ignoring group memberships of 'nobody'
 >>> S-1-5-21-1031258178-388409940-3248586695-2998: Unable to enumerate 
group
 >>> memberships, (-1073741596,NT_STATUS_INTERNAL_DB_CORRUPTION)
 >>> Skipping inter-domain trust from domain radiotherapie, this trust must
 >>> be re-created as an AD trust
 >>> Next rid = 7063
 >>> ERROR(<type 'exceptions.AttributeError'>): uncaught exception -
 >>> 'NoneType' object has no attribute 'get'
 >>> File
 >>> 
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py",
 >>> line 160, in _run
 >>> return self.run(*args, **kwargs)
 >>> File
 >>> "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py",
 >>> line 926, in run
 >>> useeadb=eadb)
 >>> File "/usr/local/samba/lib/python2.7/site-packages/samba/upgrade.py",
 >>> line 675, in upgrade_from_samba3
 >>> useeadb=useeadb, dns_backend=dns_backend)
 >>> File
 >>> 
"/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
 >>> line 1666, in provision
 >>> file =
 >>> 
tempfile.NamedTemporaryFile(dir=os.path.abspath(os.path.dirname(lp.get("private
 >>> dir"))))
 >>>
 >>> Thanks
 >>>
 >>
 >> What do you have in '/etc/fstab'?
 >>

As far as I know you need to enable 'acl' and 'user_xattr' for whatever 
partition that you virtual OS is using.



More information about the samba mailing list