Re: Accounting Packets with zero session length

2003-07-15 Thread Rob Hartzenberg
Hi again, > > > > > > Tue Jul 15 10:28:49 2003 : Error: rlm_sql: Stop packet with zero session > > length. (user '[EMAIL PROTECTED]', nas '155.239.xx.xxx') > > > > > > Any ideas on how to get around this? > > change > #define CISCO_ACCOUNTING_HACK > to > #undef CISCO_ACCOUNTING_HACK > > in src/

Accounting Packets with zero session length

2003-07-15 Thread Rob Hartzenberg
packet with zero session length. (user '[EMAIL PROTECTED]', nas '155.239.xx.xxx') Any ideas on how to get around this? Thanks Rob ---------- Rob Hartzenberg Network Admin : Imaginet -- smime.p7s Description: S/MIME cryptographic signature

Re: default realm issue

2003-07-12 Thread Rob Hartzenberg
Hey, I may be wrong on this, but I believe what you are looking for is in the sql.conf file. Inparticular the section dealing with Stripped-User-Name. ### # Query config: Username

Bug with the REGEX in attr_rewrite (Was Re: Preproxy help?)

2003-07-12 Thread Rob Hartzenberg
Hey, I did mention is on this list a short while back. Those who did answer my posts seemd to think it was probably a fault of my local system or something to do with the "parsing". As the workaround worked well enough for us, I left it at that. I have since used RegEx in other software applicati

Re: Preproxy help?

2003-07-12 Thread Rob Hartzenberg
Heya, I recently went through the same. I found the following worked best in our situation, it may and may not work for you. I use the rewrite facility to append the realm for any username that does not have an "@" in the name. #Note that there is what appears to be a bug in the REGEXP. #If the "

Acct Stop Packets going "missing"

2003-07-08 Thread Rob Hartzenberg
ty generically to use the MySQL DB. The MySQL DB is based on the "Dialup Admin" php set that can with FreeRadius. Any ideas/feedback would be appreciated. -Rob -- Rob Hartzenberg Network Admin : Imaginet Contact: 086 11 111 01

Re: Adding realm suffix to non-realm username.

2003-06-12 Thread Rob Hartzenberg
Ok, heres the Dirt... Why when using searchfor = "[EMAIL PROTECTED]" Does it drop the "$" (As show in previous logs) but when using searchfor = "[EMAIL PROTECTED]" It works fine? :) -Rob - Original Message - From: "Dustin Doris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: T

Re: Adding realm suffix to non-realm username.

2003-06-12 Thread Rob Hartzenberg
hmmm... Im just running through this again and again, Is there perhaps not a bug with the RegEx handler? Check this out... The expression in my config file : searchfor = "^[a-z0-9_\-]+$" The expression reported in the log file: radius_xlat: '^[a-z0-9_-]+' The end of line char "$" is ess

Re: Adding realm suffix to non-realm username.

2003-06-12 Thread Rob Hartzenberg
Hi Dustin, Thanks for the reply... Here are a few sample lines from the log using -xx radius_xlat: '^[a-z0-9_-]+' radius_xlat: '@imaginet.co.za' rlm_attr_rewrite: Changed value for attribute User-Name from 'rob' to '[EMAIL PROTECTED]' radius_xlat: '^[a-z0-9_-]+' radius_xlat: '@imaginet.c

Re: Adding realm suffix to non-realm username.

2003-06-12 Thread Rob Hartzenberg
Replying to my own post here ;) >> Did I need to reference this else where in the config file? -- Found it, but now I have more "issues". I am using this to append our realm to the non-realm'd users. (As taken from a previous posting found on the list archives) attr_rewrite add_domain {

Adding realm suffix to non-realm username.

2003-06-12 Thread Rob Hartzenberg
s section... Now the question is... since this is not working, Did I need to reference this else where in the config file? Or is simply having these few lines added to the config file sufficient? Thanks, -Rob ---------- Rob Hartzenberg Network Admin : Imaginet Web: http:

Re: Storing Plain text passwords in MySQL?

2003-03-04 Thread Rob Hartzenberg
Hi List, Thanks to those who responded. I have managed to get it to work. in admin.conf (dialup_admin) set "general_encryption_method: clear" in radiusd.conf (raddb) set "encryption_scheme = clear" in the pap section. Simple as that :-) Thanks again. -Rob - List info/subscribe/unsubscribe? Se

Re: Storing Plain text passwords in MySQL?

2003-03-04 Thread Rob Hartzenberg
Hi List, Chris > >I would like to be able to store the passwords in the MySQL database in > >clear text (Unencrypted). > >What do I need to change to get this to work? > > Nothing, simply add the a/o/v set to the check table: > > ++-+--+---+ > | username |

Storing Plain text passwords in MySQL?

2003-03-04 Thread Rob Hartzenberg
d in plain text. Any assistance in this matter would be greatly appreciated. TIA -Rob ------ Rob Hartzenberg Network Admin : Imaginet // Contact details stripped -- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html