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

Jorell JorellF at fastmail.net
Mon Jun 4 06:35:06 MDT 2012


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'?



More information about the samba mailing list