Re: Calling-Station-Id case sensitive

2008-12-18 Thread tnt
Yes. Usual way is to strip delimiters from the caller id in hints file. A for lower case - that depends on the database. Read the documentation for the one you are using and see what function does it use for turning the string into lower case. Ivan Kalik Kalik Informatika ISP Dana 18/12/2008, "l

Re: Calling-Station-Id case sensitive

2008-12-18 Thread lists
Is there a way with Perl to make the calling-station-id query to the database not have any symbles in it and force it to be lower case . where the mac will look at 001e0b25ecbd > t...@kalik.net wrote: >> >> You can use perl lc function to make sure attribute is always lower >> case. >> List perl be

Re: Calling-Station-Id case sensitive

2008-12-17 Thread Alexander Clouter
li...@justinawilliams.com wrote: > > I am not really up with perl... Is there any way that perl can rewrite > the request and take out either the . or : or - between characters as > well as make everything lower case? > > so that the calling-station-id request would be 00197da6ad06 > not 00:19:7

Re: Calling-Station-Id case sensitive

2008-12-17 Thread Alexander Clouter
t...@kalik.net wrote: > > You can use perl lc function to make sure attribute is always lower case. > List perl before checkval. > I personally use lower() (pgsql) and do it at the SQL server end. Cheers Alex -- Alexander Clouter .sigmonster says: We are not a clone. - List info/subscribe/uns

Re: Calling-Station-Id case sensitive

2008-12-16 Thread lists
I am not really up with perl... Is there any way that perl can rewrite the request and take out either the . or : or - between characters as well as make everything lower case? so that the calling-station-id request would be 00197da6ad06 not 00:19:7d:a6:ad:06 or 00-19-7d-a6-ad-06 or 0019.7da6.

Re: Calling-Station-Id case sensitive

2008-12-16 Thread tnt
>Is there any way that you can point me in the right direction with what i >need to do. I am not able to find any documentation on what you are saying >do. > http://wiki.freeradius.org/Rlm_perl http://perl.about.com/od/programmingperl/qt/perllcfunction.htm Ivan Kalik Kalik Informatika ISP - Lis

Re: Calling-Station-Id case sensitive

2008-12-16 Thread lists
Is there any way that you can point me in the right direction with what i need to do. I am not able to find any documentation on what you are saying do. Thanks > You can use perl lc function to make sure attribute is always lower case. > List perl before checkval. > > Ivan Kalik > Kalik Informatik

Re: Calling-Station-Id case sensitive

2008-12-16 Thread tnt
You can use perl lc function to make sure attribute is always lower case. List perl before checkval. Ivan Kalik Kalik Informatika ISP Dana 16/12/2008, "li...@justinawilliams.com" piše: >Is there any way to make the rlm-checkval check not case sensitive > >rlm_checkval: Item Name: Calling-Stati

Calling-Station-Id case sensitive

2008-12-16 Thread lists
Is there any way to make the rlm-checkval check not case sensitive rlm_checkval: Item Name: Calling-Station-Id, Value: 00-21-5C-7B-FF-2D rlm_checkval: Value Name: Calling-Station-Id, Value: 00-21-5c-7b-ff-2d I have two different types of access points that i have to use right now and the cisco