[Samba] samba4 partitions upgrade probs

Hannu Tikka hannu.tikka at rpkk.fi
Wed Oct 28 02:40:53 MDT 2009


Hi!

I'm currently trying to do partitions upgrade.
But provision script stops on error.

im getting following situation:
-----
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
naming_fsmo_init: no partitions dn present: (skip loading of naming
contexts details)

pdc_fsmo_init: no domain object present: (skip loading of domain details)

Erasing data from partitions
Adding DomainDN: DC=mydomain,DC=com
Traceback (most recent call last):
  File "./setup/provision", line 213, in <module>
    nosync=opts.nosync,ldap_dryrun_mode=opts.ldap_dryrun_mode)
  File "bin/python/samba/provision.py", line 1369, in provision
    ldap_backend=provision_backend)
  File "bin/python/samba/provision.py", line 1080, in setup_samdb
    "DOMAINGUID": domainguid_line
  File "bin/python/samba/provision.py", line 308, in setup_add_ldif
    ldb.add_ldif(data,controls)
  File "bin/python/samba/__init__.py", line 244, in add_ldif
    self.add(msg,controls)
_ldb.LdbError: (68, 'Entry already exists (68)')
A transaction is still active in ldb context [0x1249b30] on
/home/samba.upgrade/private/secrets.ldb
-----

Does anyone have good hints?

regards Hannu

PS. I accidently post this question first to samba-tchnical list. Sorry
about that.







More information about the samba mailing list