s3:passdb: handle dom_sid=NULL in create_builtin_{users,administrators}()
authorStefan Metzmacher <metze@samba.org>
Tue, 13 Mar 2018 20:35:48 +0000 (21:35 +0100)
committerRalph Boehme <slow@samba.org>
Thu, 15 Mar 2018 20:54:16 +0000 (21:54 +0100)
commitefdc617c76d9043286e33b961f45ad4564232102
tree23580fe8b860cfc20b641dd8ccf59e432a84cc64
parentdf3d278853ec097df27c221369dfb3ed0297d6c8
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>
source3/passdb/pdb_util.c