new Tunnel-* issue in CVS

2001-11-12 Thread Fabrice LABORIE
Hi ! here is the trace output for freeradius-0.3 Attr-67 = 212.46.32.49 Attr-66 = 192.168.238.1 Attr-90 = sbm.net.sa Attr-91 = inet-row-tnt3 Attr-68 = 25 and here is the equivalent trace output for freeradius-snapshot-2002 Tunnel-Server-Endpoint

Re: Errors with snapshot

2001-11-12 Thread Nick Davis
Error: Accounting: logout: entry for NAS xxx.xxx.xxx.xxx port xx has wrong ID Error: rlm_sql: Stop packet with zero session length. (user 'thatguy', nas 'xxx.xxx.xxx.xxx') What do these errors mean? Is there a way to make it work properly? I have the USR Total Control for a NAS. The

Framed-IP-Address missing in radlast and in MySQL DB

2001-11-12 Thread Fabrice LABORIE
Hi ! FreeRadius is doing the IP allocation. I get something strange: In the Access-Request I see NAS-Port = 207 in the Access-Accept I see: Framed-IP-Address = 192.168.1.1+ in the ACT-Request START I see NAS-Port = 207 and no Framed-IP-Address !!! in the

Re: new Tunnel-* issue in CVS

2001-11-12 Thread Chris Parker
for freeradius-snapshot-2002 Tunnel-Server-Endpoint:0 = 12.46.32.49 Tunnel-Client-Endpoint:0 = 92.168.237.1 Tunnel-Client-Auth-Id:0 = bm.net.sa Tunnel-Server-Auth-Id:0 = net-row-tnt2 Acct-Tunnel-Connection = 4 see the difference??? 1) the Attributes now

Re: hints file question

2001-11-12 Thread aland
Wadeegh Hendricks [EMAIL PROTECTED] wrote: I need to have a prefix and a suffix stripped from the username in the hints file. At the mo it is doing only one of the two, depending on the position of the filter in the hints file. I have this format: PREFIX/username@DOMAINNAME What I need

Re: radwho

2001-11-12 Thread aland
J.J.Bailey [EMAIL PROTECTED] wrote: i had the same problem. being new to freeradius, i assumed radwho used the conf files to find the data files, but it seems to look for the data files in the directories specified at compile time. using a symlink fixed it. Hmm... radwho *does* read

Re: Framed-IP-Address missing in radlast and in MySQL DB

2001-11-12 Thread aland
Fabrice LABORIE [EMAIL PROTECTED] wrote: FreeRadius is doing the IP allocation. I get something strange: In the Access-Request I see NAS-Port = 207 in the Access-Accept I see: Framed-IP-Address = 192.168.1.1+ Yes, and it should also print out the *real* IP address it

RE: sql autentification problem

2001-11-12 Thread Galileo
Hmm, my fault. You are using dialup_admin right? Grab version 1.16. It should work better. I am using ldap for authentication/authorization so the mysql code has not been tested. Well for that part it worked now I have a different problem: Mon Nov 12 17:53:03 2001 : Error: rlm_sql: unknown

Re: sql autentification problem

2001-11-12 Thread Andreas Faust
On Mon, Nov 12, 2001 at 06:04:33PM +0100, Galileo wrote: Hmm, my fault. You are using dialup_admin right? Grab version 1.16. It should work better. I am using ldap for authentication/authorization so the mysql code has not been tested. Well for that part it worked now I have a different

RE: sql autentification problem

2001-11-12 Thread Kostas Kalevras
On Mon, 12 Nov 2001, Galileo wrote: Hmm, my fault. You are using dialup_admin right? Grab version 1.16. It should work better. I am using ldap for authentication/authorization so the mysql code has not been tested. Well for that part it worked now I have a different problem: Mon Nov 12

detecting user logins

2001-11-12 Thread Tony Bridges
Greetings, all. I'm developing user login management software for ISP's, and I'm currently researching ways of : a) detecting which users are logged in at startup b) getting notifications when a user logs in. In both cases, I also want to find their IP addresses. Most of the methods I've

Re: CHAP with External Script Prob (Cont)

2001-11-12 Thread aland
Nathan Miller [EMAIL PROTECTED] wrote: In that case, does it mean the values are being passed in HEX and not Binary? Yes. The values are passed exactly like they appear when printed in debugging mode. Looking at the data more closely, it does appear they are. But if it's getting

Re: CHAP with External Script Prob (Cont)

2001-11-12 Thread Nathan Miller
At 04:30 PM 11/12/2001 -0500, you wrote: Nathan Miller [EMAIL PROTECTED] wrote: In that case, does it mean the values are being passed in HEX and not Binary? Yes. The values are passed exactly like they appear when printed in debugging mode. Looking at the data more closely, it does

Re: CHAP with External Script Prob (Fix)

2001-11-12 Thread Nathan Miller
At 04:30 PM 11/12/2001 -0500, you wrote: Possible solutions: 1. A perl routine to convert octal - hex OR octal - binary for use in md5 for comparing chap-password to digest. 2. Make freeradius truly send data in Hex rather than octal (I have a guy working on this now, will submit patch

Re[2]: sql autentification problem

2001-11-12 Thread Galileo
Grr, funny I thought I fixed that. Anyway, here goes 1.16.5 attached. I would prefer that we don't bomb the list with my stupid mistakes. If you find any problems please send them in a personal mail. Thnaks I allready fixed those two lines in mysql.attrmap but thanks anyway. One general