diff options
author | Simo Sorce <idra@samba.org> | 2012-04-01 19:08:15 -0400 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2012-04-12 12:06:43 +0200 |
commit | a925c2c48d07cd4f074325954d933e194b4704d8 (patch) | |
tree | ecbe94783a4a9a1ccf8f9ddaad4d717dfe6a3f67 /auth | |
parent | c13c065a9b92c1abf17e999649ea6bb620615d6f (diff) | |
download | samba-a925c2c48d07cd4f074325954d933e194b4704d8.tar.gz samba-a925c2c48d07cd4f074325954d933e194b4704d8.tar.bz2 samba-a925c2c48d07cd4f074325954d933e194b4704d8.zip |
srv_keytab: Pass krb5_context directly, it's all we use anyways.
Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'auth')
-rw-r--r-- | auth/credentials/credentials_krb5.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/auth/credentials/credentials_krb5.c b/auth/credentials/credentials_krb5.c index 74dbb0a5d8..c8b685ea79 100644 --- a/auth/credentials/credentials_krb5.c +++ b/auth/credentials/credentials_krb5.c @@ -690,7 +690,8 @@ _PUBLIC_ int cli_credentials_get_keytab(struct cli_credentials *cred, return ENOMEM; } - ret = smb_krb5_create_memory_keytab(mem_ctx, smb_krb5_context, + ret = smb_krb5_create_memory_keytab(mem_ctx, + smb_krb5_context->krb5_context, cli_credentials_get_password(cred), cli_credentials_get_username(cred), cli_credentials_get_realm(cred), |