Running pdbedit -a generates a coredump. Problem seems to be in source/passdb/pdb_tdb.c tdbsam_new_rid(). db_sam is unintialised when dbwrap_change_uint32_atomic() gets invoked. Sticking a tdbsam_open() before dbwrap_change_uint32_atomic() seems to help.
*** This bug has been marked as a duplicate of 6118 ***
Created attachment 3941 [details] Patch for 3.3.0. Fixed by the following commit. Jeremy.
*** Bug 6119 has been marked as a duplicate of this bug. ***
Closing out bug report. Please re-open if it's still an issue. Thanks for reporting!
*** This bug has been marked as a duplicate of bug 6119 ***