diff options
author | Gerald Carter <jerry@samba.org> | 2007-04-21 21:51:01 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2007-04-21 21:51:01 +0000 |
commit | e58110dfc02d6f90246d9c5ed1a6d207c0ce5bd2 (patch) | |
tree | 5375fc164b815c22bbf7f764b463fc6a0dd99793 /source/libads | |
parent | 63277b628390c5647f8a688186d767b6d76d9c3e (diff) | |
download | samba-e58110dfc02d6f90246d9c5ed1a6d207c0ce5bd2.tar.gz |
r22434: sync from the 3.0.25 tree for rc2
Diffstat (limited to 'source/libads')
-rw-r--r-- | source/libads/kerberos.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/libads/kerberos.c b/source/libads/kerberos.c index 8e8297b07e5..b6627075b02 100644 --- a/source/libads/kerberos.c +++ b/source/libads/kerberos.c @@ -101,7 +101,7 @@ int kerberos_kinit_password_ext(const char *principal, return code; } - code = krb5_get_init_creds_opt_alloc(ctx, &opt); + code = smb_krb5_get_init_creds_opt_alloc(ctx, &opt); if (code) { krb5_cc_close(ctx, cc); krb5_free_context(ctx); @@ -140,7 +140,7 @@ int kerberos_kinit_password_ext(const char *principal, if ((code = krb5_get_init_creds_password(ctx, &my_creds, me, CONST_DISCARD(char *,password), kerb_prompter, NULL, 0, NULL, opt))) { - krb5_get_init_creds_opt_free(opt); + smb_krb5_get_init_creds_opt_free(ctx, opt); smb_krb5_free_addresses(ctx, addr); krb5_cc_close(ctx, cc); krb5_free_principal(ctx, me); @@ -148,7 +148,7 @@ int kerberos_kinit_password_ext(const char *principal, return code; } - krb5_get_init_creds_opt_free(opt); + smb_krb5_get_init_creds_opt_free(ctx, opt); if ((code = krb5_cc_initialize(ctx, cc, me))) { smb_krb5_free_addresses(ctx, addr); |