r21887: Fix annoying bug where in a pam_close_session (or a pam_setcred with the
authorGünther Deschner <gd@samba.org>
Tue, 20 Mar 2007 12:44:40 +0000 (12:44 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:18:44 +0000 (12:18 -0500)
commited360fe5e51caafb769fedca73a811abb5246bf2
tree109ee14df23280384722c02b6480cf233258d0d2
parent679a313517cc94e13d1be6eb6e8cc42128c8412c
r21887: Fix annoying bug where in a pam_close_session (or a pam_setcred with the
PAM_DELETE_CREDS flag set) any user could delete krb5 credential caches.
Make sure that only root can do this.

Jerry, Jeremy, please check.

Guenther
(This used to be commit 947a59a849e9132631ec56b7ade09137e508d5d6)
source3/nsswitch/winbindd_pam.c