PAM+RADIUS Attribute Value Pairs
Leonardo Pereira Santos
lsantos at pd3.com.br
Mon Jan 21 20:25:27 UTC 2008
Hello All:
I'm using PAM as a interface to a RADIUS server. I managed to get the
authentication part working, but I need to get authorization to work too. I
know that the pam_radius_auth.so doesn't support authorization, so I'm trying
to hack it.
My main problem is how to pass ANY token from the RADIUS reply in the
talk_radius() function. What functions in the framework can be used for
this ? I have to look at the attribute-value pairs in the AUTH_OK response
from the RADIUS server and then set some attribute. I tried to use the
pam_set_data/pam_get_data functions, but they won't work if called from an
application.
Any ideas are welcome. Thank you.
--
This is Linux country.
On a quiet night, you can hear Windows reboot.
Leonardo Pereira Santos |_|0|_|
Engenheiro de Projetos |_|_|0|
PD3 Tecnologia |0|0|0|
av. Para 330/202
(51) 3337 1237
Porto Alegre, RS - Brasil
Today Fortune tells us:
-----------------------
Q: Why did the tachyon cross the road?
A: Because it was on the other side.
More information about the Pam-list
mailing list