Yubico Forum
https://forum.yubico.com/

Problem integrating PAM and FreeRadius
https://forum.yubico.com/viewtopic.php?f=5&t=132
Page 2 of 2

Author:  network-marvels [ Mon Dec 21, 2009 2:17 pm ]
Post subject:  Re: Problem integrating PAM and FreeRadius

Before starting the FreeRADIUS Server from the command line using the "freeradius -X" command, please execute the following command:
Code:
export LD_PRELOAD=/lib/libpam.so.<Version Number>

Please use the version number of the "libpam.so" library available for your platform.

Also, please make the following listed changes to the Yubico PAM module, compile and install it again:

1) Go to the directory where you have downloaded the source code of Yubico PAM module
2) Open "pam_yubico.c" file
3) Find the following code in the "pam_yubico.c" file:
Code:
cfg->yubi_attr = NULL;

4) Append the following code just after the "cfg->yubi_attr = NULL;" code:
Code:
cfg->client_key = NULL;

5) Save the changes to the file
6) Compile and install the Yubico PAM module again

We hope this helps!

Author:  dave_marsh_pw [ Mon Dec 21, 2009 6:07 pm ]
Post subject:  Re: Problem integrating PAM and FreeRadius

Most excellent. It worked.

Any plans to incorporate that change into the next version?

Page 2 of 2 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/