Juan Asensio Sánchez
2013-Jan-04 09:50 UTC
[Samba] Samba4 domain classicupgrade "conversion not supported"
Hi I am running the "samba-tool domain classicupgrade", and after solving some problems (thread http://lists.samba.org/archive/samba/2013-January/170777.html), now I am getting this error: # samba-tool domain classicupgrade --dbdir ~/sambav3 --realm XXXXXX.YYYYYY.TEST --use-xattrs=yes ~/sambav3/smb.conf -d9 ... init_sam_from_ldap: Entry found for user: XXXXXX init_sam_from_ldap: Entry found for user: XXXXXX$ Next rid = 12801001 Exporting posix attributes Reading WINS database lpcfg_load: refreshing parameters from /usr/local/samba/etc/smb.conf lpcfg_load: refreshing parameters from /usr/local/samba/etc/smb.conf Looking up IPv4 addresses Looking up IPv6 addresses No IPv6 address will be assigned INFO: Current debug levels: all: 9 tdb: 9 printdrivers: 9 lanman: 9 smb: 9 rpc_parse: 9 rpc_srv: 9 rpc_cli: 9 passdb: 9 sam: 9 auth: 9 winbind: 9 vfs: 9 idmap: 9 quota: 9 acls: 9 locking: 9 msdfs: 9 dmapi: 9 registry: 9 doing parameter idmap_ldb:use rfc2307 = yes Processing section "[netlogon]" doing parameter path /usr/local/samba/var/locks/sysvol/xxxxx.yyyyy.test/scripts doing parameter read only = No Processing section "[sysvol]" add_a_service: Creating snum = 2 for sysvol doing parameter path = /usr/local/samba/var/locks/sysvol doing parameter read only = No pm_process() returned Yes lp_servicenumber: couldn't find homes Initialising default vfs hooks Successfully added vfs backend 'posixacl' Successfully added vfs backend '/[Default VFS]/' Successfully added vfs backend 'dfs_samba4' Initialising custom vfs hooks from [/[Default VFS]/] Successfully loaded vfs module [/[Default VFS]/] with the new modules system Initialising custom vfs hooks from [acl_xattr] vfs module [acl_xattr] not loaded - trying to load... Loading module 'acl_xattr' Loading module 'acl_xattr': Trying to load from /usr/local/samba/lib/vfs/acl_xattr.so Module 'acl_xattr' loaded Successfully added vfs backend 'acl_xattr' Successfully loaded vfs module [acl_xattr] with the new modules system Initialising custom vfs hooks from [dfs_samba4] Successfully loaded vfs module [dfs_samba4] with the new modules system Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Successfully loaded vfs module [/[Default VFS]/] with the new modules system Initialising custom vfs hooks from [acl_xattr] Successfully loaded vfs module [acl_xattr] with the new modules system Initialising custom vfs hooks from [dfs_samba4] Successfully loaded vfs module [dfs_samba4] with the new modules system Setting up share.ldb lpcfg_servicenumber: couldn't find ldb Setting up secrets.ldb lpcfg_servicenumber: couldn't find ldb lpcfg_servicenumber: couldn't find ldb Setting up the registry ldb: no modules required by the db ldb: No modules specified for this database ldb_wrap open of hklm.ldb ldb: start ldb transaction (nesting: 0) ldb: commit ldb transaction (nesting: 0) Key 'key=SOFTWARE,hive=NONE' not found key added: key=SOFTWARE,hive=NONE Key 'key=Microsoft,key=SOFTWARE,hive=NONE' not found key added: key=Microsoft,key=SOFTWARE,hive=NONE Key 'key=Windows NT,key=Microsoft,key=SOFTWARE,hive=NONE' not found key added: key=Windows NT,key=Microsoft,key=SOFTWARE,hive=NONE Key 'key=CurrentVersion,key=Windows NT,key=Microsoft,key=SOFTWARE,hive=NONE' not found key added: key=CurrentVersion,key=Windows NT,key=Microsoft,key=SOFTWARE,hive=NONE About to write CurrentVersion with type (null), length 3: 6.1 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.6/site-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib/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/lib/python2.6/site-packages/samba/upgrade.py", line 841, in upgrade_from_samba3 use_ntvfs=use_ntvfs, skip_sysvolacl=True) File "/usr/local/samba/lib/python2.6/site-packages/samba/provision/__init__.py", line 2012, in provision setup_registry(paths.hklm, session_info, lp=lp) File "/usr/local/samba/lib/python2.6/site-packages/samba/provision/__init__.py", line 939, in setup_registry reg.diff_apply(provision_reg) The connection to the LDAP server was closed I think the problem is: About to write CurrentVersion with type (null), length 3: 6.1 convert_string_talloc: Conversion not supported. Type null? Is normal the suffix hive=NONE? What is the conversion that generates the error? Regards.
Juan Asensio Sánchez
2013-Jan-12 14:37 UTC
[Samba] Samba4 domain classicupgrade "conversion not supported"
Anyone? 2013/1/4 Juan Asensio S?nchez <okelet at gmail.com>> Hi > > I am running the "samba-tool domain classicupgrade", and after solving > some problems (thread > http://lists.samba.org/archive/samba/2013-January/170777.html), now I am > getting this error: > > # samba-tool domain classicupgrade --dbdir ~/sambav3 --realm > XXXXXX.YYYYYY.TEST --use-xattrs=yes ~/sambav3/smb.conf -d9 > > ... > init_sam_from_ldap: Entry found for user: XXXXXX > init_sam_from_ldap: Entry found for user: XXXXXX$ > Next rid = 12801001 > Exporting posix attributes > Reading WINS database > lpcfg_load: refreshing parameters from /usr/local/samba/etc/smb.conf > lpcfg_load: refreshing parameters from /usr/local/samba/etc/smb.conf > Looking up IPv4 addresses > Looking up IPv6 addresses > No IPv6 address will be assigned > INFO: Current debug levels: > all: 9 > tdb: 9 > printdrivers: 9 > lanman: 9 > smb: 9 > rpc_parse: 9 > rpc_srv: 9 > rpc_cli: 9 > passdb: 9 > sam: 9 > auth: 9 > winbind: 9 > vfs: 9 > idmap: 9 > quota: 9 > acls: 9 > locking: 9 > msdfs: 9 > dmapi: 9 > registry: 9 > doing parameter idmap_ldb:use rfc2307 = yes > Processing section "[netlogon]" > doing parameter path > /usr/local/samba/var/locks/sysvol/xxxxx.yyyyy.test/scripts > doing parameter read only = No > Processing section "[sysvol]" > add_a_service: Creating snum = 2 for sysvol > doing parameter path = /usr/local/samba/var/locks/sysvol > doing parameter read only = No > pm_process() returned Yes > lp_servicenumber: couldn't find homes > Initialising default vfs hooks > Successfully added vfs backend 'posixacl' > Successfully added vfs backend '/[Default VFS]/' > Successfully added vfs backend 'dfs_samba4' > Initialising custom vfs hooks from [/[Default VFS]/] > Successfully loaded vfs module [/[Default VFS]/] with the new modules > system > Initialising custom vfs hooks from [acl_xattr] > vfs module [acl_xattr] not loaded - trying to load... > Loading module 'acl_xattr' > Loading module 'acl_xattr': Trying to load from > /usr/local/samba/lib/vfs/acl_xattr.so > Module 'acl_xattr' loaded > Successfully added vfs backend 'acl_xattr' > Successfully loaded vfs module [acl_xattr] with the new modules system > Initialising custom vfs hooks from [dfs_samba4] > Successfully loaded vfs module [dfs_samba4] with the new modules system > Initialising default vfs hooks > Initialising custom vfs hooks from [/[Default VFS]/] > Successfully loaded vfs module [/[Default VFS]/] with the new modules > system > Initialising custom vfs hooks from [acl_xattr] > Successfully loaded vfs module [acl_xattr] with the new modules system > Initialising custom vfs hooks from [dfs_samba4] > Successfully loaded vfs module [dfs_samba4] with the new modules system > Setting up share.ldb > lpcfg_servicenumber: couldn't find ldb > Setting up secrets.ldb > lpcfg_servicenumber: couldn't find ldb > lpcfg_servicenumber: couldn't find ldb > Setting up the registry > ldb: no modules required by the db > ldb: No modules specified for this database > ldb_wrap open of hklm.ldb > ldb: start ldb transaction (nesting: 0) > ldb: commit ldb transaction (nesting: 0) > Key 'key=SOFTWARE,hive=NONE' not found > key added: key=SOFTWARE,hive=NONE > Key 'key=Microsoft,key=SOFTWARE,hive=NONE' not found > key added: key=Microsoft,key=SOFTWARE,hive=NONE > Key 'key=Windows NT,key=Microsoft,key=SOFTWARE,hive=NONE' not found > key added: key=Windows NT,key=Microsoft,key=SOFTWARE,hive=NONE > Key 'key=CurrentVersion,key=Windows > NT,key=Microsoft,key=SOFTWARE,hive=NONE' not found > key added: key=CurrentVersion,key=Windows > NT,key=Microsoft,key=SOFTWARE,hive=NONE > About to write CurrentVersion with type (null), length 3: 6.1 > 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.6/site-packages/samba/netcmd/__init__.py", > line 175, in _run > return self.run(*args, **kwargs) > File > "/usr/local/samba/lib/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/lib/python2.6/site-packages/samba/upgrade.py", > line 841, in upgrade_from_samba3 > use_ntvfs=use_ntvfs, skip_sysvolacl=True) > File > "/usr/local/samba/lib/python2.6/site-packages/samba/provision/__init__.py", > line 2012, in provision > setup_registry(paths.hklm, session_info, lp=lp) > File > "/usr/local/samba/lib/python2.6/site-packages/samba/provision/__init__.py", > line 939, in setup_registry > reg.diff_apply(provision_reg) > The connection to the LDAP server was closed > > > I think the problem is: > > About to write CurrentVersion with type (null), length 3: 6.1 > convert_string_talloc: Conversion not supported. > > Type null? Is normal the suffix hive=NONE? What is the conversion that > generates the error? > > Regards. >
Seemingly Similar Threads
- Samba 4 classicupgrade: Error converting string to value for line:"CurrentVersion"
- Samba4 4.0.3 classicupgrade - Error converting string to value for line: "CurrentVersion"
- domain RODC fails with default provisioning
- samba-tool domain classicupgrade with LDAP backend
- WERR_DS_DRA_MISSING_PARENT while Joining Samba4 DC to Samba4 Domain