[Samba] Fwd: Samba4 4.0.3 classicupgrade - Error converting string to value for line: "CurrentVersion"

uoL uoL wmarcos2002 at yahoo.com.ar
Tue Feb 5 09:17:46 MST 2013


Hello everyone,

I'm trying to migrate from samba3 to samba4 (4.0.3 installed from source in
a debian squeeze 6.0.6)

And I'm getting this error:

Setting up the registry
convert_string_talloc: Conversion not supported.
Error converting string to value for line:
"CurrentVersion"

I found this thread in internet about this
http://samba.2283325.n4.nabble.com/Samba4-domain-classicupgrade-quot-conversion-not-supported-quot-td4642316.html
but
couldn't solve my problem since I deleted every tdb and left only
secrets.tdb and still gives that error.

Any help appreciated

Thanks!
Marcos.

-- complete output --

root at vs002:~# /usr/local/samba/bin/samba-tool domain classicupgrade
--dbdir=samba --use-xattrs=yes --realm=sadom.spel.com samba/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
WARNING: Ignoring invalid value 'cups' for parameter 'printing'
Provisioning
Exporting account policy
Exporting groups
Exporting users
  Fixing account c062$ which had both ACB_NORMAL (U) and ACB_WSTRUST (W)
set.  Account will be marked as ACB_WSTRUST (W), i.e. as a domain member
  Fixing account c061$ which had both ACB_NORMAL (U) and ACB_WSTRUST (W)
set.  Account will be marked as ACB_WSTRUST (W), i.e. as a domain member
Ignoring group memberships of 'c065$'
S-1-5-21-2959502491-3316882024-2455323705-3438: Unable to enumerate group
memberships, (-1073741596,NT_STATUS_INTERNAL_DB_CORRUPTION)
  Skipping wellknown rid=500 (for username=root)
Ignoring group memberships of 'c047$'
S-1-5-21-2959502491-3316882024-2455323705-3000: Unable to enumerate group
memberships, (-1073741596,NT_STATUS_INTERNAL_DB_CORRUPTION)
Ignoring group memberships of 'c049$'
S-1-5-21-2959502491-3316882024-2455323705-5008: Unable to enumerate group
memberships, (-1073741596,NT_STATUS_INTERNAL_DB_CORRUPTION)
Ignoring group memberships of 'c005$'
S-1-5-21-2959502491-3316882024-2455323705-5012: Unable to enumerate group
memberships, (-1073741596,NT_STATUS_INTERNAL_DB_CORRUPTION)
Ignoring group memberships of 'c050$'
S-1-5-21-2959502491-3316882024-2455323705-5092: Unable to enumerate group
memberships, (-1073741596,NT_STATUS_INTERNAL_DB_CORRUPTION)
Ignoring group memberships of 'c006$'
S-1-5-21-2959502491-3316882024-2455323705-5094: Unable to enumerate group
memberships, (-1073741596,NT_STATUS_INTERNAL_DB_CORRUPTION)
Ignoring group memberships of 'c036$'
S-1-5-21-2959502491-3316882024-2455323705-5096: Unable to enumerate group
memberships, (-1073741596,NT_STATUS_INTERNAL_DB_CORRUPTION)
Next rid = 5505
Exporting posix attributes
Reading WINS database
Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
Setting up share.ldb
Setting up secrets.ldb
Setting up the registry
convert_string_talloc: Conversion not supported.
Error converting string to value for line:
"CurrentVersion"
ERROR(runtime): uncaught exception - (31, 'WERR_GENERAL_FAILURE')
  File
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py",
line 175, in _run
    return self.run(*args, **kwargs)
  File
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line
1318, in run
    useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/upgrade.py",
line 841, in upgrade_from_samba3
    use_ntvfs=use_ntvfs, skip_sysvolacl=True)
  File
"/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
line 2099, in provision
    setup_registry(paths.hklm, session_info, lp=lp)
  File
"/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
line 1001, in setup_registry
    reg.diff_apply(provision_reg)


More information about the samba mailing list