problem with User-Name Stripped-User-Name

2012-08-01 Thread Tony Peña
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.. the stripped-user-name properly. if i use

Re: problem with User-Name Stripped-User-Name

2012-08-01 Thread Alan DeKok
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

Re: problem with User-Name Stripped-User-Name

2012-08-01 Thread Tony Peña
2012/8/1 Alan DeKok al...@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..

Re: problem with User-Name Stripped-User-Name

2012-08-01 Thread Alan DeKok
Tony Peña wrote: i use that because in that way explain in line 25 of sql/mysql/dialup.conf No. The default configuration works. The text you quote below is NOT in the default configuration. And git says that line hasn't changed since September 2007. Someone on your system edited the

Re: problem with User-Name Stripped-User-Name

2012-08-01 Thread Tony Peña
all right thanxs.. your correct ,.maybe in my changes I confuse the line sql_user_name = %{Stripped-User-Name:-%{User-Name:-DEFAULT}} with this works... i have to check my old 1.3.1 to replace the incorrect line. but still warning me deprecated :- to see unlang.. but that i check later..

Re: problem with User-Name Stripped-User-Name

2012-08-01 Thread alan buxey
Hi, all right thanxs.. your correct ,.maybe in my changes I confuse the line sql_user_name = %{Stripped-User-Name:-%{User-Name:-DEFAULT}} with this works... i have to check my old 1.3.1 to replace the incorrect line. but still warning me deprecated :- to see unlang..

Re: problem with User-Name Stripped-User-Name

2012-08-01 Thread Tony Peña
ok but with original not work for me as default uncomment... i have to change sql_user_name = %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}} for sql_user_name = %{Stripped-User-Name:-%{User-Name:-DEFAULT}} to can use it.. and i check simultaneous-use by radutmp way. 2012/8/1 alan

Re: problem with User-Name Stripped-User-Name

2012-08-01 Thread alan buxey
Hi, ok but with original not work for me as default uncomment...  i have to change  sql_user_name = %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}} for  sql_user_name = %{Stripped-User-Name:-%{User-Name:-DEFAULT}}     to can use it.. as I said,

Re: problem with User-Name Stripped-User-Name

2012-08-01 Thread Tony Peña
don't worry for radutmp... In your site-available/default, explain sql for simultaneous is more faster.. so . i change it.. and i test it with radclient again.. doing auth - acct start - (auth for check) - and acct stop to finish session test output