s3:passdb: Do not return OK if we don't have pinfo set up
commitf11278fa9b9a91f2b6f73138a774034eb6048079
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 09:56:22 +0000 (20 11:56 +0200)
tree13a04a423d24d830cd8709476f618232c9245268
parentcd2cc69eb46e561155856355c513b3acdb6af9dc
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)
source3/passdb/machine_account_secrets.c