summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2012-03-31 05:19:59 -0400
committerAndreas Schneider <asn@samba.org>2012-04-12 12:06:42 +0200
commitf116262a733cdf24c13e7c44a54736a2755f8335 (patch)
tree5a513d1c327352c18668b078cdba2aa6889fa57d /auth
parenta46e465ce0d05d9b2e0ff016aa8db14dc149153b (diff)
downloadsamba-f116262a733cdf24c13e7c44a54736a2755f8335.tar.gz
samba-f116262a733cdf24c13e7c44a54736a2755f8335.tar.bz2
samba-f116262a733cdf24c13e7c44a54736a2755f8335.zip
s4-auth-krb: Remove dependency on credentials too.
Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'auth')
-rw-r--r--auth/credentials/credentials_krb5.c9
1 files changed, 6 insertions, 3 deletions
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;