Hervé Hénoch
2012-Jun-04 09:09 UTC
[Samba] migrate samba3 to samba4 fail with new git sources
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 -- Herv? H?noch Responsable informatique Institut Sainte Catherine 1750, chemin du Lavarin, 84000 Avignon T?l?phone : 04.90.27.57.44 Messagerie : h.henoch at isc84.org
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'?
Possibly Parallel Threads
- Error with samba-tool when upgrading from 3 to 4 / NT_STATUS_IO_TIMEOUT
- Starting S4 in production
- Samba 4 Rhedhat 6 And classicupgrade errors
- WARNING: Module [samba_secrets] not found (samba 4.0.8, classicupgrade)
- Changing administrator password after Samba4 classic upgrade