diff options
Diffstat (limited to 'source3/libads')
-rw-r--r-- | source3/libads/kerberos_keytab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/kerberos_keytab.c b/source3/libads/kerberos_keytab.c index 95a3a37712..a1038e1f2d 100644 --- a/source3/libads/kerberos_keytab.c +++ b/source3/libads/kerberos_keytab.c @@ -801,7 +801,7 @@ done: List system keytab. ***********************************************************************/ -int ads_keytab_list(void) +int ads_keytab_list(const char *keytab_name) { krb5_error_code ret = 0; krb5_context context = NULL; @@ -819,7 +819,7 @@ int ads_keytab_list(void) return ret; } - ret = smb_krb5_open_keytab(context, NULL, False, &keytab); + ret = smb_krb5_open_keytab(context, keytab_name, False, &keytab); if (ret) { DEBUG(1,("ads_keytab_list: smb_krb5_open_keytab failed (%s)\n", error_message(ret))); goto out; |