Bug 138355. Delay persistence until home directory is created.

prevent closing session prematurely (pam_sscs.c)
This commit is contained in:
Jim Norman
2005-12-14 18:01:18 +00:00
parent aeb68c11aa
commit aa9c895a41
3 changed files with 15 additions and 1 deletions

View File

@@ -202,7 +202,7 @@ PAM_EXTERN int pam_sm_close_session(pam_handle_t *pamh,int flags,int argc
break;
}
retVal = (*pNSSCSCloseSecretStoreCache) (ssContext,1,NULL);
retVal = (*pNSSCSCloseSecretStoreCache) (ssContext,0,NULL);
if( retVal != 0 )
{
pam_sscs_log(LOG_ERR,"Closing SecretStore for the user %s failed.\n",passwdEntry->pw_name);