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);
 | 
					           chown (ticketfile+5, pw->pw_uid, pw->pw_gid);
 | 
				
			||||||
           
 | 
					           
 | 
				
			||||||
#ifdef KRB4
 | 
					 | 
				
			||||||
           if (k_hasafs()) {
 | 
					           if (k_hasafs()) {
 | 
				
			||||||
 | 
						       if (k_setpag() == 0)
 | 
				
			||||||
		   krb5_afslog(gssapi_krb5_context, ccache, 0, 0);
 | 
							   krb5_afslog(gssapi_krb5_context, ccache, 0, 0);
 | 
				
			||||||
           }
 | 
					           }
 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
           esetenv ("KRB5CCNAME", ticketfile, 1);
 | 
					           esetenv ("KRB5CCNAME", ticketfile, 1);
 | 
				
			||||||
           
 | 
					           
 | 
				
			||||||
fail:
 | 
					fail:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user