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

This reverts commit 122492813188ee7d1f3dc8be0a1a8667913aa923.