(krb5_start_session): krb5_afslog doesn't depend on KRB4 any more
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11857 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -56,8 +56,8 @@ RCSID("$Id$");
|
|||||||
#endif
|
#endif
|
||||||
#ifdef KRB4
|
#ifdef KRB4
|
||||||
#include <krb.h>
|
#include <krb.h>
|
||||||
#include <kafs.h>
|
|
||||||
#endif
|
#endif
|
||||||
|
#include <kafs.h>
|
||||||
#include <err.h>
|
#include <err.h>
|
||||||
#include <roken.h>
|
#include <roken.h>
|
||||||
#include <getarg.h>
|
#include <getarg.h>
|
||||||
@@ -253,13 +253,11 @@ krb5_start_session(void)
|
|||||||
set_tkfile();
|
set_tkfile();
|
||||||
esetenv("KRBTKFILE", tkfile, 1);
|
esetenv("KRBTKFILE", tkfile, 1);
|
||||||
|
|
||||||
#ifdef KRB4
|
|
||||||
/* convert creds? */
|
/* convert creds? */
|
||||||
if(k_hasafs()) {
|
if(k_hasafs()) {
|
||||||
if (k_setpag() == 0)
|
if (k_setpag() == 0)
|
||||||
krb5_afslog(context, ccache2, NULL, NULL);
|
krb5_afslog(context, ccache2, NULL, NULL);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
krb5_cc_close(context, ccache2);
|
krb5_cc_close(context, ccache2);
|
||||||
krb5_cc_destroy(context, ccache);
|
krb5_cc_destroy(context, ccache);
|
||||||
|
Reference in New Issue
Block a user