Revert "For the moment get rid of the panic handler in samba."

This reverts commit d780c01e663ced9850316ae14680c3d0ac59d9d1.