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 also updated another 2cnd samba on Debian 10 the same way and there are no errors (4.16.4 to 4.17.0). Further testing shows that it is no longer possible to add users usw.. always the same error " ldb_version=2.2.4 module_version=2.6.1": The file complained is available: /usr/lib64/samba/ldb/acl.so !!! Ex.: samba-tool user add tester New Password: Retype Password: ldb: module version mismatch in ../../source4/dsdb/samdb/ldb_modules/acl.c : ldb_version=2.2.4 module_version=2.6.1 ldb: failed to initialise module /usr/lib64/samba/ldb/acl.so : Unavailable Bad talloc magic value - unknown value ==============================================================INTERNAL ERROR: Signal 6: Aborted in pid 3050 (4.17.0) If you are running a recent Samba version, and if you think this problem is not yet fi xed in the latest versions, please consider reporting this bug, see https://wiki.samba .org/index.php/Bug_Reporting ==============================================================PANIC (pid 3050): Signal 6: Aborted in 4.17.0 BACKTRACE: 56 stack frames: #0 /usr/lib64/samba/libgenrand-samba4.so(log_stack_trace+0x2e) [0x7f4f46068a3c] #1 /usr/lib64/samba/libgenrand-samba4.so(smb_panic_log+0x1b1) [0x7f4f460689c1] #2 /usr/lib64/samba/libgenrand-samba4.so(smb_panic+0x18) [0x7f4f460689dc] #3 /usr/lib64/samba/libgenrand-samba4.so(+0x14f7) [0x7f4f460684f7] #4 /usr/lib64/samba/libgenrand-samba4.so(+0x150c) [0x7f4f4606850c] #5 /lib/x86_64-linux-gnu/libpthread.so.0(+0x13140) [0x7f4f47158140] #6 /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x141) [0x7f4f46e0bce1] #7 /lib/x86_64-linux-gnu/libc.so.6(abort+0x123) [0x7f4f46df5537] #8 /usr/lib64/samba/libtalloc-samba4.so(+0x278a) [0x7f4f4689578a] #9 /usr/lib64/samba/libtalloc-samba4.so(+0x27c0) [0x7f4f468957c0] #10 /usr/lib64/samba/libtalloc-samba4.so(+0x283e) [0x7f4f4689583e] #11 /usr/lib64/samba/libtalloc-samba4.so(+0x2c01) [0x7f4f46895c01] #12 /usr/lib64/samba/libtalloc-samba4.so(+0x2e25) [0x7f4f46895e25] #13 /usr/lib64/samba/libtalloc-samba4.so(+0x31f3) [0x7f4f468961f3] #14 /usr/lib64/samba/libtalloc-samba4.so(talloc_named_const+0x2b) [0x7f4f46897c1d] #15 /usr/lib64/samba/libldb-samba4.so(ldb_set_opaque+0x7d) [0x7f4f424ca6af] #16 /usr/lib/python3/dist-packages/samba/_ldb.cpython-39-x86_64-linux-gnu.so(+0x 5f5b) [0x7f4f42296f5b] #17 /usr/bin/python3() [0x530ed8] #18 /usr/bin/python3(_PyEval_EvalFrameDefault+0x702) [0x512192] #19 /usr/bin/python3() [0x5106ed] #20 /usr/bin/python3(_PyFunction_Vectorcall+0x361) [0x528d21] #21 /usr/bin/python3() [0x53bcfb] #22 /usr/bin/python3(_PyEval_EvalFrameDefault+0x19c6) [0x513456] #23 /usr/bin/python3() [0x5106ed] #24 /usr/bin/python3(_PyFunction_Vectorcall+0x361) [0x528d21] #25 /usr/bin/python3() [0x5377ce] #26 /usr/bin/python3(_PyObject_MakeTpCall+0x1f5) [0x51d6f5] #27 /usr/bin/python3(_PyEval_EvalFrameDefault+0x5f7f) [0x517a0f] #28 /usr/bin/python3() [0x5106ed] #29 /usr/bin/python3(_PyFunction_Vectorcall+0x361) [0x528d21] #30 /usr/bin/python3() [0x53bcfb] #31 /usr/bin/python3(PyObject_Call+0xc1) [0x53c361] #32 /usr/bin/python3(_PyEval_EvalFrameDefault+0x23fb) [0x513e8b] #33 /usr/bin/python3() [0x5106ed] #34 /usr/bin/python3(_PyFunction_Vectorcall+0x361) [0x528d21] #35 /usr/bin/python3() [0x53bdb1] #36 /usr/bin/python3(_PyEval_EvalFrameDefault+0x23fb) [0x513e8b] #37 /usr/bin/python3() [0x5106ed] #38 /usr/bin/python3(_PyFunction_Vectorcall+0x361) [0x528d21] #39 /usr/bin/python3() [0x53bdb1] #40 /usr/bin/python3(_PyEval_EvalFrameDefault+0x23fb) [0x513e8b] #41 /usr/bin/python3() [0x5106ed] #42 /usr/bin/python3(_PyFunction_Vectorcall+0x361) [0x528d21] #43 /usr/bin/python3() [0x53bdb1] #44 /usr/bin/python3(_PyEval_EvalFrameDefault+0x23fb) [0x513e8b] #45 /usr/bin/python3() [0x5106ed] #46 /usr/bin/python3(_PyEval_EvalCodeWithName+0x47) [0x510497] #47 /usr/bin/python3(PyEval_EvalCode+0x23) [0x5f5be3] #48 /usr/bin/python3() [0x619de7] #49 /usr/bin/python3() [0x615610] #50 /usr/bin/python3() [0x619d79] #51 /usr/bin/python3(PyRun_SimpleFileExFlags+0x196) [0x619816] #52 /usr/bin/python3(Py_RunMain+0x2b3) [0x60d4e3] #53 /usr/bin/python3(Py_BytesMain+0x29) [0x5ea6e9] #54 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7f4f46df6d0a] #55 /usr/bin/python3(_start+0x2a) [0x5ea5ea] Abgebrochen On Debian 10 the same way updated to 4.17.0: # samba-tool user add tester New Password: Retype Password: User 'tester' added successfully Greetings Daniel -----Urspr?ngliche Nachricht----- Von: Rowland Penny via samba [mailto:samba at lists.samba.org] Gesendet: Freitag, 30. September 2022 11:29 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 10:02, Mueller via samba wrote:> Dear all, > > after upgrading to samba 4.17 an error occured when starting the > domain level command:What OS ? How did you upgrade to 4.17.0 ? This could be a simple PATH problem i.e. the wrong ldb is being used. Rowland -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
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