always try krb5_afslog, and while here do a setpag too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11860 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -103,11 +103,10 @@ gss_userok(void *app_data, char *username) | ||||
|             | ||||
|            chown (ticketfile+5, pw->pw_uid, pw->pw_gid); | ||||
|             | ||||
| #ifdef KRB4 | ||||
|            if (k_hasafs()) { | ||||
|               krb5_afslog(gssapi_krb5_context, ccache, 0, 0); | ||||
| 	       if (k_setpag() == 0) | ||||
| 		   krb5_afslog(gssapi_krb5_context, ccache, 0, 0); | ||||
|            } | ||||
| #endif | ||||
|            esetenv ("KRB5CCNAME", ticketfile, 1); | ||||
|             | ||||
| fail: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Love Hörnquist Åstrand
					Love Hörnquist Åstrand