s3:passdb: Do not return OK if we don't have pinfo set up
authorAndreas Schneider <asn@samba.org>
Tue, 17 Apr 2018 06:55:23 +0000 (08:55 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 18 Apr 2018 22:32:22 +0000 (00:32 +0200)
commit99859479fc6e12b2f74ce2dfa83da56d8b8f3d26
tree885e54199bd3a95e7747ef7b3026f27e9d6df068
parentcc1eed99bda3773dc13e927f1df1c4fd72e4b848
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>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Apr 19 00:32:22 CEST 2018 on sn-devel-144
source3/passdb/machine_account_secrets.c