summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2012-04-01 19:08:15 -0400
committerAndreas Schneider <asn@samba.org>2012-04-12 12:06:43 +0200
commita925c2c48d07cd4f074325954d933e194b4704d8 (patch)
treeecbe94783a4a9a1ccf8f9ddaad4d717dfe6a3f67 /source4/dsdb/samdb
parentc13c065a9b92c1abf17e999649ea6bb620615d6f (diff)
downloadsamba-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 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/update_keytab.c2
1 files changed, 1 insertions, 1 deletions
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,