Re: Multiple reply attributes of the same type

2001-12-20 Thread Randy Moore
Hi, To set more than one value for a single reply attribute, you have to use the += operator rather than the default == operator. With the default SQL schema this is not possible. You'll have to update your SQL schema and queries to include the "op" field. The list archives includes some di

Multiple reply attributes of the same type

2001-12-20 Thread Thomas . Favier
Hi, I'm trying to send a few 'Cisco-AVPair' attribute in my RADIUS replies. From what i've seen, it works perfectly when these pairs are given for an user. But when I try to set it for a whole group, only the last defined pair is sent back to the NAS. >From Postgres : radiusdb=# s

RE: Log files filling up.

2001-12-20 Thread Simon Byrnand
At 05:40 PM 20/12/01 -0600, you wrote: >Thanks for the response. I get about 60 or 70 per minute. Will setting >Allow Stop Only mess up my accounting logs? I am using mysql for auth >and accounting and we track hours for some of our "Lite" customers. No, it won't affect your accounting for no

RE: Log files filling up.

2001-12-20 Thread Chris West
Thanks for the response. I get about 60 or 70 per minute. Will setting Allow Stop Only mess up my accounting logs? I am using mysql for auth and accounting and we track hours for some of our "Lite" customers. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Be

Re: Log files filling up.

2001-12-20 Thread Simon Byrnand
At 11:01 AM 20/12/01 -0500, you wrote: >"Chris West" <[EMAIL PROTECTED]> wrote: >> Error: Ignoring request from client with unknown code 33 > > Read the Ascend NAS documentation, to figure out how to tell it to >stop sending non-standard packets. Chris, I don't know the answer to that one, bu

Re: Seg. Fault 0.4

2001-12-20 Thread aland
[EMAIL PROTECTED] wrote: > This is gdb out of 'bt' > +++ START > #0 0x4001a96d in sql_userparse () at eval.c:88 > #1 0x4001aa61 in sql_getvpdata () at eval.c:88 There is NO 'eval.c' anywhere in the server source tree. The server is STILL using old libraries. Find them, delete them, re-ins

Re: Max Request Time (max_request_time) No Timeout

2001-12-20 Thread aland
Angus Stewart <[EMAIL PROTECTED]> wrote: > I am proxying to another server and not receiving a response. I > need to return a reject message to the originating NAS within a > specified time frame or else the proxy is marked as dead. The > comments in the radiusd.conf file suggest that a reject m

Re: Supporting Password,PAP,CHAP,MS-CHAP,MS-CHAP2,EAP-MD5

2001-12-20 Thread aland
Michael Cunningham <[EMAIL PROTECTED]> wrote: > > Some of this is done already. > > Hmm so setiting up the server to authenticate the user via > multiple auth-types is not possible right now I assume? Not perfectly, no. > Not only would this simplify coding for the module writers > since

Re: C++ compiling & linking with libradius

2001-12-20 Thread Cyrille Lefranc
20/12/2001 18:54:22, [EMAIL PROTECTED] wrote: >> Here is a patch where 'operator' is renamed 'Operator' in libradius.h > OK.. and what about the rest of the code which uses the 'operator' >element of the value_pair data structure? Do you really want to have >this patch applied, and have the r

Re: C++ compiling & linking with libradius

2001-12-20 Thread aland
Cyrille Lefranc <[EMAIL PROTECTED]> wrote: > libradius use a parameter named "operator" which is a C++ keyword. > Also, prototypes have to be enclosed by an extern "C" declaration for the link >operation to succeed. > > Here is a patch where 'operator' is renamed 'Operator' in libradius.h OK

Re: help with ldap module.

2001-12-20 Thread aland
"Lance Miller" <[EMAIL PROTECTED]> wrote: > First question, I have to compile the LDAP modules in order for it to = > work with a LDAP server correct? Yes. > I run the package with the -X switch and get the follow error message > > Module: Instantiated unix (unix)=20 > radiusd.conf[361] Faile

help with ldap module.

2001-12-20 Thread Lance Miller
I need some clarification here about accessing LDAP with freeradius, and compiling freeradius to work with LDAP. First question, I have to compile the LDAP modules in order for it to work with a LDAP server correct? This is what I done so far. I am compiling this on solaris 8 box. When first

Re: Log files filling up.

2001-12-20 Thread aland
"Chris West" <[EMAIL PROTECTED]> wrote: > Error: Ignoring request from client with unknown code 33 Read the Ascend NAS documentation, to figure out how to tell it to stop sending non-standard packets. > Error: rlm_sql: Stop packet with zero session length. (user '', nas > '') There may be

Re: radiusd.conf and Useable Variables

2001-12-20 Thread aland
Simon Allard <[EMAIL PROTECTED]> wrote: > There is a very useful list in xlat.c for alot of variables that can be > used though. Would be very handy to have on the faq or something. It's in doc/rlm_detail, I think. Yes, that isn't a very obvious place for it. Alan DeKok. - List info/sub

Re: Failed login counting question.

2001-12-20 Thread aland
[EMAIL PROTECTED] wrote: > Is it possible to count the number of failed logings and trigger some event > to disable the users account if three failed logins occur? Not really. The best bet here would be to grep the log file. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.fr

Log files filling up.

2001-12-20 Thread Chris West
What do the following mean and how do I stop them?   Error: Ignoring request from client :1646> with unknown code 33 Error: rlm_sql: Stop packet with zero session length. (user ‘’, nas ‘’)   I am running freeradius 0.3 and my RAS are all ascend/lucent TNT and Max’s   Thanks Chris  

RE: Dupes

2001-12-20 Thread Chris West
It was a duplicate rule created in my email client to send these messages to the proper folder. Sorry about that. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Nathan Miller Sent: Tuesday, December 18, 2001 4:49 PM To: [EMAIL PROTECTED] Subject: Re: D

Failed login counting question.

2001-12-20 Thread julian . green
Is it possible to count the number of failed logings and trigger some event to disable the users account if three failed logins occur? Julian - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

C++ compiling & linking with libradius

2001-12-20 Thread Cyrille Lefranc
There's a problem compiling C++ programs with g++ when linking them with libradius. libradius use a parameter named "operator" which is a C++ keyword. Also, prototypes have to be enclosed by an extern "C" declaration for the link operation to succeed. Here is a patch where 'operator' is renamed

Re: auth by /etc/passwd

2001-12-20 Thread Miquel van Smoorenburg
In article <003f01c1890a$3e83ae20$1191623f@eli>, NetlinkIP Sysadmin <[EMAIL PROTECTED]> wrote: >How can I have freeradius (or cistron 1.6.5) do a check on /etc/passwd >for the shell >type? Could you please post this to *one* list only, or at least Cc: it between lists? I've already answered your