|
I guess I’m asking is
there an unlang equivalent to this snippet from rlm_detail.c. .. /* Write each
attribute/value to the log file */
for (pair = packet->vps; pair != NULL; pair = pair->next) {
vp_print(outfp, pair);
} Dean From: Dean Smith [mailto:dean@eatworms.org.uk] Is there a way of using either rlm_sql_log or the post-auth
query within rlm_sql to log all the request and/or reply attributes to mysql ? E.g. I could populate one SQL field with a string of the
whole packet (just as you would see in the detail log). I would still add my
key attributes to named fields but I would like to record “the
rest” of the attributes for later reference without having to define a
field for every possible attribute I might see. Clearly I could parse/upload the detail files independently
but wanted to check if it was possible within the existing framework. Thanks |