testers wanted: securid
Todd C. Miller
Todd.Miller at courtesan.com
Thu Dec 2 13:50:54 EST 1999
The SecurID support shipped in 1.6 is non-functional. I'd love it
if someone could test this patch and let me know if it:
a) compiles
b) works
thanks,
todd
Index: auth/securid.c
===================================================================
RCS file: /home/cvs-sudo/sudo/auth/securid.c,v
retrieving revision 1.5
diff -u -r1.5 securid.c
--- auth/securid.c 1999/08/14 15:36:46 1.5
+++ auth/securid.c 1999/11/30 23:20:25
@@ -73,7 +73,9 @@
char **promptp;
sudo_auth *auth;
{
+ static struct SD_CLIENT sd_dat; /* SecurID data block */
+ auth->data = (VOID *) &sd_dat; /* For method-specific data */
creadcfg(); /* Only read config file once */
return(AUTH_SUCCESS);
}
@@ -84,10 +86,9 @@
char **promptp;
sudo_auth *auth;
{
- static SD_CLIENT sd_dat; /* SecurID data block */
+ struct SD_CLIENT *sd = (struct SD_CLIENT *) auth->data;
/* Re-initialize SecurID every time. */
- auth->data = (VOID *) &sd_dat;
if (sd_init(sd) == 0)
return(AUTH_SUCCESS);
else {
More information about the sudo-workers
mailing list