s3:passdb: Do not return OK if we don't have pinfo set up
commit38af417f34bee9d60417affb8ece81bc2c172b92
authorAndreas Schneider <asn@samba.org>
Tue, 17 Apr 2018 06:55:23 +0000 (17 08:55 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 20 Apr 2018 14:43:10 +0000 (20 16:43 +0200)
treec71c8781d8ec9e512032d206928391af3464bb6f
parent7a58eb8aac648f4fb34c9f09cad0b8633469d14c
s3:passdb: Do not return OK if we don't have pinfo set up

This prevents a crash in fill_mem_keytab_from_secrets()

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 99859479fc6e12b2f74ce2dfa83da56d8b8f3d26)

Autobuild-User(v4-7-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-7-test): Fri Apr 20 16:43:11 CEST 2018 on sn-devel-144
source3/passdb/machine_account_secrets.c