On Thu, 18 Sep 2003, Roman M. Bibikov wrote:

> Thank`s Alan, but in my opinion this pattern does not match 11 digits
> length numbers exactly...
> And actually round brackets are not accepting by checkval (by the way,
> why???)
> I.e. i see in the log
>
> Thu Sep 18 11:16:07 2003 : Debug: rlm_checkval: Item Name:
> Calling-Station-Id, Value: 61234444444
> Thu Sep 18 11:16:07 2003 : Debug: rlm_checkval: Value Name:
> Calling-Station-Id, Value: ^[6|7]123  <------ Where are the round
> brackets and a rest of pattern????

What is the source of the Calling-Station-Id attribute in your check items list?
For example rlm_ldap will do an xlat on the check items received from the ldap
server so you will need to escape {} and the rest.

> Thu Sep 18 11:16:07 2003 : Debug: rlm_checkval: Doing regex
> Thu Sep 18 11:16:07 2003 : Debug:   modcall[authorize]: module
> "checkval" returns ok
>
> It is very strange, but "(",")","{","}" brackets does not working in
> pattern.
> In the "checkval" sources "REG_EXTENDED|REG_NOSUB" flags are used in
> regcom().
>
> Probably this problem is not my private only.
> Is there anybody who uses checkval with "=~" operator with some
> problems?
>

--
Kostas Kalevras         Network Operations Center
[EMAIL PROTECTED]       National Technical University of Athens, Greece
Work Phone:             +30 210 7721861
'Go back to the shadow' Gandalf

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to