Kerberos cred cache not cleaned up after logout
We are trying to configure Kerberos (Active Directory) including ticket forwarding in Solaris 11.2
Most of the steps are working fine:
1) join with the AD with kclient / smbadm
2) get a Kerberos ticket with kinit
3) ssh ticket forwarding works also with "forwardable=true" in krb5.conf and "GSSAPIAuthentication yes" / "GSSAPIDelegateCredentials yes" in ssh_conf
Unfortunatly we are a litte bit too successful, because the ticket is not deleted anymore after logging out the user.
the man page of sshd_config describe this:
sshd does not take any steps to explicitly destroy
stored delegated GSS-API credentials upon logout. It is
the responsibility of PAM modules to destroy credentials