samba-debug at gbif.org
2013-Mar-07 15:25 UTC
[Samba] Samba 4 classicupgrade: Error converting string to value for line:"CurrentVersion"
Hello, I've seen this upgrade error posted before: https://lists.samba.org/archive/samba/2013-January/171022.html but either there is a different issue or I'm misreading the post. Basically when I run the classicupgrade (samba3 to 4) on a test machine, I get the following (the full debug output will be at the end of my post): ....... 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/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 841, in upgrade_from_samba3 use_ntvfs=use_ntvfs, skip_sysvolacl=True) File "/usr/local/samba/lib64/python2.6/site-packages/samba/provision/__init__.py", line 2100, in provision setup_registry(paths.hklm, session_info, lp=lp) File "/usr/local/samba/lib64/python2.6/site-packages/samba/provision/__init__.py", line 1002, in setup_registry reg.diff_apply(provision_reg) The connection to the LDAP server was closed As suggested by the post referred to above, I've moved my registry.tdb away, but without any effect. I've traced the upgrade and it seems it doesn't look for registry.tdb (or at least I cannot find any attempt to open it). I would be grateful for any hints! Thanks! Best regards, Andrei Full debug follows: # /usr/local/samba/bin/samba-tool domain classicupgrade -d 200 --dbdir=/root/work/samba/ --use-xattrs=yes --realm=windom.gbif.org /root/work/smb.conf INFO: Current debug levels: all: 200 tdb: 200 printdrivers: 200 lanman: 200 smb: 200 rpc_parse: 200 rpc_srv: 200 rpc_cli: 200 passdb: 200 sam: 200 auth: 200 winbind: 200 vfs: 200 idmap: 200 quota: 200 acls: 200 locking: 200 msdfs: 200 dmapi: 200 registry: 200 Reading smb.conf lp_load_ex: refreshing parameters Initialising global parameters rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) params.c:pm_process() - Processing configuration file "/root/work/smb.conf" Processing section "[global]" doing parameter unix charset = LOCALE doing parameter unix extensions = off doing parameter workgroup = GBIF doing parameter netbios name = newaino doing parameter server string = GBIF mail and file server doing parameter hide dot files = yes doing parameter hide unreadable = yes doing parameter veto files = /*netlogon*/Maildir/ doing parameter interfaces = em1 , lo doing parameter bind interfaces only = Yes doing parameter passdb backend = ldapsam:"ldap://localhost" doing parameter username map = /etc/samba/smbusers doing parameter log level = 1 WARNING: The "idmap backend" option is deprecated WARNING: The "idmap uid" option is deprecated WARNING: The "idmap gid" option is deprecated Unknown parameter encountered: "printer admin" Ignoring unknown parameter "printer admin" Unknown parameter encountered: "share modes" Ignoring unknown parameter "share modes" Unknown parameter encountered: "printer admin" Ignoring unknown parameter "printer admin" Unknown parameter encountered: "printer admin" Ignoring unknown parameter "printer admin" Unknown parameter encountered: "printer admin" Ignoring unknown parameter "printer admin" Unknown parameter encountered: "printer admin" Ignoring unknown parameter "printer admin" Unknown parameter encountered: "printer admin" Ignoring unknown parameter "printer admin" Unknown parameter encountered: "printer admin" Ignoring unknown parameter "printer admin" Provisioning Exporting account policy Exporting groups Exporting users Ignoring group memberships of 'root' S-1-5-21-1963682937-3502233201-1541774305-1000: Unable to enumerate group memberships, (-1073741596,NT_STATUS_INTERNAL_DB_CORRUPTION) Next rid = 41026 Exporting posix attributes Reading WINS database Looking up IPv4 addresses Looking up IPv6 addresses No IPv6 address will be assigned INFO: Current debug levels: all: 200 tdb: 200 printdrivers: 200 lanman: 200 smb: 200 rpc_parse: 200 rpc_srv: 200 rpc_cli: 200 passdb: 200 sam: 200 auth: 200 winbind: 200 vfs: 200 idmap: 200 quota: 200 acls: 200 locking: 200 msdfs: 200 dmapi: 200 registry: 200 doing parameter idmap_ldb:use rfc2307 = yes Processing section "[netlogon]" doing parameter path = /usr/local/samba/var/locks/sysvol/windom.gbif.org/scripts doing parameter read only = No Processing section "[sysvol]" add_a_service: Creating snum = 16 for sysvol hash_a_service: hashing index 16 for service name sysvol doing parameter path = /usr/local/samba/var/locks/sysvol doing parameter read only = No pm_process() returned Yes set_conn_connectpath: service (null), connectpath = / Initialising default vfs hooks vfs_find_backend_entry called for posixacl Successfully added vfs backend 'posixacl' vfs_find_backend_entry called for /[Default VFS]/ Successfully added vfs backend '/[Default VFS]/' vfs_find_backend_entry called for dfs_samba4 Successfully added vfs backend 'dfs_samba4' vfs_dfs_samba4: Debug class number of 'fileid': 20 Initialising custom vfs hooks from [/[Default VFS]/] vfs_find_backend_entry called for /[Default VFS]/ Successfully loaded vfs module [/[Default VFS]/] with the new modules system Initialising custom vfs hooks from [acl_xattr] vfs_find_backend_entry called for 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 vfs_find_backend_entry called for acl_xattr Successfully added vfs backend 'acl_xattr' vfs_find_backend_entry called for acl_xattr Successfully loaded vfs module [acl_xattr] with the new modules system Initialising custom vfs hooks from [dfs_samba4] vfs_find_backend_entry called for dfs_samba4 Successfully loaded vfs module [dfs_samba4] with the new modules system Calling acl_set_file: /usr/local/samba/var/locks/sysvol/tmpoEPBWP, 0 set_conn_connectpath: service (null), connectpath = / Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] vfs_find_backend_entry called for /[Default VFS]/ Successfully loaded vfs module [/[Default VFS]/] with the new modules system Initialising custom vfs hooks from [acl_xattr] vfs_find_backend_entry called for acl_xattr Successfully loaded vfs module [acl_xattr] with the new modules system Initialising custom vfs hooks from [dfs_samba4] vfs_find_backend_entry called for 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: ldb_trace_request: SEARCH dn: @MODULES scope: base expr: (@LIST=*) attr: @LIST control: <NONE> ldb: ldb_trace_request: (tdb)->search tevent: Added timed event "ltdb_callback": 0x1d0ccb0 tevent: Added timed event "ltdb_timeout": 0x1d0cd60 tevent: Destroying timer event 0x1d0cd60 "ltdb_timeout" tevent: Ending timer event 0x1d0ccb0 "ltdb_callback" ldb: no modules required by the db ldb: No modules specified for this database ldb: ldb_trace_request: REGISTER_CONTROL 1.2.840.113556.1.4.1413 control: <NONE> ldb: ldb_asprintf/set_errstring: unable to find module or backend to handle operation: request ldb: ldb_trace_request: SEARCH dn: <rootDSE> scope: base expr: (objectClass=*) attr: rootDomainNamingContext attr: configurationNamingContext attr: schemaNamingContext attr: defaultNamingContext control: <NONE> ldb: ldb_trace_request: (tdb)->search tevent: Added timed event "ltdb_callback": 0x1cf2300 tevent: Added timed event "ltdb_timeout": 0x1cf2440 ldb: ldb_asprintf/set_errstring: NULL Base DN invalid for a base search tevent: Destroying timer event 0x1cf2440 "ltdb_timeout" tevent: Ending timer event 0x1cf2300 "ltdb_callback" ldb_wrap open of hklm.ldb ldb: start ldb transaction (nesting: 0) ldb: ldb_trace_request: (tdb)->start_transaction ldb: start ldb transaction error: (null) ldb: ldb_trace_request: ADD dn: @ATTRIBUTES changetype: add key: CASE_INSENSITIVE value: CASE_INSENSITIVE control: <NONE> ldb: ldb_trace_request: (tdb)->add tevent: Added timed event "ltdb_callback": 0x1cf2500 tevent: Added timed event "ltdb_timeout": 0x1cf25b0 tevent: Destroying timer event 0x1cf25b0 "ltdb_timeout" tevent: Ending timer event 0x1cf2500 "ltdb_callback" ldb: ldb_trace_request: (tdb)->prepare_commit ldb: commit ldb transaction (nesting: 0) ldb: ldb_trace_request: (tdb)->end_transaction tevent: Added timed event "ltdb_callback": 0x1d0ca70 tevent: Added timed event "ltdb_timeout": 0x1d0cb20 tevent: Destroying timer event 0x1d0cb20 "ltdb_timeout" tevent: Ending timer event 0x1d0ca70 "ltdb_callback" Key 'key=SOFTWARE,hive=NONE' not found tevent: Added timed event "ltdb_callback": 0x1d14c20 tevent: Added timed event "ltdb_timeout": 0x1d14d40 tevent: Destroying timer event 0x1d14d40 "ltdb_timeout" tevent: Ending timer event 0x1d14c20 "ltdb_callback" key added: key=SOFTWARE,hive=NONE tevent: Added timed event "ltdb_callback": 0x1d1ff70 tevent: Added timed event "ltdb_timeout": 0x1d20020 tevent: Destroying timer event 0x1d20020 "ltdb_timeout" tevent: Ending timer event 0x1d1ff70 "ltdb_callback" tevent: Added timed event "ltdb_callback": 0x1d20b80 tevent: Added timed event "ltdb_timeout": 0x1d20c30 tevent: Destroying timer event 0x1d20c30 "ltdb_timeout" tevent: Ending timer event 0x1d20b80 "ltdb_callback" tevent: Added timed event "ltdb_callback": 0x1d21740 tevent: Added timed event "ltdb_timeout": 0x1d217f0 tevent: Destroying timer event 0x1d217f0 "ltdb_timeout" tevent: Ending timer event 0x1d21740 "ltdb_callback" Key 'key=Microsoft,key=SOFTWARE,hive=NONE' not found tevent: Added timed event "ltdb_callback": 0x1d1fc20 tevent: Added timed event "ltdb_timeout": 0x1d1fd40 tevent: Destroying timer event 0x1d1fd40 "ltdb_timeout" tevent: Ending timer event 0x1d1fc20 "ltdb_callback" key added: key=Microsoft,key=SOFTWARE,hive=NONE tevent: Added timed event "ltdb_callback": 0x1d22520 tevent: Added timed event "ltdb_timeout": 0x1d225d0 tevent: Destroying timer event 0x1d225d0 "ltdb_timeout" tevent: Ending timer event 0x1d22520 "ltdb_callback" tevent: Added timed event "ltdb_callback": 0x1d23030 tevent: Added timed event "ltdb_timeout": 0x1d230e0 tevent: Destroying timer event 0x1d230e0 "ltdb_timeout" tevent: Ending timer event 0x1d23030 "ltdb_callback" tevent: Added timed event "ltdb_callback": 0x1d16380 tevent: Added timed event "ltdb_timeout": 0x1d16640 tevent: Destroying timer event 0x1d16640 "ltdb_timeout" tevent: Ending timer event 0x1d16380 "ltdb_callback" tevent: Added timed event "ltdb_callback": 0x1d17210 tevent: Added timed event "ltdb_timeout": 0x1d172c0 tevent: Destroying timer event 0x1d172c0 "ltdb_timeout" tevent: Ending timer event 0x1d17210 "ltdb_callback" tevent: Added timed event "ltdb_callback": 0x1d17210 tevent: Added timed event "ltdb_timeout": 0x1d17bf0 tevent: Destroying timer event 0x1d17bf0 "ltdb_timeout" tevent: Ending timer event 0x1d17210 "ltdb_callback" tevent: Added timed event "ltdb_callback": 0x1d18790 tevent: Added timed event "ltdb_timeout": 0x1d18840 tevent: Destroying timer event 0x1d18840 "ltdb_timeout" tevent: Ending timer event 0x1d18790 "ltdb_callback" Key 'key=Windows NT,key=Microsoft,key=SOFTWARE,hive=NONE' not found tevent: Added timed event "ltdb_callback": 0x1d181d0 tevent: Added timed event "ltdb_timeout": 0x1d16610 tevent: Destroying timer event 0x1d16610 "ltdb_timeout" tevent: Ending timer event 0x1d181d0 "ltdb_callback" key added: key=Windows NT,key=Microsoft,key=SOFTWARE,hive=NONE tevent: Added timed event "ltdb_callback": 0x1d19360 tevent: Added timed event "ltdb_timeout": 0x1d19410 tevent: Destroying timer event 0x1d19410 "ltdb_timeout" tevent: Ending timer event 0x1d19360 "ltdb_callback" tevent: Added timed event "ltdb_callback": 0x1d19e10 tevent: Added timed event "ltdb_timeout": 0x1d19ec0 tevent: Destroying timer event 0x1d19ec0 "ltdb_timeout" tevent: Ending timer event 0x1d19e10 "ltdb_callback" tevent: Added timed event "ltdb_callback": 0x1d1a7e0 tevent: Added timed event "ltdb_timeout": 0x1d1aaa0 tevent: Destroying timer event 0x1d1aaa0 "ltdb_timeout" tevent: Ending timer event 0x1d1a7e0 "ltdb_callback" tevent: Added timed event "ltdb_callback": 0x1d1b6d0 tevent: Added timed event "ltdb_timeout": 0x1d1b780 tevent: Destroying timer event 0x1d1b780 "ltdb_timeout" tevent: Ending timer event 0x1d1b6d0 "ltdb_callback" tevent: Added timed event "ltdb_callback": 0x1d1b6d0 tevent: Added timed event "ltdb_timeout": 0x1d1c110 tevent: Destroying timer event 0x1d1c110 "ltdb_timeout" tevent: Ending timer event 0x1d1b6d0 "ltdb_callback" tevent: Added timed event "ltdb_callback": 0x1d1ccb0 tevent: Added timed event "ltdb_timeout": 0x1d1cd60 tevent: Destroying timer event 0x1d1cd60 "ltdb_timeout" tevent: Ending timer event 0x1d1ccb0 "ltdb_callback" tevent: Added timed event "ltdb_callback": 0x1d1dcf0 tevent: Added timed event "ltdb_timeout": 0x1d1dda0 tevent: Destroying timer event 0x1d1dda0 "ltdb_timeout" tevent: Ending timer event 0x1d1dcf0 "ltdb_callback" tevent: Added timed event "ltdb_callback": 0x1d1dd80 tevent: Added timed event "ltdb_timeout": 0x1d1e5c0 tevent: Destroying timer event 0x1d1e5c0 "ltdb_timeout" tevent: Ending timer event 0x1d1dd80 "ltdb_callback" tevent: Added timed event "ltdb_callback": 0x1d1ccb0 tevent: Added timed event "ltdb_timeout": 0x1d1f0e0 tevent: Destroying timer event 0x1d1f0e0 "ltdb_timeout" tevent: Ending timer event 0x1d1ccb0 "ltdb_callback" tevent: Added timed event "ltdb_callback": 0x1d1e520 tevent: Added timed event "ltdb_timeout": 0x1d1ccb0 tevent: Destroying timer event 0x1d1ccb0 "ltdb_timeout" tevent: Ending timer event 0x1d1e520 "ltdb_callback" Key 'key=CurrentVersion,key=Windows NT,key=Microsoft,key=SOFTWARE,hive=NONE' not found tevent: Added timed event "ltdb_callback": 0x1d1f710 tevent: Added timed event "ltdb_timeout": 0x1d1f830 tevent: Destroying timer event 0x1d1f830 "ltdb_timeout" tevent: Ending timer event 0x1d1f710 "ltdb_callback" 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/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 841, in upgrade_from_samba3 use_ntvfs=use_ntvfs, skip_sysvolacl=True) File "/usr/local/samba/lib64/python2.6/site-packages/samba/provision/__init__.py", line 2100, in provision setup_registry(paths.hklm, session_info, lp=lp) File "/usr/local/samba/lib64/python2.6/site-packages/samba/provision/__init__.py", line 1002, in setup_registry reg.diff_apply(provision_reg) The connection to the LDAP server was closed
samba-debug at gbif.org
2013-Mar-19 08:04 UTC
[Samba] Samba 4 classicupgrade: Error converting string to value for line:"CurrentVersion"
On 07/03/13 16:25, samba-debug at gbif.org wrote:> Hello, > > I've seen this upgrade error posted before: > > https://lists.samba.org/archive/samba/2013-January/171022.html > > but either there is a different issue or I'm misreading the post. > > Basically when I run the classicupgrade (samba3 to 4) on a test > machine, I get the following (the full debug output will be at the end > of my post): > ....... > 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/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 841, in upgrade_from_samba3 > use_ntvfs=use_ntvfs, skip_sysvolacl=True) > File > "/usr/local/samba/lib64/python2.6/site-packages/samba/provision/__init__.py", > line 2100, in provision > setup_registry(paths.hklm, session_info, lp=lp) > File > "/usr/local/samba/lib64/python2.6/site-packages/samba/provision/__init__.py", > line 1002, in setup_registry > reg.diff_apply(provision_reg) > The connection to the LDAP server was closed > > As suggested by the post referred to above, I've moved my registry.tdb > away, but without any effect. I've traced the upgrade and it seems it > doesn't look for registry.tdb (or at least I cannot find any attempt > to open it). > > I would be grateful for any hints! > > Thanks! > > Best regards, > Andrei > > > Full debug follows: > > # /usr/local/samba/bin/samba-tool domain classicupgrade -d 200 > --dbdir=/root/work/samba/ --use-xattrs=yes --realm=windom.gbif.org > /root/work/smb.conf > INFO: Current debug levels: > all: 200 > tdb: 200 > printdrivers: 200 > lanman: 200 > smb: 200 > rpc_parse: 200 > rpc_srv: 200 > rpc_cli: 200 > passdb: 200 > sam: 200 > auth: 200 > winbind: 200 > vfs: 200 > idmap: 200 > quota: 200 > acls: 200 > locking: 200 > msdfs: 200 > dmapi: 200 > registry: 200 > Reading smb.conf > lp_load_ex: refreshing parameters > Initialising global parameters > rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) > params.c:pm_process() - Processing configuration file > "/root/work/smb.conf" > Processing section "[global]" > doing parameter unix charset = LOCALE > doing parameter unix extensions = off > doing parameter workgroup = GBIF > doing parameter netbios name = newaino > doing parameter server string = GBIF mail and file server > doing parameter hide dot files = yes > doing parameter hide unreadable = yes > doing parameter veto files = /*netlogon*/Maildir/ > doing parameter interfaces = em1 , lo > doing parameter bind interfaces only = Yes > doing parameter passdb backend = ldapsam:"ldap://localhost" > doing parameter username map = /etc/samba/smbusers > doing parameter log level = 1 > WARNING: The "idmap backend" option is deprecated > WARNING: The "idmap uid" option is deprecated > WARNING: The "idmap gid" option is deprecated > Unknown parameter encountered: "printer admin" > Ignoring unknown parameter "printer admin" > Unknown parameter encountered: "share modes" > Ignoring unknown parameter "share modes" > Unknown parameter encountered: "printer admin" > Ignoring unknown parameter "printer admin" > Unknown parameter encountered: "printer admin" > Ignoring unknown parameter "printer admin" > Unknown parameter encountered: "printer admin" > Ignoring unknown parameter "printer admin" > Unknown parameter encountered: "printer admin" > Ignoring unknown parameter "printer admin" > Unknown parameter encountered: "printer admin" > Ignoring unknown parameter "printer admin" > Unknown parameter encountered: "printer admin" > Ignoring unknown parameter "printer admin" > Provisioning > Exporting account policy > Exporting groups > Exporting users > Ignoring group memberships of 'root' > S-1-5-21-1963682937-3502233201-1541774305-1000: Unable to enumerate > group memberships, (-1073741596,NT_STATUS_INTERNAL_DB_CORRUPTION) > Next rid = 41026 > Exporting posix attributes > Reading WINS database > Looking up IPv4 addresses > Looking up IPv6 addresses > No IPv6 address will be assigned > INFO: Current debug levels: > all: 200 > tdb: 200 > printdrivers: 200 > lanman: 200 > smb: 200 > rpc_parse: 200 > rpc_srv: 200 > rpc_cli: 200 > passdb: 200 > sam: 200 > auth: 200 > winbind: 200 > vfs: 200 > idmap: 200 > quota: 200 > acls: 200 > locking: 200 > msdfs: 200 > dmapi: 200 > registry: 200 > doing parameter idmap_ldb:use rfc2307 = yes > Processing section "[netlogon]" > doing parameter path = > /usr/local/samba/var/locks/sysvol/windom.gbif.org/scripts > doing parameter read only = No > Processing section "[sysvol]" > add_a_service: Creating snum = 16 for sysvol > hash_a_service: hashing index 16 for service name sysvol > doing parameter path = /usr/local/samba/var/locks/sysvol > doing parameter read only = No > pm_process() returned Yes > set_conn_connectpath: service (null), connectpath = / > Initialising default vfs hooks > vfs_find_backend_entry called for posixacl > Successfully added vfs backend 'posixacl' > vfs_find_backend_entry called for /[Default VFS]/ > Successfully added vfs backend '/[Default VFS]/' > vfs_find_backend_entry called for dfs_samba4 > Successfully added vfs backend 'dfs_samba4' > vfs_dfs_samba4: Debug class number of 'fileid': 20 > Initialising custom vfs hooks from [/[Default VFS]/] > vfs_find_backend_entry called for /[Default VFS]/ > Successfully loaded vfs module [/[Default VFS]/] with the new modules > system > Initialising custom vfs hooks from [acl_xattr] > vfs_find_backend_entry called for 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 > vfs_find_backend_entry called for acl_xattr > Successfully added vfs backend 'acl_xattr' > vfs_find_backend_entry called for acl_xattr > Successfully loaded vfs module [acl_xattr] with the new modules system > Initialising custom vfs hooks from [dfs_samba4] > vfs_find_backend_entry called for dfs_samba4 > Successfully loaded vfs module [dfs_samba4] with the new modules system > Calling acl_set_file: /usr/local/samba/var/locks/sysvol/tmpoEPBWP, 0 > set_conn_connectpath: service (null), connectpath = / > Initialising default vfs hooks > Initialising custom vfs hooks from [/[Default VFS]/] > vfs_find_backend_entry called for /[Default VFS]/ > Successfully loaded vfs module [/[Default VFS]/] with the new modules > system > Initialising custom vfs hooks from [acl_xattr] > vfs_find_backend_entry called for acl_xattr > Successfully loaded vfs module [acl_xattr] with the new modules system > Initialising custom vfs hooks from [dfs_samba4] > vfs_find_backend_entry called for 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: ldb_trace_request: SEARCH > dn: @MODULES > scope: base > expr: (@LIST=*) > attr: @LIST > control: <NONE> > > ldb: ldb_trace_request: (tdb)->search > tevent: Added timed event "ltdb_callback": 0x1d0ccb0 > tevent: Added timed event "ltdb_timeout": 0x1d0cd60 > tevent: Destroying timer event 0x1d0cd60 "ltdb_timeout" > tevent: Ending timer event 0x1d0ccb0 "ltdb_callback" > ldb: no modules required by the db > ldb: No modules specified for this database > ldb: ldb_trace_request: REGISTER_CONTROL > 1.2.840.113556.1.4.1413 > control: <NONE> > > ldb: ldb_asprintf/set_errstring: unable to find module or backend to > handle operation: request > ldb: ldb_trace_request: SEARCH > dn: <rootDSE> > scope: base > expr: (objectClass=*) > attr: rootDomainNamingContext > attr: configurationNamingContext > attr: schemaNamingContext > attr: defaultNamingContext > control: <NONE> > > ldb: ldb_trace_request: (tdb)->search > tevent: Added timed event "ltdb_callback": 0x1cf2300 > tevent: Added timed event "ltdb_timeout": 0x1cf2440 > ldb: ldb_asprintf/set_errstring: NULL Base DN invalid for a base search > tevent: Destroying timer event 0x1cf2440 "ltdb_timeout" > tevent: Ending timer event 0x1cf2300 "ltdb_callback" > ldb_wrap open of hklm.ldb > ldb: start ldb transaction (nesting: 0) > ldb: ldb_trace_request: (tdb)->start_transaction > ldb: start ldb transaction error: (null) > ldb: ldb_trace_request: ADD > dn: @ATTRIBUTES > changetype: add > key: CASE_INSENSITIVE > value: CASE_INSENSITIVE > > > control: <NONE> > > ldb: ldb_trace_request: (tdb)->add > tevent: Added timed event "ltdb_callback": 0x1cf2500 > tevent: Added timed event "ltdb_timeout": 0x1cf25b0 > tevent: Destroying timer event 0x1cf25b0 "ltdb_timeout" > tevent: Ending timer event 0x1cf2500 "ltdb_callback" > ldb: ldb_trace_request: (tdb)->prepare_commit > ldb: commit ldb transaction (nesting: 0) > ldb: ldb_trace_request: (tdb)->end_transaction > tevent: Added timed event "ltdb_callback": 0x1d0ca70 > tevent: Added timed event "ltdb_timeout": 0x1d0cb20 > tevent: Destroying timer event 0x1d0cb20 "ltdb_timeout" > tevent: Ending timer event 0x1d0ca70 "ltdb_callback" > Key 'key=SOFTWARE,hive=NONE' not found > tevent: Added timed event "ltdb_callback": 0x1d14c20 > tevent: Added timed event "ltdb_timeout": 0x1d14d40 > tevent: Destroying timer event 0x1d14d40 "ltdb_timeout" > tevent: Ending timer event 0x1d14c20 "ltdb_callback" > key added: key=SOFTWARE,hive=NONE > tevent: Added timed event "ltdb_callback": 0x1d1ff70 > tevent: Added timed event "ltdb_timeout": 0x1d20020 > tevent: Destroying timer event 0x1d20020 "ltdb_timeout" > tevent: Ending timer event 0x1d1ff70 "ltdb_callback" > tevent: Added timed event "ltdb_callback": 0x1d20b80 > tevent: Added timed event "ltdb_timeout": 0x1d20c30 > tevent: Destroying timer event 0x1d20c30 "ltdb_timeout" > tevent: Ending timer event 0x1d20b80 "ltdb_callback" > tevent: Added timed event "ltdb_callback": 0x1d21740 > tevent: Added timed event "ltdb_timeout": 0x1d217f0 > tevent: Destroying timer event 0x1d217f0 "ltdb_timeout" > tevent: Ending timer event 0x1d21740 "ltdb_callback" > Key 'key=Microsoft,key=SOFTWARE,hive=NONE' not found > tevent: Added timed event "ltdb_callback": 0x1d1fc20 > tevent: Added timed event "ltdb_timeout": 0x1d1fd40 > tevent: Destroying timer event 0x1d1fd40 "ltdb_timeout" > tevent: Ending timer event 0x1d1fc20 "ltdb_callback" > key added: key=Microsoft,key=SOFTWARE,hive=NONE > tevent: Added timed event "ltdb_callback": 0x1d22520 > tevent: Added timed event "ltdb_timeout": 0x1d225d0 > tevent: Destroying timer event 0x1d225d0 "ltdb_timeout" > tevent: Ending timer event 0x1d22520 "ltdb_callback" > tevent: Added timed event "ltdb_callback": 0x1d23030 > tevent: Added timed event "ltdb_timeout": 0x1d230e0 > tevent: Destroying timer event 0x1d230e0 "ltdb_timeout" > tevent: Ending timer event 0x1d23030 "ltdb_callback" > tevent: Added timed event "ltdb_callback": 0x1d16380 > tevent: Added timed event "ltdb_timeout": 0x1d16640 > tevent: Destroying timer event 0x1d16640 "ltdb_timeout" > tevent: Ending timer event 0x1d16380 "ltdb_callback" > tevent: Added timed event "ltdb_callback": 0x1d17210 > tevent: Added timed event "ltdb_timeout": 0x1d172c0 > tevent: Destroying timer event 0x1d172c0 "ltdb_timeout" > tevent: Ending timer event 0x1d17210 "ltdb_callback" > tevent: Added timed event "ltdb_callback": 0x1d17210 > tevent: Added timed event "ltdb_timeout": 0x1d17bf0 > tevent: Destroying timer event 0x1d17bf0 "ltdb_timeout" > tevent: Ending timer event 0x1d17210 "ltdb_callback" > tevent: Added timed event "ltdb_callback": 0x1d18790 > tevent: Added timed event "ltdb_timeout": 0x1d18840 > tevent: Destroying timer event 0x1d18840 "ltdb_timeout" > tevent: Ending timer event 0x1d18790 "ltdb_callback" > Key 'key=Windows NT,key=Microsoft,key=SOFTWARE,hive=NONE' not found > tevent: Added timed event "ltdb_callback": 0x1d181d0 > tevent: Added timed event "ltdb_timeout": 0x1d16610 > tevent: Destroying timer event 0x1d16610 "ltdb_timeout" > tevent: Ending timer event 0x1d181d0 "ltdb_callback" > key added: key=Windows NT,key=Microsoft,key=SOFTWARE,hive=NONE > tevent: Added timed event "ltdb_callback": 0x1d19360 > tevent: Added timed event "ltdb_timeout": 0x1d19410 > tevent: Destroying timer event 0x1d19410 "ltdb_timeout" > tevent: Ending timer event 0x1d19360 "ltdb_callback" > tevent: Added timed event "ltdb_callback": 0x1d19e10 > tevent: Added timed event "ltdb_timeout": 0x1d19ec0 > tevent: Destroying timer event 0x1d19ec0 "ltdb_timeout" > tevent: Ending timer event 0x1d19e10 "ltdb_callback" > tevent: Added timed event "ltdb_callback": 0x1d1a7e0 > tevent: Added timed event "ltdb_timeout": 0x1d1aaa0 > tevent: Destroying timer event 0x1d1aaa0 "ltdb_timeout" > tevent: Ending timer event 0x1d1a7e0 "ltdb_callback" > tevent: Added timed event "ltdb_callback": 0x1d1b6d0 > tevent: Added timed event "ltdb_timeout": 0x1d1b780 > tevent: Destroying timer event 0x1d1b780 "ltdb_timeout" > tevent: Ending timer event 0x1d1b6d0 "ltdb_callback" > tevent: Added timed event "ltdb_callback": 0x1d1b6d0 > tevent: Added timed event "ltdb_timeout": 0x1d1c110 > tevent: Destroying timer event 0x1d1c110 "ltdb_timeout" > tevent: Ending timer event 0x1d1b6d0 "ltdb_callback" > tevent: Added timed event "ltdb_callback": 0x1d1ccb0 > tevent: Added timed event "ltdb_timeout": 0x1d1cd60 > tevent: Destroying timer event 0x1d1cd60 "ltdb_timeout" > tevent: Ending timer event 0x1d1ccb0 "ltdb_callback" > tevent: Added timed event "ltdb_callback": 0x1d1dcf0 > tevent: Added timed event "ltdb_timeout": 0x1d1dda0 > tevent: Destroying timer event 0x1d1dda0 "ltdb_timeout" > tevent: Ending timer event 0x1d1dcf0 "ltdb_callback" > tevent: Added timed event "ltdb_callback": 0x1d1dd80 > tevent: Added timed event "ltdb_timeout": 0x1d1e5c0 > tevent: Destroying timer event 0x1d1e5c0 "ltdb_timeout" > tevent: Ending timer event 0x1d1dd80 "ltdb_callback" > tevent: Added timed event "ltdb_callback": 0x1d1ccb0 > tevent: Added timed event "ltdb_timeout": 0x1d1f0e0 > tevent: Destroying timer event 0x1d1f0e0 "ltdb_timeout" > tevent: Ending timer event 0x1d1ccb0 "ltdb_callback" > tevent: Added timed event "ltdb_callback": 0x1d1e520 > tevent: Added timed event "ltdb_timeout": 0x1d1ccb0 > tevent: Destroying timer event 0x1d1ccb0 "ltdb_timeout" > tevent: Ending timer event 0x1d1e520 "ltdb_callback" > Key 'key=CurrentVersion,key=Windows > NT,key=Microsoft,key=SOFTWARE,hive=NONE' not found > tevent: Added timed event "ltdb_callback": 0x1d1f710 > tevent: Added timed event "ltdb_timeout": 0x1d1f830 > tevent: Destroying timer event 0x1d1f830 "ltdb_timeout" > tevent: Ending timer event 0x1d1f710 "ltdb_callback" > 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/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 841, in upgrade_from_samba3 > use_ntvfs=use_ntvfs, skip_sysvolacl=True) > File > "/usr/local/samba/lib64/python2.6/site-packages/samba/provision/__init__.py", > line 2100, in provision > setup_registry(paths.hklm, session_info, lp=lp) > File > "/usr/local/samba/lib64/python2.6/site-packages/samba/provision/__init__.py", > line 1002, in setup_registry > reg.diff_apply(provision_reg) > The connection to the LDAP server was closed > >I thought I should post the solution to this: in my case, the old smb.conf contained unix charset = LOCALE Removing that line fixed the error I was encountering. Cheers, Andrei
Possibly Parallel Threads
- dns update failt (kerberos)
- FreeBSD problems with sysvol and share Acls
- After upgrading samba 4.5.10 to 4.9.13
- Dynamic DNS Updates not working. samba_dnsupdate : RuntimeError: (sambalist: to exclusive) kinit for [DC@Realm] failed (Cannot contact any KDC for requested realm)
- regpatch writing to local registry hive with -F not working (registery-utils 4.0.0~alpha15~git20110124.dfsg1-2ubuntu1)