rlm_sql bug in 64-bit architecture ?

2007-07-24 Thread Richard Cotrina
IP-Netmask = 255.255.255.255 Framed-MTU = 1500 Service-Type = Framed-User Idle-Timeout = 300 modcall[authorize]: module "sql" returns ok for request 0 rlm_sqlcounter: Entering module authorize code [snip] --> Got an Access-Accept response What could be going wrong wi

Re: expiration doesn't work in freebsd + mysql (sparc64 only)

2007-05-17 Thread Richard Cotrina
dcall[authorize]: module "sql" returns notfound for request 1 rlm_sqlcounter: Entering module authorize code rlm_sqlcounter: Could not find Check item value pair [...] ********* In both cases, the radiusd.conf and sql.conf are identical, as

expiration doesn't work in freebsd + mysql

2007-05-03 Thread Richard Cotrina
Has anyone had a similar experience ? Kind Regards Richard Cotrina - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Queries apear in Dialup_admin page

2006-11-09 Thread Richard Cotrina
Take a look at your conf/admin.conf file in the dialup_admin directory, and disable sql or ldap debug ( depends on what you are using ): ldap_debug: false sql_debug: false regards On Thu, 9 Nov 2006, CASTANHEIRA, Nuno Osvaldo wrote: > Hi, i have a strange problem in my freeradius with dialup_a

Re: Rewrite Attribute when proxy the specific realm

2006-10-19 Thread Richard Cotrina
You might use regular expressions in the hints file. - Original Message - From: Rio Yang To: freeradius-users@lists.freeradius.org Sent: Tuesday, October 17, 2006 8:03 PM Subject: Rewrite Attribute when proxy the specific realm Hi, I have tried attr_rewr

Stripping User-Names with Regular Expressions

2006-08-07 Thread Richard Cotrina
oup "(.*/)?" in the regexp is causing something wrong in the next group reference but I'm not sure. Is this kind of regexp (the conditional one) supported in freeradius ?. Any ideas of what could be wrong ? Thanks in advance for any help. Best Regards Richard Cotrina -BEGIN

Re: Bus error - core dumped on freeradius 1.0.5

2005-09-28 Thread Richard Cotrina
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It sounds strange because the unmodified radiusd.conf does not have authentication, authorization or accounting enabled for sql. I followed your instructions, and rlm_sql_mysql is not started because it has not enabled in radiusd.conf. How is your wo

Re: Bus error - core dumped on freeradius 1.0.5

2005-09-27 Thread Richard Cotrina
l. I use the port in > /usr/ports/databases/mysql41-server. Then I installed freeradius from > /usr/ports/net/freeradius first to get all the dependancies. These > include libtool, gmake, gdbm, libltdl. Then I did a make deinstall on > that port and build freeradius from source usi

Re: Bus error - core dumped on freeradius 1.0.5

2005-09-27 Thread Richard Cotrina
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 segmentation fault when rlm_sql_mysql is enabled (bug 271), happens both in FreeBSD 4.X and FreeBSD 5.X. - - Original Message - From: "Alan DeKok" <[EMAIL PROTECTED]> To: "FreeRadius users mailing list" Sent: Tuesday, September 27, 2005 12:0

Re: FreeRADIUS 1.0.4: SEGMENTATION FAULT

2005-08-25 Thread Richard Cotrina
> > (gdb) display mysql_sock > > 1: mysql_sock = (rlm_sql_mysql_sock *) 0x5f6c7173 > > That's bad. That's very bad. It's the ASCII string "sql_", > interpreted as a pointer on an x86 machine. No wonder it crashes. > > The short answer is that there appears to be some memory corruption. > Can

Re: FreeRADIUS 1.0.4: SEGMENTATION FAULT

2005-08-24 Thread Richard Cotrina
t; > What is the value of mysql_sock? The value used for num_sql_sock is 5. That's the default value in sql.conf. The value of mysql_sock shown by gdb is : (gdb) display mysql_sock 1: mysql_sock = (rlm_sql_mysql_sock *) 0x5f6c7173 I added more info at : http://bugs.freeradius.org/show_bug.cgi?i

Re: FreeRADIUS 1.0.4: SEGMENTATION FAULT

2005-08-24 Thread Richard Cotrina
ting to connect rlm_sql_mysql #1 Program received signal SIGSEGV, Segmentation fault. 0x483b7a48 in sql_init_socket (sqlsocket=0x8092720, config=0x8096300) at sql_mysql.c:71 71 memset(mysql_sock, 0, sizeof(*mysql_sock)); (gdb) =========

Re: controlling the auth by CallingStationId

2005-05-31 Thread Richard Cotrina
The attribute "Calling-Station-Id" is already defined as a checkItem, you should add it to a user or group profile using the operator ":=" HTH - Original Message - From: "Ernesto Freyre Ramírez" <[EMAIL PROTECTED]> To: Sent: Monday, May 30, 2005 9:48 AM Subject: controlling the auth by

Re: session id used in checkrad

2005-04-05 Thread Richard Cotrina
(radutmp or sql). Is there any way to use Simultaneous-Use without calling checkrad ? I know that it would relay on accounting info only, but it does not need to do snmp queries every session is required. Thanks in advance. Richard Cotrina On Wed, 6 Apr 2005, Shane wrote: > Doesn't it just

session id used in checkrad

2005-04-05 Thread Richard Cotrina
;Session IDs" can be seen using "show aaa sessions" command. They have not the same values stored in freeradius accounting in the attr Acct-Session-Id. Any ideas on what could be wrong ? Richard Cotrina - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

rlm_sql_mysql core dumped in FreeBSD

2005-03-16 Thread Richard Cotrina
I am getting a segmentation fault when I tried to run freeradius with mysql support (rlm_sql_mysql) in FreeBSD 4.11. I built freeradius from ports and out of ports too, and the result is always the same. I've searched the list for similar reports, and the only workaround i found to this problem is