SQL query in Pre-Proxy

2007-05-17 Thread Ivan Kalik
>do you mean that i have to do the following: in the radcheck i have to put usernamecalling-station-id=number and in the radreply, usernameproxy-to-realm:=domain No. Put them both in radcheck: INSERT INTO radcheck SET UserName='thatname', Attribute='Calling-Station-Id', op

Re: SQL query in Pre-Proxy

2007-05-17 Thread Ashraf Al-Basti
Hi, do you mean that i have to do the following: in the radcheck i have to put usernamecalling-station-id=number and in the radreply, usernameproxy-to-realm:=domain could you please send me the whole process for the request. [EMAIL PROTECTED] wrote: Make user entry: th

Re: SQL query in Pre-Proxy

2007-05-17 Thread tnt
Make user entry: thatuser Calling-Station-Id==number, Proxy-To-Realm:="domain" Put attributes in radcheck if you are using SQL. Ivan Kalik Kalik Informatika ISP Dana 17/5/2007, "Ashraf Al-Basti" <[EMAIL PROTECTED]> piše: >Dear, >or is there any way to do authentication before doing proxy >

Re: SQL query in Pre-Proxy

2007-05-17 Thread Ashraf Al-Basti
Dear, or is there any way to do authentication before doing proxy Ashraf Al-Basti wrote: >Dear all, >i want to use freeradius as a proxy server for more than domain, but i >need to do some query from the DB before doing proxy. >i have a DB that contain the username and the telephone number and t

SQL query in Pre-Proxy

2007-05-17 Thread Ashraf Al-Basti
Dear all, i want to use freeradius as a proxy server for more than domain, but i need to do some query from the DB before doing proxy. i have a DB that contain the username and the telephone number and the domain for that user. i want to do a query to check if for that data, if matched to do pro