hi again... i try to get suffix work but i guess missing something... here
some debugs and confs
rad_recv: Access-Request packet from host 10.10.64.67 port 16829, id=53,
length=208
Framed-Protocol = PPP
User-Name = *usert...@my.domain.cu*
User-Password = *secret*
Hi,
User-Name = [1]usert...@my.domain.cu
okay..
[preprocess] hints: Matched DEFAULT at 36
++[preprocess] returns ok
and what is in your hints file?
++- policy filter_username returns ok
and what is in this policy?
alan
-
List info/subscribe/unsubscribe? See
i put the hint file more below after radiusd -X.. check again please...
i miss policyfilter...
i send again both.
/etc/freeradius/hints
DEFAULT Suffix == @my.domain.cu, Strip-User-Name = Yes
Hint = userdefault,
Service-Type = Framed-User,
Framed-Protocol = PPP,
/etc/freeradius/policy.conf
On Thu, Sep 27, 2012 at 10:34 PM, Tony Peña emperor...@gmail.com wrote:
hi again... i try to get suffix work but i guess missing something... here
[preprocess] hints: Matched DEFAULT at 36
[suffix] No '@' in User-Name = usertest, looking up realm NULL
---why not found '@' if is coming in
Hi,
DEFAULT Suffix == @[1]my.domain.cu, Strip-User-Name = Yes
there you go.
strip-user-name = yes
this means that u...@blahblah.com becomes just user
do you WANT or intend to strip the user-name? If you are trying to use the
suffix
for other things then stripping it isnt going
I want when username is user@my.domain
the suffix out @my.domain to only get: user
that only need.
2012/9/27 alan buxey a.l.m.bu...@lboro.ac.uk
Hi,
DEFAULT Suffix == @[1]my.domain.cu, Strip-User-Name = Yes
there you go.
strip-user-name = yes
this means that
anyway... my problem is exactly at monthlycounter because i need
stripped-user-name and module stripped when try to use but in the queries
use username complete including realm.
2012/9/27 Tony Peña emperor...@gmail.com
I want when username is user@my.domain
the suffix out @my.domain to only
On 27/09/12 17:06, Tony Peña wrote:
i put the hint file more below after radiusd -X.. check again please...
i miss policyfilter...
i send again both.
/etc/freeradius/hints
DEFAULT Suffix == @my.domain.cu, Strip-User-Name
Don't do this. It doesn't work reliably, because you modify the
ok.. the suffix patch works and get out the @realm...
but monthlycounter is my trouble more bigger... because not
stripped-user-name in the queries...
is possible to do the same patch, in sql/mysql/counter.conf ?? where said.
sqlcounter monthlycounter1 {
counter-name = Monthly-Session-Time
Hi,
key = User-Name use the if { your patch} ???
either change this to Stripped-User-Name insteador if you ONLY want this to
be the full realm when its NOT the realm of interest, then create a new SQL
query
and then wrap unlang around it eg
if (%{User-Name} =~
ok.. I do some testing about new sql... and with your unlang if idea..
could be
thanxs to all
2012/9/27 alan buxey a.l.m.bu...@lboro.ac.uk
Hi,
key = User-Name use the if { your patch} ???
either change this to Stripped-User-Name insteador if you ONLY want
11 matches
Mail list logo