Core dumps?

2002-12-06 Thread Malcolm Caldwell
How can I get freeradius to dump core? I have tried allow_core_dumps = yes in radiusd.conf. I have tried running -XX I have tried ulimit -c unlimited I must be doing something wrong. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Problems with xlats in users file (was Re: users file with longlines)

2002-12-05 Thread Malcolm Caldwell
it on the wire. On Thu, 2002-12-05 at 01:12, Alan DeKok wrote: Malcolm Caldwell [EMAIL PROTECTED] wrote: It would seem that the users file is limited to lines 256 characters. This causes me a problem as I am trying to do an sql xlat and so need a string 256 characters. Is there any good reason

Re: bugs with rlm_sql and rlm_sql_oracle

2002-12-05 Thread Malcolm Caldwell
Chris's patch on the devel list fixes the problem. On Fri, 2002-12-06 at 02:06, Alan DeKok wrote: Malcolm Caldwell [EMAIL PROTECTED] wrote: Today's cvs does have a fix to sql_oracle.c to free the sqlsock-conn in sql_close, but it does not help the fact that sql.c reconnects on a failed

Re: Problems with xlats in users file (was Re: users file withlong lines)

2002-12-05 Thread Malcolm Caldwell
On Fri, 2002-12-06 at 02:37, Alan DeKok wrote: Malcolm Caldwell [EMAIL PROTECTED] wrote: Fair enough - except I am trying to store an xlat there. The xlat string (fmt) is longer than 254 octets BUT the results of the xlat are not! I don't know what a quick fix is here. Perhaps

users file with long lines

2002-12-04 Thread Malcolm Caldwell
It would seem that the users file is limited to lines 256 characters. This causes me a problem as I am trying to do an sql xlat and so need a string 256 characters. Is there any good reason not to bump up this limit? - List info/subscribe/unsubscribe? See

Re: bugs with rlm_sql and rlm_sql_oracle

2002-12-04 Thread Malcolm Caldwell
On Wed, 2002-12-04 at 13:26, Alan DeKok wrote: Malcolm Caldwell [EMAIL PROTECTED] wrote: It should return failed to do SQL query, which is semantically not that different from unable to contact SQL server Whose semantics? A database login would seem to be quite an expensive

Re: bugs with rlm_sql and rlm_sql_oracle

2002-12-03 Thread Malcolm Caldwell
On Wed, 2002-12-04 at 01:48, Alan DeKok wrote: Malcolm Caldwell [EMAIL PROTECTED] wrote: At the moment the server crashes multiple times a day. I *think* I have tracked down the problem. If a user logs in with a username 32 characters we have problems. The column is VARCHAR2 32

bugs with rlm_sql and rlm_sql_oracle

2002-12-02 Thread Malcolm Caldwell
Hello, I have been having problems with freeradius 0.8 crashing for us regularly. First: we are using freeradius 0.8 with ldap authentication and sql accounting to an oracle database. I can supply config files if required. At the moment the server crashes multiple times a day. I *think* I

A quick question re: accounting

2002-11-20 Thread Malcolm Caldwell
Hello, Sorry to bother everyone with this. I have been reading the fine documentation and the source for the last hour and don't know the answer to this question. Is it possible to select different account mechanisms on a per user or per nas basis. For eg. If the username is fred I would like

Re: Questing re: conditional syntax for variables

2002-11-11 Thread Malcolm Caldwell
On Tue, 2002-11-12 at 03:51, Alan DeKok wrote: Malcolm Caldwell [EMAIL PROTECTED] wrote: This works find but it does not give the level of redundancy I wish. I have tried to use conditional syntax for the xlats: sql_user_name = %{serverXldap:ldap:///o=abc?uid?sub?(|(uid=%{User-Name

re: sql counter xlat problem

2002-11-10 Thread Malcolm Caldwell
OK, I found a bug that stoped sqlcounters working for me. Basically sql_xlat in rlm_sql is doing rlm_sql_select_query(sqlsocket,ins... ... rlm_sql_fetch_row(sqlsocket, inst) (inst-module-sql_finish_select_query)(sqlsocket, inst-config); ... row = sqlsocket-row; The problem is

Questing re: conditional syntax for variables

2002-11-10 Thread Malcolm Caldwell
Hello, Am trying to do ldap xlats in sql.conf: sql_user_name= %{serverXldap:ldap:///o=abc?uid?sub?(|(uid=%{User-Name}))} This works find but it does not give the level of redundancy I wish. I have tried to use conditional syntax for the xlats: sql_user_name =