PAM+RADIUS Attribute Value Pairs
- Subject: PAM+RADIUS Attribute Value Pairs
- From: Leonardo Pereira Santos <lsantos@xxxxxxxxxx>
- Date: Mon, 21 Jan 2008 18:25:27 -0200
- Organization: PD3 Tecnologia
- User-agent: KMail/1.9.6
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.
_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list
[Fedora Users]
[Kernel]
[Red Hat Install]
[Linux for the blind]
[Gimp]