GUEI née worou noee
2013-Jul-03  11:28 UTC
[Samba] Samba 4 Rhedhat 6 And classicupgrade errors
Hi,
i upgrade on a new server samba3 to samba4 with a LDAP Backend.
I have followed this HowTO 
?http://wiki.samba.org/index.php/Samba4/samba-tool/domain/classicupgrade/HOWTO
until de classicupgrade step
Here is the errors I get 
?/usr/local/samba/bin/samba-tool domain classicupgrade
--dbdir=/root/samba3/tdbfiles --use-xattrs=yes? --realm=bceao.int
/root/samba3/tdbfiles/smb.conf
Reading smb.conf
WARNING: The "idmap backend" option is deprecated
WARNING: The "idmap uid" option is deprecated
WARNING: The "idmap gid" option is deprecated
Provisioning
Exporting account policy
Exporting groups
Ignoring group 'Administrateurs' S-1-5-32-544 listed but then not found:
Unable to enumerate members for alias, (-1073741487,NT_STATUS_NO_SUCH_ALIAS)
Ignoring group 'Operateurs de compte' S-1-5-32-548 listed but then not
found: Unable to enumerate members for alias,
(-1073741487,NT_STATUS_NO_SUCH_ALIAS)
Ignoring group 'Operateurs impression' S-1-5-32-550 listed but then not
found: Unable to enumerate members for alias,
(-1073741487,NT_STATUS_NO_SUCH_ALIAS)
Ignoring group 'Operateurs de sauvegarde' S-1-5-32-551 listed but then
not found: Unable to enumerate members for alias,
(-1073741487,NT_STATUS_NO_SUCH_ALIAS)
Ignoring group 'Replicateurs' S-1-5-32-552 listed but then not found:
Unable to enumerate members for alias, (-1073741487,NT_STATUS_NO_SUCH_ALIAS)
Ignoring group 'Invites' S-1-5-32-546 listed but then not found: Unable
to enumerate members for alias, (-1073741487,NT_STATUS_NO_SUCH_ALIAS)
Ignoring group 'Operateurs de serveur' S-1-5-32-549 listed but then not
found: Unable to enumerate members for alias,
(-1073741487,NT_STATUS_NO_SUCH_ALIAS)
Ignoring group 'Utilisateurs' S-1-5-32-545 listed but then not found:
Unable to enumerate members for alias, (-1073741487,NT_STATUS_NO_SUCH_ALIAS)
Exporting users
sid S-1-5-21-3933610348-2251462730-2069165054-1000 does not belong to our domain
? Demoting BDC account trust for z00-dc3, this DC must be elevated to an AD DC
using 'samba-tool domain promote'
? Skipping wellknown rid=500 (for username=pdc_admin)
? Skipping wellknown rid=501 (for username=nobody)
Ignoring group memberships of 'toto'
S-1-5-21-1770481708-1631662840-68360779-30866: Unable to enumerate group
memberships, (-1073741596,NT_STATUS_INTERNAL_DB_CORRUPTION)
Ignoring group memberships of 'etoto'
S-1-5-21-1770481708-1631662840-68360779-66424: Unable to enumerate group
memberships, (-1073741596,NT_STATUS_INTERNAL_DB_CORRUPTION)
? Demoting BDC account trust for z00-dc02, this DC must be elevated to an AD DC
using 'samba-tool domain promote'
Next rid = 66425
Following sids are both user and group sids:
?? S-1-5-21-1770481708-1631662840-68360779-3221
ERROR(<class 'samba.provision.ProvisioningError'>): uncaught
exception - ProvisioningError: Please remove duplicate sid entries before
upgrade.
? File
"/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/__init__.py",
line 175, in _run
??? return self.run(*args, **kwargs)
? File
"/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/domain.py",
line 1318, in run
??? useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
? File
"/usr/local/samba/lib64/python2.6/site-packages/samba/upgrade.py",
line 778, in upgrade_from_samba3
??? raise ProvisioningError("Please remove duplicate sid entries before
upgrade.")
I create a link to all?files wich are in the same directory as the secret.tdb
file. But this?didn't solve the problem.
Please, could anyone help me. 
I have this error since one week and coud not figure it out.
i?need help.
MMe GUEI NOEE MELAINE
BP 3108 DAKAR SENEGAL
SERVICE INFORMATIQUE
On Wed, 2013-07-03 at 12:28 +0100, GUEI n?e worou noee wrote:> Hi, > i upgrade on a new server samba3 to samba4 with a LDAP Backend. > I have followed this HowTO > http://wiki.samba.org/index.php/Samba4/samba-tool/domain/classicupgrade/HOWTO > > until de classicupgrade step > Here is the errors I get> Following sids are both user and group sids: > S-1-5-21-1770481708-1631662840-68360779-3221> raise ProvisioningError("Please remove duplicate sid entries before upgrade.")> Please, could anyone help me. > I have this error since one week and coud not figure it out. > i need help.Read the above message carefully, and ensure no user has the same SID as a group in your source databases. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org
Apparently Analagous Threads
- NT_STATUS_CONNECTION_REFUSED with smbclient and samba 4.0.6
- Starting S4 in production
- migrate samba3 to samba4 fail with new git sources
- Error with samba-tool when upgrading from 3 to 4 / NT_STATUS_IO_TIMEOUT
- WARNING: Module [samba_secrets] not found (samba 4.0.8, classicupgrade)