[OpenAFS] Solaris 10 (x86): pam_afs_session

Russ Allbery rra@stanford.edu
Fri, 22 Feb 2008 14:51:08 -0800


"Douglas E. Engert" <deengert@anl.gov> writes:
> Russ Allbery wrote:

>> That behavior is still the same.  pam_afs_session doesn't set the note
>> that it had already run unless your aklog program exits successfully.
>> So, the next question is why aklog is exiting successfully even though
>> it didn't get tokens.

> Looks like it always returns 0!
> OpenAFS 1.4.6 src/aklog/aklog.c has:
>
>  int
>  main(int argc, char *argv[])
>  {
>      aklog(argc, argv);
>      exit(0);
>  }

Aha.  Well, that seems rather broken and like something we could fix.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>