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

Juan Ignacio juan.ignacio.pazos at gmail.com
Thu Dec 1 23:05:20 UTC 2022


I ping DC2.OURDOMAIN.ORG <http://dc2.ourdomain.org/> from itself and work.

Its resolving localhost. 127.0.1.1

I ping DC2  and is resolving localhost too.


If i ping DC2 from DC1 the old server its resolving the address correctly
too.


Thx.

El jue, 1 dic 2022 18:24, Juan Ignacio <juan.ignacio.pazos at gmail.com>
escribió:

> I ping DC2.OURDOMAIN.ORG from itself and work.
>
> Its resolving localhost. 127.0.0.1
>
> I ping DC2  and is resolving localhost too.
>
>
> If i ping DC2 from DC1 the old server its resolving the address correctly
> too.
>
>
> Thx.
>
>
>
> El jue, 1 dic 2022 15:57, Juan Ignacio <juan.ignacio.pazos at gmail.com>
> escribió:
>
>> Seems like the online backup worked if i backup the original DC "DC1",
>> not if I put the new one "DC2".
>>
>> Of course i'm using the command on the new server with 4.16
>>
>> samba-tool domain backup online --targetdir=/domain/samba/domainBackups
>> --server=DC1 -UAdministrator  Worked!!
>>
>> samba-tool domain backup online --targetdir=/domain/samba/domainBackups
>> --server=DC2 -UAdministrator NOT WORKED
>>
>> Any suggestions? To check the errors.
>>
>>
>> El jue, 1 dic 2022 a las 15:36, Rowland Penny via samba (<
>> samba at lists.samba.org>) escribió:
>>
>>>
>>>
>>> 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
>>>
>>>
>>> --
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions:  https://lists.samba.org/mailman/options/samba
>>>
>>


More information about the samba mailing list