2012/8/1 Alan DeKok <aland@deployingradius.com>
Tony Peña wrote:
hi, i'm trying to migrate freeradius 1.3.1 to 2.1.12. 1.3.1 works very fine but I need upgrades
and my freeradius server auth in ldap and accounting on mysql.. and the new file configuration have a little change for me.. all fine but not work for me..
It would be useful to use complete sentences. It shows you're trying to communicate what's going on, rather than just dumping random collections of text into an email.
and sql module -> [sql] Improperly nested variable; %{User-Name}}
What part of that is unclear?
[sql] expand: %{%{Stripped-User-Name}:-%{%{User-Name}}:-DEFAULT} -> ''
That is wrong. See "man unlang" for how expansions are handled.
What do you expect this to do: %{%{User-Name}} ?? Why did you enter that?
i use that because in that way explain in line 25 of sql/mysql/dialup.conf
20 # Uncomment the next line, if you want the sql_user_name to mean: 21 # 22 # Use Stripped-User-Name, if it's there. 23 # Else use User-Name, if it's there, 24 # Else use hard-coded string "DEFAULT" as the user name. 25 sql_user_name = "%{%{Stripped-User-Name}:-%{%{User-Name}}:-DEFAULT}" 26 # 27 #sql_user_name = "%{User-Name}"
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Antonio Peña Secure email with PGP 0x8B021001 available at http://pgp.mit.edu Fingerprint: 74E6 2974 B090 366D CE71 7BB2 6476 FA09 8B02 1001