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:
		| @@ -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)					\ | ||||
|   | ||||
| @@ -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; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Johan Danielsson
					Johan Danielsson