diff options
author | Greg Hudson <ghudson@mit.edu> | 2009-08-17 19:40:48 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2009-08-17 19:40:48 +0000 |
commit | 1b8c72b7ef064eabb37d726e831b4618cb37d2c7 (patch) | |
tree | 1df8b26a5af064e93ad262ce57801ebff42c80a8 /src/kadmin/testing | |
parent | f75549596ed93c658805f3df40ca4d9853b28213 (diff) | |
download | krb5-1b8c72b7ef064eabb37d726e831b4618cb37d2c7.tar.gz krb5-1b8c72b7ef064eabb37d726e831b4618cb37d2c7.tar.xz krb5-1b8c72b7ef064eabb37d726e831b4618cb37d2c7.zip |
Modify kadm5 initializers to accept krb5 contexts
Add krb5_context parameters to all kadm5 initialization functions.
This allows extended error information to be retrieved by the caller
when an error is returned.
ticket: 6547
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22527 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin/testing')
-rw-r--r-- | src/kadmin/testing/util/tcl_kadm5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kadmin/testing/util/tcl_kadm5.c b/src/kadmin/testing/util/tcl_kadm5.c index 8de05e5e5..15ae99fdd 100644 --- a/src/kadmin/testing/util/tcl_kadm5.c +++ b/src/kadmin/testing/util/tcl_kadm5.c @@ -1600,13 +1600,13 @@ static int _tcl_kadm5_init_any(enum init_type init_type, ClientData clientData, } } - ret = kadm5_init_with_creds(client_name, cc, service_name, + ret = kadm5_init_with_creds(context, client_name, cc, service_name, ¶ms, struct_version, api_version, NULL, &server_handle); (void) krb5_cc_close(context, cc); } else - ret = kadm5_init(client_name, pass, service_name, ¶ms, + ret = kadm5_init(context, client_name, pass, service_name, ¶ms, struct_version, api_version, NULL, &server_handle); if (ret != KADM5_OK) { |