s4:samba: Do not segfault if we run into issues