From f116262a733cdf24c13e7c44a54736a2755f8335 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sat, 31 Mar 2012 05:19:59 -0400 Subject: s4-auth-krb: Remove dependency on credentials too. Signed-off-by: Andreas Schneider --- auth/credentials/credentials_krb5.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'auth/credentials') diff --git a/auth/credentials/credentials_krb5.c b/auth/credentials/credentials_krb5.c index 40ae454a9d..74dbb0a5d8 100644 --- a/auth/credentials/credentials_krb5.c +++ b/auth/credentials/credentials_krb5.c @@ -690,9 +690,12 @@ _PUBLIC_ int cli_credentials_get_keytab(struct cli_credentials *cred, return ENOMEM; } - ret = smb_krb5_create_memory_keytab(mem_ctx, cred, - smb_krb5_context, - &keytab, &keytab_name); + ret = smb_krb5_create_memory_keytab(mem_ctx, smb_krb5_context, + cli_credentials_get_password(cred), + cli_credentials_get_username(cred), + cli_credentials_get_realm(cred), + cli_credentials_get_kvno(cred), + &keytab, &keytab_name); if (ret) { talloc_free(mem_ctx); return ret; -- cgit