Daniel Lopes de Carvalho
2020-Apr-08 11:47 UTC
[Samba] Join new DC to domain - advice to upgrade Samba 4.
Hi Louis, I installed the acl and edited resolv.conf as you suggested, but the error persist, unfortunately. This weekend I'll take a snapshot of the working DC and try to update Debian and Samba. If there is some other thing to do before the update, let me know, please. Thanks and best regards On Wed, Apr 8, 2020 at 4:09 AM L.P.H. van Belle via samba < samba at lists.samba.org> wrote:> All i see a missing acl package. > But that had nothing todo with not being able to join. > > But try this. > > Add in resolv.conf the ip of DCS02 and DCS03 in this order. > Try to join a gain. > > As i see now, your trying to join a server and that uses itself as > resolving server, that does not work when you joining. > > > Greetz, > > Louis > > > > -----Oorspronkelijk bericht----- > > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > > Rowland penny via samba > > Verzonden: dinsdag 7 april 2020 20:56 > > Aan: sambalist > > Onderwerp: Re: [Samba] Join new DC to domain - advice to > > upgrade Samba 4. > > > > On 07/04/2020 15:59, Daniel Lopes de Carvalho wrote: > > > Hi Rowland, > > > > > > I'll consider the update. But I need to backup this host (adc02) > > > before, because it the only and the main DC on my network... =( > > > > > > Find attached below the output of the script: > > > > > Nothing wrong there, is a firewall running on either machine ? > > > > Rowland > > > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/mailman/options/samba > > > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >-- Daniel Lopes de Carvalhohttp://www.unisim.cepetro.unicamp.brdaniel at cepetro.unicamp.br 19 3521-1221
Daniel Lopes de Carvalho
2020-Apr-08 20:52 UTC
[Samba] Join new DC to domain - advice to upgrade Samba 4.
I was wondering if is possible to install a new fresh updated Debian in a new host and transfer (copy with cp or something like that) the samba files and database from old ADC02 Samba DC to this new host? Thanks Em qua, 8 de abr de 2020 08:47, Daniel Lopes de Carvalho < daniel at cepetro.unicamp.br> escreveu:> Hi Louis, > > I installed the acl and edited resolv.conf as you suggested, but the error > persist, unfortunately. > > This weekend I'll take a snapshot of the working DC and try to update > Debian and Samba. > > If there is some other thing to do before the update, let me know, please. > > Thanks and best regards > > On Wed, Apr 8, 2020 at 4:09 AM L.P.H. van Belle via samba < > samba at lists.samba.org> wrote: > >> All i see a missing acl package. >> But that had nothing todo with not being able to join. >> >> But try this. >> >> Add in resolv.conf the ip of DCS02 and DCS03 in this order. >> Try to join a gain. >> >> As i see now, your trying to join a server and that uses itself as >> resolving server, that does not work when you joining. >> >> >> Greetz, >> >> Louis >> >> >> > -----Oorspronkelijk bericht----- >> > Van: samba [mailto:samba-bounces at lists.samba.org] Namens >> > Rowland penny via samba >> > Verzonden: dinsdag 7 april 2020 20:56 >> > Aan: sambalist >> > Onderwerp: Re: [Samba] Join new DC to domain - advice to >> > upgrade Samba 4. >> > >> > On 07/04/2020 15:59, Daniel Lopes de Carvalho wrote: >> > > Hi Rowland, >> > > >> > > I'll consider the update. But I need to backup this host (adc02) >> > > before, because it the only and the main DC on my network... =( >> > > >> > > Find attached below the output of the script: >> > > >> > Nothing wrong there, is a firewall running on either machine ? >> > >> > Rowland >> > >> > >> > >> > -- >> > To unsubscribe from this list go to the following URL and read the >> > instructions: https://lists.samba.org/mailman/options/samba >> > >> > >> >> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba >> > > > -- > > Daniel Lopes de Carvalhohttp://www.unisim.cepetro.unicamp.brdaniel at cepetro.unicamp.br > 19 3521-1221 > >
Norbert Hanke
2020-Apr-08 22:41 UTC
[Samba] Join new DC to domain - advice to upgrade Samba 4.
In theory that would possible somehow work, but it is much easier to join that new host as a new DC followed by demoting the old one. On 08.04.2020 22:52, Daniel Lopes de Carvalho via samba wrote:> I was wondering if is possible to install a new fresh updated Debian in a > new host and transfer (copy with cp or something like that) the samba files > and database from old ADC02 Samba DC to this new host? > > Thanks > > Em qua, 8 de abr de 2020 08:47, Daniel Lopes de Carvalho < > daniel at cepetro.unicamp.br> escreveu: > >> Hi Louis, >> >> I installed the acl and edited resolv.conf as you suggested, but the error >> persist, unfortunately. >> >> This weekend I'll take a snapshot of the working DC and try to update >> Debian and Samba. >> >> If there is some other thing to do before the update, let me know, please. >> >> Thanks and best regards >> >> On Wed, Apr 8, 2020 at 4:09 AM L.P.H. van Belle via samba < >> samba at lists.samba.org> wrote: >> >>> All i see a missing acl package. >>> But that had nothing todo with not being able to join. >>> >>> But try this. >>> >>> Add in resolv.conf the ip of DCS02 and DCS03 in this order. >>> Try to join a gain. >>> >>> As i see now, your trying to join a server and that uses itself as >>> resolving server, that does not work when you joining. >>> >>> >>> Greetz, >>> >>> Louis >>> >>> >>>> -----Oorspronkelijk bericht----- >>>> Van: samba [mailto:samba-bounces at lists.samba.org] Namens >>>> Rowland penny via samba >>>> Verzonden: dinsdag 7 april 2020 20:56 >>>> Aan: sambalist >>>> Onderwerp: Re: [Samba] Join new DC to domain - advice to >>>> upgrade Samba 4. >>>> >>>> On 07/04/2020 15:59, Daniel Lopes de Carvalho wrote: >>>>> Hi Rowland, >>>>> >>>>> I'll consider the update. But I need to backup this host (adc02) >>>>> before, because it the only and the main DC on my network... =( >>>>> >>>>> Find attached below the output of the script: >>>>> >>>> Nothing wrong there, is a firewall running on either machine ? >>>> >>>> Rowland >>>> >>>> >>>> >>>> -- >>>> To unsubscribe from this list go to the following URL and read the >>>> instructions: https://lists.samba.org/mailman/options/samba >>>> >>>> >>> >>> -- >>> To unsubscribe from this list go to the following URL and read the >>> instructions: https://lists.samba.org/mailman/options/samba >>> >> >> -- >> >> Daniel Lopes de Carvalhohttp://www.unisim.cepetro.unicamp.brdaniel at cepetro.unicamp.br >> 19 3521-1221 >> >>
L.P.H. van Belle
2020-Apr-09 07:09 UTC
[Samba] Join new DC to domain - advice to upgrade Samba 4.
im thinking.. Re-checked the output of the script. And can you run this script on both the samba AD-DC's. https://raw.githubusercontent.com/thctlo/samba4/master/samba-collect-debug-info.sh Im missing something in your output, @Rowland, can you send me a copy of your script, i'll merge the changes in this one. Also, after the FSMO transfer from DC1 to DC2, did you reboot DC2? If not, backup old logs/clear them, reboot, check the logs of its all ok. Then, exact as shown, this is/should be sufficient or at least should be. samba-tool domain level show ( handy to know also for us ) kinit Administrator samba-tool domain join test.example.domain.br DC --realm=TEST.EXAMPLE.DOMAIN.BR --prepare-oldjoin -k yes -d6 Greetz, Louis ________________________________ Van: Daniel Lopes de Carvalho [mailto:daniel at cepetro.unicamp.br] Verzonden: woensdag 8 april 2020 22:52 Aan: L.P.H. van Belle CC: sambalist Onderwerp: Re: [Samba] Join new DC to domain - advice to upgrade Samba 4. I was wondering if is possible to install a new fresh updated Debian in a new host and transfer (copy with cp or something like that) the samba files and database from old ADC02 Samba DC to this new host? Thanks Em qua, 8 de abr de 2020 08:47, Daniel Lopes de Carvalho <daniel at cepetro.unicamp.br> escreveu: Hi Louis, I installed the acl and edited resolv.conf as you suggested, but the error persist, unfortunately. This weekend I'll take a snapshot of the working DC and try to update Debian and Samba. If there is some other thing to do before the update, let me know, please. Thanks and best regards On Wed, Apr 8, 2020 at 4:09 AM L.P.H. van Belle via samba <samba at lists.samba.org> wrote: All i see a missing acl package. But that had nothing todo with not being able to join. But try this. Add in resolv.conf the ip of DCS02 and DCS03 in this order. Try to join a gain. As i see now, your trying to join a server and that uses itself as resolving server, that does not work when you joining. Greetz, Louis > -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Rowland penny via samba > Verzonden: dinsdag 7 april 2020 20:56 > Aan: sambalist > Onderwerp: Re: [Samba] Join new DC to domain - advice to > upgrade Samba 4. > > On 07/04/2020 15:59, Daniel Lopes de Carvalho wrote: > > Hi Rowland, > > > > I'll consider the update. But I need to backup this host (adc02) > > before, because it the only and the main DC on my network... =( > > > > Find attached below the output of the script: > > > Nothing wrong there, is a firewall running on either machine ? > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- Daniel Lopes de Carvalho http://www.unisim.cepetro.unicamp.br daniel at cepetro.unicamp.br 19 3521-1221
L.P.H. van Belle
2020-Apr-09 07:13 UTC
[Samba] Join new DC to domain - advice to upgrade Samba 4.
Yeah, i also agree in this. Joining with a new server is also a good option. And if you do that, use samba 4.11/4.12 from my repo. Or, if you stayed in Debian official, 4.9.5 (for buster) If you using a "minimal" installed server with only samba and needed software, then its also and option, NOTE, more RISKY, to upgrade to debian testing and use 4.11.5 official. Choices to make ;-) Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Norbert Hanke via samba > Verzonden: donderdag 9 april 2020 0:41 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Join new DC to domain - advice to > upgrade Samba 4. > > In theory that would possible somehow work, but it is much easier to > join that new host as a new DC followed by demoting the old one. > > On 08.04.2020 22:52, Daniel Lopes de Carvalho via samba wrote: > > I was wondering if is possible to install a new fresh > updated Debian in a > > new host and transfer (copy with cp or something like that) > the samba files > > and database from old ADC02 Samba DC to this new host? > > > > Thanks > > > > Em qua, 8 de abr de 2020 08:47, Daniel Lopes de Carvalho < > > daniel at cepetro.unicamp.br> escreveu: > > > >> Hi Louis, > >> > >> I installed the acl and edited resolv.conf as you > suggested, but the error > >> persist, unfortunately. > >> > >> This weekend I'll take a snapshot of the working DC and > try to update > >> Debian and Samba. > >> > >> If there is some other thing to do before the update, let > me know, please. > >> > >> Thanks and best regards > >> > >> On Wed, Apr 8, 2020 at 4:09 AM L.P.H. van Belle via samba < > >> samba at lists.samba.org> wrote: > >> > >>> All i see a missing acl package. > >>> But that had nothing todo with not being able to join. > >>> > >>> But try this. > >>> > >>> Add in resolv.conf the ip of DCS02 and DCS03 in this order. > >>> Try to join a gain. > >>> > >>> As i see now, your trying to join a server and that uses itself as > >>> resolving server, that does not work when you joining. > >>> > >>> > >>> Greetz, > >>> > >>> Louis > >>> > >>> > >>>> -----Oorspronkelijk bericht----- > >>>> Van: samba [mailto:samba-bounces at lists.samba.org] Namens > >>>> Rowland penny via samba > >>>> Verzonden: dinsdag 7 april 2020 20:56 > >>>> Aan: sambalist > >>>> Onderwerp: Re: [Samba] Join new DC to domain - advice to > >>>> upgrade Samba 4. > >>>> > >>>> On 07/04/2020 15:59, Daniel Lopes de Carvalho wrote: > >>>>> Hi Rowland, > >>>>> > >>>>> I'll consider the update. But I need to backup this host (adc02) > >>>>> before, because it the only and the main DC on my network... =( > >>>>> > >>>>> Find attached below the output of the script: > >>>>> > >>>> Nothing wrong there, is a firewall running on either machine ? > >>>> > >>>> Rowland > >>>> > >>>> > >>>> > >>>> -- > >>>> To unsubscribe from this list go to the following URL > and read the > >>>> instructions: https://lists.samba.org/mailman/options/samba > >>>> > >>>> > >>> > >>> -- > >>> To unsubscribe from this list go to the following URL and read the > >>> instructions: https://lists.samba.org/mailman/options/samba > >>> > >> > >> -- > >> > >> Daniel Lopes de > Carvalhohttp://www.unisim.cepetro.unicamp.brdaniel at cepetro.unicamp.br > >> 19 3521-1221 > >> > >> > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >