The unbundled version of ldb (databases/ldb28) does not seem to behave like its bundled variant. Some Samba features are broken when the database is unbundled, e.g., replication and ldbedit. We should address that.
I think importance should be raised… Here replication is broken, and ldb* tools crash root@ad-dc# lldb -- /usr/local/bin/ldbsearch -H /var/db/samba4/private/sam.ldb '(cn=pc-test)' supplementalcredentials (lldb) target create "/usr/local/bin/ldbsearch" Current executable set to '/usr/local/bin/ldbsearch' (x86_64). (lldb) settings set -- target.run-args "-H" "/var/db/samba4/private/sam.ldb" "(cn=pc-abel)" "supplementalcredentials" (lldb) run Process 92714 launched: '/usr/local/bin/ldbsearch' (x86_64) Process 92714 stopped * thread #1, name = 'ldbsearch', stop reason = signal SIGABRT frame #0: 0x000000082521741a libc.so.7`__sys_thr_kill + 10 libc.so.7`__sys_thr_kill: -> 0x82521741a <+10>: jb 0x825215578 0x825217420 <+16>: retq 0x825217421: int3 0x825217422: int3 Compilint with SAMBA4_BUNDLED_LDB creates working samba-ldb* tools and replication
(In reply to geoffroy desvernay from comment #1) Is it still the case on Samba 4.20?
Sorry I missed your question, We downgraded to 4.19 and are still there since…
samba419 is working well here for a while, this problem has been solved in the meantime
(In reply to geoffroy desvernay from comment #4) Thanks for the report. If I understand correctly, we can close this ticket.