Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#40610 - [ldb] [samba] Samba ldbsearch core dump
Attached to Project:
Arch Linux
Opened by Matt Daubenspeck (mellofone) - Friday, 30 May 2014, 15:57 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 10 March 2015, 20:09 GMT
Opened by Matt Daubenspeck (mellofone) - Friday, 30 May 2014, 15:57 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 10 March 2015, 20:09 GMT
|
DetailsDescription: Following Samba's wiki to setup an Active Directory server with Samba4, there is a command to search the SAM database and it core dumps
# ldbsearch --modules-path=/usr/lib/samba/ldb/ -H /var/lib/samba/private/sam.ldb '(invocationid=*)' --cross-ncs objectguid Aborted (core dumped) The ldbsearch command runs fine by itself, but it won't properly pick up the proper samba_dsdb.so module without --modules-path included, and doing so core dumps. Additional info: * package version(s): 4.1.7-1 * config and/or log files etc. Running the command with strace log file is attached. I couldn't figure out how to run it in gdb with all of the proper ldbsearch switches, but I can certainly do so if someone knows how. Steps to reproduce: |
This task depends upon
I see none of that information is in their wiki anymore, as I think some of the manual steps that USED to be required are fixed now. However, any time I try to use ldbsearch/ldbedit, that's when the core dumps happened.
I have not tried redoing everything from scratch starting with the newest Samba 4.2 packages, but creating my own 4.1.x PKGBUILD's making the above listed changes made everything work as expected.