Re: Variables' content as a reply -- SOLVED

2009-03-10 Thread Augusto G. Andreollo
Sorry, it's %{reply:User-Name}. From man unlang about strings: Double-quoted strings are expanded by inserting the value of any variables (see VARIABLES, below) before being evaluated. If the result is a number it is evaluated in a numerical context. .. Single-quoted strings are

Re: Variables' content as a reply

2009-03-06 Thread Augusto G. Andreollo
Where does the cookbook say that you should put that in ldap.attrmap? Where are those radius attributes defined? Some additional dictionary? This part is not from the cookbook, it's something we intend to use internally here at the university. The setup is based on the eduroam guide, though,

Re: Variables' content as a reply

2009-03-06 Thread tnt
Now, this is still not working: having it as User-Name := '%{reply:User-Name}' still gives me an Access-Accept with text instead of variable value. Also, using double quotes yields the exact same result. Sending Access-Accept of id 127 to xx.xx.xx.xx port 32785 User-Name =

Variables' content as a reply

2009-03-05 Thread Augusto G. Andreollo
Hello all! I've been trying unsuccessfully to get this setup to work, but unfortunately haven't been able so far. My need is to return the contents of three LDAP fields as replies on the Access-Accept package. The setup is for EAP/TTLS, mostly following eduRoam's setup guide (EduROAM

Re: Variables' content as a reply

2009-03-05 Thread tnt
I've been trying unsuccessfully to get this setup to work, but unfortunately haven't been able so far. My need is to return the contents of three LDAP fields as replies on the Access-Accept package. The setup is for EAP/TTLS, mostly following eduRoam's setup guide (EduROAM Cookbook -- DJ