freeradius 3.0.x HOW TO ULANG read/write all list keys/values
Michal Tomaszewski
Michal.Tomaszewski at cca.pl
Mon Nov 9 23:26:01 CET 2015
Hello,
Could you advice how to write and read all reply list parameters to/from database?
I would like to store reply parameters between sessions of the same user without generating them from scratch.
As I understand writing all parameters to the database is possible using e.g. such command:
&AllReplyString := "%{pairs:reply:[*]}"
Then I can write AllReplyString to e.g. SQL database.
But how can I read it back and fill all reply parameters into freeradius?
I can retrieve AllReplyString from database.
How to assign all parameters from such string to radius reply list?
I imagine there shall be a kind of construction like
Update reply {
.... list := AllReplyString
}
but I couldn't find proper construction in ulang manual nor any converting function.
Could you suggest the proper way of solving such issue?
Regards,
Mike
________________________________________ Uwaga: Treść niniejszej wiadomości może być poufna i objęta zakazem jej ujawniania. Jeśli czytelnik tej wiadomości nie jest jej zamierzonym adresatem, pracownikiem lub pośrednikiem upoważnionym do jej przekazania adresatowi, informujemy że wszelkie rozprowadzanie, rozpowszechnianie lub powielanie niniejszej wiadomości jest zabronione. Jeśli otrzymałeś tę wiadomość omyłkowo, proszę bezzwłocznie odesłać ją nadawcy, a samą wiadomość usunąć z komputera. Dziękujemy. ________________________________ Note: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.If you have received this communication in error, please notify the sender immediately by replying to the message and deleting it from your computer. Thank you. ________________________________
More information about the Freeradius-Users
mailing list