Hello Sai,
It’s working for me after some slight modifications (or horrible hacking, to be more precise;) to iRODS/server/auth/srcPamAuthCheck.c
Glad you brought this back up, so we can get a better solution than mine from the devs and community. I just changed it to always set the handle to null, like so:
/*
if (pam_end(pamh,retval) != PAM_SUCCESS) {
pamh = NULL;
fprintf(stderr, "PamAuthCheck: failed to release authenticator\n");
exit(5);
}
*/
pamh = NULL;
if( retval == PAM_SUCCESS ){
fprintf(stdout, "Success\n");
fprintf(stdout, "retval was %d\n", retval);
exit(EXIT_SUCCESS);
}else{
fprintf(stdout, "Failed\n");
fprintf(stdout, "retval was %d\n", retval);
exit(EXIT_FAILURE);
}
And the def file is like this:
#%PAM-1.0
auth include system-auth
account include system-auth
Thanks,
Bill
>b#Dc0wz11
Rtl.j srtkjudgkjsdgjmndsfk.jgjk.cvfgd
--
--
"iRODS: the Integrated Rule-Oriented Data-management System; A community driven, open source, data grid software solution" https://www.irods.org
iROD-Chat: http://groups.google.com/group/iROD-Chat
---
You received this message because you are subscribed to the Google Groups "iROD-Chat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to irod-chat+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.