Rowland Penny
2022-Sep-30 11:13 UTC
[Samba] Error domain level command , modul version mismatch
On 30/09/2022 11:54, Mueller wrote:> Hello, > > my OS: Debian 11 x64. > lsb_release -a > No LSB modules are available. > Distributor ID: Debian > Description: Debian GNU/Linux 11 (bullseye) > Release: 11 > Codename: bullseye > > I updated from samba 4.16.4 straight to 4.17.0. Both Version I compiled from > source.I think what is happening here is that by updating samba in the way you have, there are old parts of the original Samba install left. I would suggest that if you are going to upgrade in this way, you compile Samba on a new Computer (or VM) and then join this as a new DC and then, once the new DC is known to be working correctly, demote the old DC. that way you know there is no old components left behind. Rowland
I have checked all files in all directories. They are all new with the timestamp of the update no old files left! samba-tool -V 4.17.0 smbstatus -V Version 4.17.0 samba_dnsupdate -V 4.17.0 Could it be it is going with the wrong ldb version? Any idea how I can test that? Greetings Daniel EDV Daniel M?ller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 T?bingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: mueller at tropenklinik.de Internet: www.tropenklinik.de -----Urspr?ngliche Nachricht----- Von: Rowland Penny via samba [mailto:samba at lists.samba.org] Gesendet: Freitag, 30. September 2022 13:14 An: samba at lists.samba.org Cc: Rowland Penny <rpenny at samba.org> Betreff: Re: [Samba] Error domain level command , modul version mismatch On 30/09/2022 11:54, Mueller wrote:> Hello, > > my OS: Debian 11 x64. > lsb_release -a > No LSB modules are available. > Distributor ID: Debian > Description: Debian GNU/Linux 11 (bullseye) > Release: 11 > Codename: bullseye > > I updated from samba 4.16.4 straight to 4.17.0. Both Version I > compiled from source.I think what is happening here is that by updating samba in the way you have, there are old parts of the original Samba install left. I would suggest that if you are going to upgrade in this way, you compile Samba on a new Computer (or VM) and then join this as a new DC and then, once the new DC is known to be working correctly, demote the old DC. that way you know there is no old components left behind. Rowland -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Andrew Bartlett
2022-Oct-03 21:36 UTC
[Samba] Error domain level command , modul version mismatch
It isn't clear to me exactly where the mixup is happening, but Rowland is exactly on the money, this is an issue with conflicting Samba components. Check you are not mixing a Samba-provided ldb installation with a system provided one, for example, and that there are not other stray Samba components around. Andrew On Fri, 2022-09-30 at 13:34 +0200, Mueller via samba wrote:> I have checked all files in all directories. They are all new with > thetimestamp of the update no old files left! > samba-tool -V4.17.0smbstatus -VVersion 4.17.0samba_dnsupdate -V4.17.0 > > > Could it be it is going with the wrong ldb version? Any idea how I > cantest that? > GreetingsDaniel > > > EDV Daniel M?ller > Leitung EDVTropenklinik Paul-Lechler-KrankenhausPaul-Lechler-Str. > 2472076 T?bingen Tel.: 07071/206-463, Fax: 07071/206-499eMail: > mueller at tropenklinik.de > Internet: www.tropenklinik.de > > > > > -----Urspr?ngliche Nachricht-----Von: Rowland Penny via samba > [mailto:samba at lists.samba.org] Gesendet: Freitag, 30. September 2022 > 13:14An: samba at lists.samba.org > Cc: Rowland Penny <rpenny at samba.org>Betreff: Re: [Samba] Error domain > level command , modul version mismatch > > > On 30/09/2022 11:54, Mueller wrote: > > Hello, > > my OS: Debian 11 x64.lsb_release -aNo LSB modules are > > available.Distributor ID: DebianDescription: Debian GNU/Linux 11 > > (bullseye)Release: 11Codename: bullseye > > I updated from samba 4.16.4 straight to 4.17.0. Both Version I > > compiled from source. > > I think what is happening here is that by updating samba in the way > youhave, there are old parts of the original Samba install left. I > wouldsuggest that if you are going to upgrade in this way, you > compile Samba on anew Computer (or VM) and then join this as a new DC > and then, once the newDC is known to be working correctly, demote the > old DC. that way you knowthere is no old components left behind. > > Rowland > > > --To unsubscribe from this list go to the following URL and read > theinstructions: https://lists.samba.org/mailman/options/samba > >-- Andrew Bartlett (he/him) https://samba.org/~abartlet/Samba Team Member (since 2001) https://samba.orgSamba Team Lead, Catalyst IT https://catalyst.net.nz/services/samba Samba Development and Support, Catalyst IT - Expert Open SourceSolutions