samba: port from AA: fix segmentation fault when trying to add non-existent users