[Samba] Migrate and Update (Samba 4.1 ADDC to Samba Latest Version on different Server).

Rowland Penny rpenny at samba.org
Thu Dec 1 18:35:35 UTC 2022



On 01/12/2022 18:30, Juan Ignacio wrote:

> Do you know why I cannot usethe online backup of samba-tool on the new 
> server?
> 
> root at DC2:/domain/samba/domainBackups# samba-tool domain backup online 
> --targetdir=/domain/samba/domainBackups --server=DC2 -UAdministrator
> ERROR(runtime): uncaught exception - (3221225653, '{Device Timeout} The 
> specified I/O operation on %hs was not completed before the time-out 
> period expired.')
>    File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 
> 186, in _run
>      return self.run(*args, **kwargs)
>    File "/usr/lib/python3/dist-packages/samba/netcmd/domain_backup.py", 
> line 261, in run
>      ctx = join_clone(logger=logger, creds=creds, lp=lp,
>    File "/usr/lib/python3/dist-packages/samba/join.py", line 1552, in 
> join_clone
>      ctx = DCCloneContext(logger, server, creds, lp, targetdir=targetdir,
>    File "/usr/lib/python3/dist-packages/samba/join.py", line 1576, in 
> __init__
>      super(DCCloneContext, ctx).__init__(logger, server, creds, lp,
>    File "/usr/lib/python3/dist-packages/samba/join.py", line 101, in 
> __init__
>      ctx.site = ctx.find_dc_site(ctx.server)
>    File "/usr/lib/python3/dist-packages/samba/join.py", line 363, in 
> find_dc_site
>      cldap_ret = ctx.net.finddc(address=server,
> 

With python errors, the last line is usually the culprit and so it looks 
like it is timing out waiting for the search for a DC to return. We are 
back to checking the DNS for errors.

Rowland




More information about the samba mailing list