Thanks Ivan :)
I agree its not a perl issue but still something to correct. Organization
select naming schemes for their employees and now those that begin with r
would be denied access.
How can I assist to correct this issue for those cases with /r
Thanks
This is nothing to do with perl.
Hello Alan,
I have upgrade to 2.1.1 however still the same effect with perl to lc the
usernames
perl_pool: item 0x2043d70 asigned new request. Handled so far: 1
found interpetator at address 0x2043d70
rlm_perl: RAD_REQUEST: NAS-Port-Type = Ethernet
rlm_perl: RAD_REQUEST: Service-Type =
[suffix] No '@' in User-Name = \ aduserr, looking up realm NULL
This is nothing to do with perl. There is a bug in handling \r in
username. It is seen as carriage return and I can see it in sql
queries (converted since it is not a safe character). Try a username
that doesn't start with r and
On Mon, Sep 22, 2008 at 07:26:24PM +0100, [EMAIL PROTECTED] wrote:
Hi,
User-Name = \\raduser
^
ha. okay. with just a plain username you are safe,
but with this windows case, you are dealing with
\r - which is a special character. its
Thanks Alan,
I have the git master tar file, do you recommend I do a git diff to try and
find the differences or how best to proceed to narrow down the issue.
Thanks
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Charlie B wrote:
I have the git master tar file, do you recommend I do a git diff to try
and find the differences or how best to proceed to narrow down the issue.
Huh? Why would you do a git diff?
Please BUILD and RUN the server to see if the recent changes fixed it.
Wandering through
Hi Alan,
Where can I find tarball for freeradius-server-2.1.1? I'm going the rpm
build so I can run the test. I didnt' see it on the ftp site.
thx
Please BUILD and RUN the server to see if the recent changes fixed it.
Wandering through the source code won't help unless you know what
http://github.com/alandekok/freeradius-server/tree/master
Ivan Kalik
Kalik Informatika ISP
Dana 23/9/2008, Charlie B [EMAIL PROTECTED] piše:
Hi Alan,
Where can I find tarball for freeradius-server-2.1.1? I'm going the rpm
build so I can run the test. I didnt' see it on the ftp site.
thx
Hello Ivan,
How do I get it to spit it out after the change?
I can get it prior to:
rlm_perl: RAD_REQUEST: NAS-Port-Type = Ethernet
rlm_perl: RAD_REQUEST: Service-Type = Framed-User
rlm_perl: RAD_REQUEST: Calling-Station-Id = 00-15-C5-02-39-99
rlm_perl: RAD_REQUEST: Called-Station-Id =
Hello Alan,
I changed the script, as per your indication to return MODULE_UPDATED rather
than OK and get the following:
rlm_perl: Added pair NAS-Port-Type = Ethernet
rlm_perl: Added pair Service-Type = Framed-User
rlm_perl: Added pair Calling-Station-Id = 00-15-C5-02-39-99
rlm_perl: Added pair
Hi,
thoughts on where to go from here to get this not to alter the username and
just lc it
but its not altering (apart from LC'ing it) - as your other
post shows.
throw the daemon some uppercased username (eg with 'radtest' tool)
and check the debugging to see what you see from PERL
alan
-
but its not altering (apart from LC'ing it) - as your other
post shows.
Hi Alan, it is lc'ing it, however it is also moving the r from the
beginning of the username to the end of the username, which is what Im
trying to stop
-
List info/subscribe/unsubscribe? See
Post the full debug for a radtest request with uppercase username. That
logging function should go before you work with attributes. debug
already logs what comes after.
Ivan Kalik
Kalik Informatika ISP
Dana 22/9/2008, Charlie B [EMAIL PROTECTED] piše:
but its not altering (apart from LC'ing
Hi,
Hi Alan, it is lc'ing it, however it is also moving the r from the
beginning of the username to the end of the username, which is what Im
trying to stop
..and from what you've posted so far, I'd say it isnt
moving it. wheres the other upper case tests and debug
as per requested?
alan
-
Charlie B wrote:
Hi Alan, it is lc'ing it, however it is also moving the r from the
beginning of the username to the end of the username, which is what Im
trying to stop
I think it's a bug in the code. Please try the current git tree. See
git.freeradius.org for instructions on grabbing a
Post the full debug for a radtest request with uppercase username. That
logging function should go before you work with attributes. debug
already logs what comes after.
Hello Ivan,
Here is the debug using radtest
radtest RadUser [EMAIL PROTECTED] localhost 10 testing123
FreeRADIUS Version
Hi Alan,
I run the same config (as previous post) which works as you indicated (and
Ivan) with radtest however when I use a windows client this is what I
get and the rearrangement of the username
rad_recv: Access-Request packet from host 10.0.1.9 port 1645, id=203,
length=139
Here is the debug using radtest
radtest RadUser [EMAIL PROTECTED] localhost 10 testing123
..
rlm_perl: RAD_REQUEST: User-Name = RadUser
..
rlm_perl: Added pair User-Name = raduser
..
Sending Access-Accept of id 225 to 127.0.0.1 port 38149
Tunnel-Medium-Type:0 = IEEE-802
Hi,
User-Name = \\raduser
^
ha. okay. with just a plain username you are safe,
but with this windows case, you are dealing with
\r - which is a special character. its getting
borked elsewhere. to verify this use another
username that cannot be a
Hi Alan,
Did you want me to compare with git tree for 2.1 or with my current version
2.0.5? thx
I think it's a bug in the code. Please try the current git tree. See
git.freeradius.org for instructions on grabbing a tar file if you
don't have git.
Alan DeKok.
-
List
Charlie B wrote:
Did you want me to compare with git tree for 2.1 or with my current
version 2.0.5? thx
Please download the git master branch. The fixes are in that, and
not in 2.0.5.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi,
Nobody :( have any tidbits to help me isolate this, obviously its not the
perl script but what is altering the username.
hmmm, you play with user-name and yet you return
MODULE_OK.surely you've played with
attributes so *SHOULD* be sending MODULE_UPDATED
alan
-
List
Nobody :( have any tidbits to help me isolate this, obviously its not the
perl script but what is altering the username.
Thanks
-- Forwarded message --
From: Charlie B [EMAIL PROTECTED]
Date: Thu, Sep 18, 2008 at 10:52 AM
Subject: rlm-perl lc usernames
To: freeradius-users
me isolate this, obviously its not the
perl script but what is altering the username.
Thanks
-- Forwarded message --
From: Charlie B [EMAIL PROTECTED]
Date: Thu, Sep 18, 2008 at 10:52 AM
Subject: rlm-perl lc usernames
To: freeradius-users@lists.freeradius.org
Hello,
Anyone can
Hello,
Anyone can help me with this perl script (at bottom) which seem to be
causing more than a simple lc, it seems to move the first character to the
end...
rlm_perl: Added pair User-Name = *\\raduser
rlm_perl: Added pair EAP-Message = 0x02020011014e494e545c52616455736572
rlm_perl: Added
25 matches
Mail list logo