s3:libads: net ads keytab list fails with "Key table name malformed"
authorNoel Power <noel.power@suse.com>
Thu, 23 Nov 2017 15:55:21 +0000 (15:55 +0000)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 29 Nov 2017 20:48:17 +0000 (21:48 +0100)
commit3048ae318fc8b4d1b7663826972306372430a463
treef90dc39e89e07795856a55d93fd0f9d5a9b68191
parent926b8be2cdee06cd25d567403d9fdd07b67ac5b5
s3:libads: net ads keytab list fails with "Key table name malformed"

When keytab_name is NULL don't call smb_krb5_kt_open use ads_keytab_open
instead, this function will determine the correct keytab to use.

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

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/libads/kerberos_keytab.c