rlm_digest module - how to return rows in authenticate part

biuro at globeinphotos.com biuro at globeinphotos.com
Wed Jul 12 17:16:19 CEST 2006


Hi
Because I've encountered some problems with OpenSer-Radius (described in
http://www.mail-archive.com/freeradius-users@lists.freeradius.org/msg27755.html
) I've started analysis of FreeRadius sources and I've discovered very strange
thing.

I've compared rlm_digest.c from ver.1.0.1 with 1.1.2 and it was appeared that
part descibed as "rlm_digest: Converting Digest-Attributes to something sane..."
was moved from digest_authorize function  to digest_authenticate .
It is almost not important but how to handle such situation when  I want return
few attribute to client but to set values in attributes  I need to know what
are values in few attributes from Request eg. from Digest-Method.
In current version I cannot return rows with attributes because only one SQL
query can be invoked after  authotize part -  postauth_query (defined in
postgres.conf) but this query cannot return list of row it can only return one
value.
Can you write how to return attributes to client in my situation?

P.S As I understand the 'something sane' means that e.g we convert values from
Digest-Attributes to Digest-Method.


Regards
Michal Szymanski




More information about the Freeradius-Devel mailing list