[Samba] Import idmap database error on classicupgrade process
Elias Pereira
empbilly at gmail.com
Thu May 21 09:31:44 MDT 2015
I copied all the database files of samba3 as is mentioned in the wiki - The
classicupgrade process
<https://wiki.samba.org/index.php/Samba_Classic_Upgrade_(NT4-style_domain_to_AD)#The_classicupgrade_process>
But if the winbindd_idmap.tdb file is in the folder, the errors occur. See
below:
Importing idmap database
> ERROR(assert): uncaught exception
> File "/opt/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py",
> line 175, in _run
> return self.run(*args, **kwargs)
> File "/opt/samba/lib/python2.7/site-packages/samba/netcmd/domain.py",
> line 1452, in run
> useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
> File "/opt/samba/lib/python2.7/site-packages/samba/upgrade.py", line
> 749, in upgrade_from_samba3
> import_idmap(result.idmap, samba3, logger)
> File "/opt/samba/lib/python2.7/site-packages/samba/upgrade.py", line
> 215, in import_idmap
> samba3_idmap = samba3.get_idmap_db()
> File "/opt/samba/lib/python2.7/site-packages/samba/samba3/__init__.py",
> line 406, in get_idmap_db
> return IdmapDatabase(self.statedir_path("winbindd_idmap"))
> File "/opt/samba/lib/python2.7/site-packages/samba/samba3/__init__.py",
> line 63, in __init__
> self._check_version()
> File "/opt/samba/lib/python2.7/site-packages/samba/samba3/__init__.py",
> line 146, in _check_version
> assert fetch_int32(self.db, "IDMAP_VERSION\0") == IDMAP_VERSION_V2
If I remove/delete the file, the provisioning continues and tells me he did
not find the file: *Can not open database idmap, Ignoring: [Errno 2] No
such file or directory*
Can I still provisioning without the file? There is the possibility of
post-migration issues regarding lack of this file?
--
Elias Pereira
More information about the samba
mailing list