make it compile w/o krb4

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5859 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1999-04-07 12:10:59 +00:00
parent 72a89c21e0
commit a8bc3ac62f
5 changed files with 10 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ DEFS = @DEFS@
## link with non-installed libraries
L = \
$(top_builddir)/lib/kafs/.libs/libkafs.a \
$(LIB_kafs) \
$(top_builddir)/lib/krb5/.libs/libkrb5.a \
$(top_builddir)/lib/asn1/.libs/libasn1.a \
$(LIB_krb4) \

View File

@@ -390,6 +390,7 @@ siad_ses_reauthent (sia_collect_func_t *collect,
duplicate some code here... */
struct state *s = (struct state*)entity->mech[pkgind];
chown(s->ticket, entity->pwd->pw_uid, entity->pwd->pw_gid);
#ifdef KRB4
if(k_hasafs()) {
char cell[64];
if(k_afs_cell_of_file(entity->pwd->pw_dir,
@@ -397,6 +398,7 @@ siad_ses_reauthent (sia_collect_func_t *collect,
krb_afslog(cell, 0);
krb_afslog_home(0, 0, entity->pwd->pw_dir);
}
#endif
}
return ret;
}