5591406 * src/kuserok.c(_pam_krb5_kuserok): add a function which wraps

Authored and Committed by nalin 16 years ago
    * src/kuserok.c(_pam_krb5_kuserok): add a function which wraps
    	krb5_kuserok() in a subprocess which can create a new PAG, get tokens,
    	and drop privileges to the user's account, all so that we can attempt
    	to read the user's .k5login if we need to, and without disturbing any
    	AFS creds the calling process might have.
    * src/auth.c(pam_sm_authenticate),src/acct.c(pam_sm_acct_mgmt): use
    	_pam_krb5_kuserok() instead of trying to get tokens, call
    	krb5_kuserok(), and clear tokens
    
        
file modified
+10 -0
file modified
+2 -0
file modified
+3 -16
file modified
+3 -20
file added
+180
file added
+47