Greetings,
We have some c code lying around that won't work any longer under RHEL 6
called runauth. I strongly suspect it is based off of the runauth that
google tells me used to be at
ftp://ftp.transarc.ibm.com/pub/afs-contrib/tools/reauth/ ?
Does anyone know if there is a more modern version of this code that could
work on RHEL 6 ?
If so, do you know where it could be downloaded from? If not, is there an
alternative to something such as runauth that performs the same
functionality?
I think the code is segfaulting when calling
ka_UserAuthenticateGeneral( 1,name,inst,c1buf,p1buf,TICKETLIFETIME,0,0,&c)
The whole code snippet is where it segfaults is:
if (ka_ParseLoginName(n1buf,name,inst,cell) ) {
fprintf(stderr,"%s :: ka_ParseLoginName() failed using login:
%s\tname: %s\tinstance: %s\tcell: %s as arguments.",n1buf,name,inst,cell);
}
if (ka_UserAuthenticateGeneral(
1,name,inst,c1buf,p1buf,TICKETLIFETIME,0,0,&c)) {
fprintf(stderr,"%s :: Error in ka_UserAuthenticateGeneral() using
name: %s\tn1buf: %s\tc1buf: %s as args. System message:
%s.\n",prog,name,n1buf,c1buf,c);
die = 1;
}
Thanks a lot for any ideas anyone has.