comma seperated variable list. This can be used to import the clients.conf
into a database if you are using one. Then the shortname, doesn't need to
take up an attribute, since it can be joined in.
I have also updated dialupadmin to use part of this script to convert, the shortnames from the log files into an ip address based on the info in the clients file.
I wrote this script before updateing the dialupadmin, files so this script does not contain the hostname to ip address translation, yet.
I will be adding it to my script for myself, if others want it when I have updated it let me know, it has been handy for me so far.
Joe Maimon wrote:
Hello all,
I am looking into adding the attribute client-short-name to be treated much as client-ip-address is in rlm_preprocess.
However there seems to be two ways of going about obtaining the information.
1) Lookup the client name based on the request->packet->src_ipaddr
2) Modify the request structure to store the client.
Any suggestions?
Thanks, Joe
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Guy Fraser Network Administrator The Internet Centre 780-450-6787 , 1-888-450-6787
There is a fine line between genius and lunacy, fear not, walk the line with pride. Not all things will end up as you wanted, but you will certainly discover things the meek and timid will miss out on.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
