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!