[OpenAFS] Solaris 10 (x86): pam_afs_session
Douglas E. Engert
deengert@anl.gov
Mon, 25 Feb 2008 08:42:10 -0600
Simon Wilkinson wrote:
> On Fri, 22 Feb 2008, Douglas E. Engert wrote:
>
>> 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);
>> }
>
> But, the aklog function itself makes liberal use of exit() in error
> situations. aklog (the binary) certainly returns non-zero when the user
> doesn't have tokens.
You are correct. Without a ticket cache, on Solaris 10, aklog (1.4.5)
returns a status of 4.
>
> S.
>
>
>
--
Douglas E. Engert <DEEngert@anl.gov>
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444