stripped username and accounting

2008-09-23 Thread Alexandre Chapellon
Hello, I have NASes sending me unstripped username in requests, and a database with stripped usernames in it (which i use for accounting too). So i tried setting up proxying (to local) on the desired realms to for auth and accounting, the problem i face is that acounting is done both with

Re: stripped username and accounting

2008-09-23 Thread jose caceres
hello Alexandre, I solved this by ussing this conditional in the configuration file that the database uses in my case /etc/raddb/sql/postgresql/dialup.conf : sql_user_name = %{%{Stripped-User-Name}:-%{%{User-Name}:-none}} #sql_user_name = %{User-Name} i hope this helps regards Josexato