Upgrade from S3 to a Samba4 DC [with LDAPSAM]

Adam Tauno Williams awilliam at whitemice.org
Thu Sep 8 14:46:06 MDT 2011


Quoting tataia <iongigixx at gmail.com>:
> I hope so and also believe that the recompiling was not necessary

Argh.

And it got further and seems to be connected to the LDAP SAM.

[root at localhost samba-master]# ./source4/setup/upgrade_from_s3  
smb.conf /tmp/x --libdir=/root/s3
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
/root/s3/secrets.tdb
no talloc stackframe around, leaking memory
Exporting account policy
Exporting groups
Traceback (most recent call last):
   File "./source4/setup/upgrade_from_s3", line 129, in <module>
     upgrade_from_samba3(samba3, logger, targetdir,  
session_info=system_session(), useeadb=eadb)
   File "bin/python/samba/upgrade.py", line 537, in upgrade_from_samba3
     members = s3db.enum_aliasmem(group.sid)
passdb.error: Unable to enumerate members for alias,  
(-1073741487,NT_STATUS_NO_SUCH_ALIAS)


Adding a "print group.sid" shows that it is failing to process  
[apparently] the very first group.

Exporting account policy
Exporting groups
S-1-5-32-544
Traceback (most recent call last):
   File "./source4/setup/upgrade_from_s3", line 129, in <module>



More information about the samba-technical mailing list