s3:passdb: handle dom_sid=NULL in create_builtin_{users,administrators}()
commit03b4684e9a3b1bd988409b89a6cc08ea1a4b8a56
authorStefan Metzmacher <metze@samba.org>
Tue, 13 Mar 2018 20:35:48 +0000 (13 21:35 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 20 Mar 2018 20:28:30 +0000 (20 21:28 +0100)
treec7a89b9a99d7b5229b5b525775a2865fb8a68614
parent253f0d184151e6a3c8b2fd5d827d9c3a1d30149c
s3:passdb: handle dom_sid=NULL in create_builtin_{users,administrators}()

We should not crash if we're called with NULL.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13328

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit efdc617c76d9043286e33b961f45ad4564232102)
source3/passdb/pdb_util.c