I am using Arch Linux current with their Samba 4.1.8, ldb 1.1.16, and tdb 1.2.12. Whenever I use ldbsearch it core dumps. I have opened an Arch Linux bug, but they said it should be reported upstream. # ldbsearch --modules-path=/usr/lib/samba/ldb/ -H /var/lib/samba/private/sam.ldb '(invocationid=*)' --cross-ncs objectguid Aborted (core dumped) In an off chance, I manually compiled current versions of ldb (1.1.17) and cdb (1.3.0), then manually recompiled samba 4.1.8 via the package manager and the problem persists. Strace is attached. Is there anything else I can provide?
Created attachment 10038 [details] strace
Upgraded to Samba 4.1.9, same result.
# ldbsearch --modules-path=/usr/lib64/samba/ldb/ -H /var/lib/samba/private/sam.ldb -a # returned 0 records # 0 entries # 0 referrals # ldbsearch --modules-path=/usr/lib64/samba/ldb/ -H /var/lib/samba/private/sam.ldb '(invocationid=*)' # returned 0 records # 0 entries # 0 referrals Does it crash on empty database and all option as well