(proto): use krb5_rd_cred2 instead of krb5_rd_cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9463 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1997 - 1999 Kungliga Tekniska H<>gskolan
|
* Copyright (c) 1997 - 2001 Kungliga Tekniska H<>gskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -266,7 +266,7 @@ proto (int sock, const char *service)
|
|||||||
krb5_get_err_text(context, status));
|
krb5_get_err_text(context, status));
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
status = krb5_rd_cred (context, auth_context, ccache, &data);
|
status = krb5_rd_cred2 (context, auth_context, ccache, &data);
|
||||||
krb5_cc_close (context, ccache);
|
krb5_cc_close (context, ccache);
|
||||||
if (status) {
|
if (status) {
|
||||||
syslog_and_cont("krb5_rd_cred: %s",
|
syslog_and_cont("krb5_rd_cred: %s",
|
||||||
|
Reference in New Issue
Block a user