From a925c2c48d07cd4f074325954d933e194b4704d8 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 1 Apr 2012 19:08:15 -0400 Subject: srv_keytab: Pass krb5_context directly, it's all we use anyways. Signed-off-by: Andreas Schneider --- source4/dsdb/samdb/ldb_modules/update_keytab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/dsdb') diff --git a/source4/dsdb/samdb/ldb_modules/update_keytab.c b/source4/dsdb/samdb/ldb_modules/update_keytab.c index f1ec9953fb..f07d9b2aad 100644 --- a/source4/dsdb/samdb/ldb_modules/update_keytab.c +++ b/source4/dsdb/samdb/ldb_modules/update_keytab.c @@ -431,7 +431,7 @@ static int update_kt_prepare_commit(struct ldb_module *module) } } - krb5_ret = smb_krb5_update_keytab(tmp_ctx, smb_krb5_context, + krb5_ret = smb_krb5_update_keytab(tmp_ctx, smb_krb5_context->krb5_context, keytab_name_from_msg(tmp_ctx, ldb, p->msg), ldb_msg_find_attr_as_string(p->msg, "samAccountName", NULL), realm, (const char **)SPNs, num_SPNs, -- cgit