diff options
author | Günther Deschner <gd@samba.org> | 2009-11-05 17:49:00 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-11-06 13:34:04 +0100 |
commit | bb01aae1b9eb1bede98b7d9a9c4920082db128fe (patch) | |
tree | f595f97c741ad89792c6d64f527a7449e23bd88e /source3/libsmb | |
parent | 60bf0eb60788a5d4dc5de24997c5efda64f2bd73 (diff) | |
download | samba-bb01aae1b9eb1bede98b7d9a9c4920082db128fe.tar.gz samba-bb01aae1b9eb1bede98b7d9a9c4920082db128fe.tar.bz2 samba-bb01aae1b9eb1bede98b7d9a9c4920082db128fe.zip |
s3-kerberos: use smb_krb5_get_credentials in ads_krb5_mk_req.
Guenther
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clikrb5.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c index a37690c552..7ee2abf9c3 100644 --- a/source3/libsmb/clikrb5.c +++ b/source3/libsmb/clikrb5.c @@ -709,10 +709,13 @@ static krb5_error_code ads_krb5_mk_req(krb5_context context, while (!creds_ready && (i < maxtries)) { - if ((retval = krb5_get_credentials(context, 0, ccache, - &creds, &credsp))) { - DEBUG(1,("ads_krb5_mk_req: krb5_get_credentials failed for %s (%s)\n", - principal, error_message(retval))); + if ((retval = smb_krb5_get_credentials(context, ccache, + creds.client, + creds.server, + NULL, + &credsp))) { + DEBUG(1,("ads_krb5_mk_req: smb_krb5_get_credentials failed for %s (%s)\n", + principal, error_message(retval))); goto cleanup_creds; } |