When you change to the SAMBA private directory on a shell (default /usr/local/samba/private) and start there for example ldbedit with the sam.ldb, the application crashes if you don't put the "./" before the filename. I've now written three patches to avoid this.
Created attachment 2881 [details] Here the proposed patch. The changes in ldb.c and ldb_tdb.c are only for stability reasons.
I've fixed the partition.c bug in -r 24655 - nice catch. Is the URL ever actually NULL in ldb.c and ldb_tdb.c?
Yes, the URL can be NULL if the function result of relative_path is NULL (and that can be!).
I've fixed partition.c to ensure this can't happen in -r 24690