@lists.freeradius.org
[mailto:freeradius-users-bounces+ray.scholl=security7@lists.freeradius.org]
On Behalf Of Alan DeKok
Sent: Thursday, October 13, 2011 9:54 PM
To: FreeRadius users mailing list
Subject: Re: Policy construct for string concatenation
Ray Scholl wrote:
You refer to them as variables – so I am
On 15/10/2011 12:14, Ray Scholl wrote:
Good morning:
So, I took all of your advice - example constructs, suggestion to do a little
testing etc. I built a duplicate server and my question still remain.
The construct I have -
if ( clients_ldap-Ldap-Group ==
On 15 Oct 2011, at 13:14, Ray Scholl wrote:
Good morning:
So, I took all of your advice - example constructs, suggestion to do a little
testing etc. I built a duplicate server and my question still remain.
The construct I have -
if ( clients_ldap-Ldap-Group ==
Good afternoon:
I was hoping to see if anyone could provide the best syntax to concatenate two
strings being used in a comparison (policy.conf).
Synopsis:
We intend to compare an LDAP group name to a Freeradius shortname, but we want
the shortname to be shortname ++ otp.
The existing syntax
On 13 Oct 2011, at 19:15, Ray Scholl wrote:
Good afternoon:
I was hoping to see if anyone could provide the best syntax to concatenate
two strings being used in a comparison (policy.conf).
if(%{My-Var1}%{My-Var2} == %{My-Var3}){
}
Left operand can be attribute ref or string, right
-users-bounces+ray.scholl=security7@lists.freeradius.org
[mailto:freeradius-users-bounces+ray.scholl=security7@lists.freeradius.org]
On Behalf Of Arran Cudbard-Bell
Sent: Thursday, October 13, 2011 1:29 PM
To: FreeRadius users mailing list
Subject: Re: Policy construct for string
On 13 Oct 2011, at 19:40, Ray Scholl wrote:
Thank you –
You refer to them as variables – so I am assuming it cannot be a constant? I
must declare a variable and assign ‘otp’?
No. I said they could be attributes references or strings. You can use string
constants. Like most languages
Ray Scholl wrote:
You refer to them as variables – so I am assuming it cannot be a
constant? I must declare a variable and assign ‘otp’?
They're just strings. If you've done any kind of computer
programming, string expansion should be familiar.
(1) take the string ...
(2) Expand
8 matches
Mail list logo