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)
committerKarolin Seeger <kseeger@samba.org>
Tue, 5 Dec 2017 09:32:11 +0000 (10:32 +0100)
commit19c99976dad0c4d005811cb7c17336f5a1645acd
tree0bbecfb6aef23615bfda0f252c7ca835f129edf1
parent3679be1eae506f88cb845fe845fa069cd9258b25
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>
(cherry picked from commit 3048ae318fc8b4d1b7663826972306372430a463)
source3/libads/kerberos_keytab.c