-Name:2| += | INET |
| 5 | testuser@new | Service-Options:2 | += | 1|
++--+---++--+
5 rows in set (0.00 sec)
Debug: rlm_perl: Added pair NAS-Port-Type = Virtual
Debug: rlm_perl: Added pair CHAP-Password
with my perl
module.
My problem is with the hashes that rlm_perl provide to my script ¡rlm_perl
add in the reply hash an attribute Relaciones with the value of the
attribute Nombre-Completo, and also add Nombre-Completo!
Debug:
[ldap1] performing user authorization for ana
[ldap1] expand
should change in radius server
configuration to get these digest attributes.
for the information I've mentioning the debug when run in radiusd -X
rad_recv: Access-Request packet from host 192.168.1.227 port 33526, id=92,
length=252
User-Name = [EMAIL PROTECTED]
X-Ascend-Netware
}
else {
$RAD_REPLY{'Reply-Message'} = authentication failure;
return RLM_MODULE_REJECT;
}
Here is the relevant debug output:
Found Auth-Type = perl
# Executing group from file
/opt/app/freeradius/etc/raddb/sites-enabled/default
+- entering group
Hi everyone.
Im trying to get RLM_perl to respond with two Cisco-AVPair lines (what
would usually be done with += in users)
Unfortunately only the first seems to get sent back to the nas - debug
output follows
rlm_perl: Added pair Cisco-AVPair = ip:dns-servers=10.10.10.10 10.10.10.12
rlm_perl
Hello,
I've tested adding my vendor specific attributes to check list, and the
problem persist.
Here is the debug info:
rad_recv: Access-Request packet from host x.x.x.x port 32880, id=4,
length=75
User-Name = a...@unex.es
User-Password = 111
Calling-Station-Id = ...
...
[ldap1
.
On freeradius i am using rlm_perl authentication for my users.
When i use cgi page or radtest tool and send clean password, everything
works flawless...
But if i decide to use chap somthing strange happens..
If i type correct user/pass freeradus denies it.. But it i type the
password wrong, freeradius
me the possible problems of not getting these values:
'Digest-User-name', 'Digest-Realm', 'Digest-Method', 'Digest-Uri',
'Digest-Nonce', 'Digest-Response'
here is the full output when I run in debug mode
rad_recv: Access-Request packet from host 192.168.1.227 port 33093, id=86,
length=271
RAD_REQUEST or RAD_CHECK, so that I can calculate my ha1,
ha2 for md5 encryption.
Please help.
Output log file when run in debug mode by using radiusd -X
rad_recv: Access-Request packet from host 192.168.1.227 port 32817, id=222,
length=262
User-Name = [EMAIL PROTECTED]
Digest-Attributes
;
return RLM_MODULE_HANDLED;
}
else {
# Reject user and tell him why
$RAD_REPLY{'Reply-Message'} = Denied access by
rlm_perl function;
return RLM_MODULE_REJECT;
}
}
And here's the debug output:
perl_pool: item 0x827b1a0 asigned new
for my SIM, but after the third triplet, I just
have:
Don't trim the debug. Critical info is higher up - like the actual
radius packet!
I always trim it the first time, I don't want to spam the planet in case
the issue is simple :) Here is the entire debug (with my IMSI trimmed):
rad_recv: Access
Hello list,
is there an option in radiusd.conf how to enable debug logging only for
several rlm_modules,
e.g. I have rlm_perl and I only want debug messages for this.
Thanks for your reply in advance.
T.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
bi...@antworte.me wrote:
is there an option in radiusd.conf how to enable debug logging only for
several rlm_modules,
e.g. I have rlm_perl and I only want debug messages for this.
Not at this time.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list
Rohaizam Abu Bakar [EMAIL PROTECTED] writes:
Hi,..
running xlat within rlm_perl.. giving correct result.. but what concern me
is that.. in debug log.. there are garbage output as below:-
radius_xlat: '.*'
radius_xlat: Running registered xlat function of module y5perl for string
:-
### freeradius -Xx snippets
...
Thu Feb 28 10:35:23 2013 : rlm_perl: packed data: 10ac100a02
Thu Feb 28 10:35:23 2013 : Debug: rlm_perl: Added pair
DHCP-Classless-Static-Route = ???
...
DHCP-Classless-Static-Route = 0x10ac100a
##
Am I
,
nameserver_x];
so I don't think that's the problem.
But we are all guessing, since we haven't yet seen the actual debug
output from FreeRADIUS, only selected bits and pieces of the non-working
end result.
Since we *know* that FreeRADIUS and rlm_perl
: $RAD_PROXY_REQUEST{'User-Name'} = 'testuser';
I added:
use vars qw(%RAD_REQUEST %RAD_REPLY %RAD_CHECK %RAD_PROXY_REQUEST);
and it didn't work, change resulted in the following debug:
rad_recv: Access-Request packet from host 127.0.0.1 port 32787, id=15, length=62
User-Password = test
User
When I call a perl module via rlm_perl and dont undef
%RAD_CHECK and %RAD_REPLY before exiting, rlm_perl duplicates some attributes
contained within the hashes. For instance:
At entry to rlm_perl instance:
$RAD_CHECK{Ldap-Group} is an ARRAY: (GroupA,
GroupB)
After exiting the script
Hi All,
I'm trying to authorize a user by using the rlm_perl module only. I.e., I
only want the perl script to control the authorization.
In radiusd.conf I have set:
proxy_requests = no
and in the authorize part the files statement is commented (otherwise
freeradius will look at the file
{} section, I get error:
/usr/local/etc/raddb/radiusd.conf[56]: System does not support binding
to interfaces. Delete this line from the configuration file.
FreeRadiusd debug messages:
Received DHCP-Discover of id 2083766121 from 0.0.0.0:68 to 0.0.0.0:67
DHCP-Opcode = Client-Message
DHCP
Could someone show me how to process an access-accept via rlm_perl? The
example in the script example.pl still causes an access-reject nomater
what I try.
That isn't enough information, except to tell you to return a proper
value such as RLM_MODULE_OK. Please post debug output
[EMAIL PROTECTED] wrote:
I have tried the example.pl and it still gives me a access-reject
message.
Please provide your rlm_perl configuration and debug output of radiusd -X
--
Groeten, Regards, Salutations,
Thor Spruyt
M: +32 (0)475 67 22 65
E: [EMAIL PROTECTED]
W: www.thor-spruyt.com
Alex rsm alex-...@hotmail.com wrote:
And added the following in src/modules/rlm_perl/example.pl
sub authorize {
print This is a TEST\n;
.
}
However, When I send a simple test request I don't see my debug line.
I also don't see the message perl loaded when start Freeradius
;
}
Here is the relevant debug output:
Found Auth-Type = perl
# Executing group from file
/opt/app/freeradius/etc/raddb/sites-enabled/default
+- entering group perl {...}
rlm_perl: RAD_REQUEST: User-Name = test
rlm_perl: RAD_REQUEST: User-Password = 42594190
rlm_perl: RAD_REQUEST
: final rlm_perl question, hopefully...
Hi All,
Ok, after reviewing all the information that was received, I've setup my
FreeRadius
as following:
1. The authorize and authenticate sections are setup to activate digest and
perl.
2. My rlm_perl script utilizes the following lines in order to return
Hi..
FR:1.1.2
FBSD:6.0
My rlm_perl keep logging error as example below. Everytime this happen
radiusd will hang and DO NOT respond to any request.
But this NEVER happen while running in debug mode and working fine.
rlm_perl is used to load timeout based on certain rules.. u can
;
.
print attr
.
return RLM_MODULE_UPDATED
but that not affect the return vlaue :
Thu Mar 5 23:22:30 2009 : Debug: rlm_perl: RAD_REPLY: Cisco-AVPair =
throttle=55
Thu Mar 5 23:22:30 2009 : Debug: rlm_perl: RAD_REPLY: Session-Timeout = 36
Thu Mar 5 23:22:30 2009 : Debug: rlm_perl
Hi All,
Ok, after reviewing all the information that was received, I've setup my
FreeRadius
as following:
1. The authorize and authenticate sections are setup to activate digest and
perl.
2. My rlm_perl script utilizes the following lines in order to return the
unencrypted
user password
Hi
Sorry to restart the same subject, but actually i am search .. i am
search
but i don't see any solution ...
I use:
FreeRadius with a Perl Script
A Cisco ASA5510 IOS 8.0
In debug i have:
When a user don't have IP, use Pool
.
---
Ok, I and have made.
But the matter is that my radius will be authenticate and acccounting some
services with different NAS.
And very much it would be not bad to carry them.
And if to start radius without a debug mode it what that time will work
normally, the truth only any
.
---
Ok, I and have made.
But the matter is that my radius will be authenticate and acccounting some
services with different NAS.
And very much it would be not bad to carry them.
And if to start radius without a debug mode it what that time will work
normally
Hi Alan,
Thank you for your response. I've been having a lot of trouble reaching
the mailing list, my responses are not getting through. Hopefully this
one will!
Below is the output from the debug mode:
rad_recv: Access-Request packet from host 127.0.0.1 port 1026, id=60,
length=83
Hello,
It seems that it is not using rlm_perl for authentication. I would
assume that this is because according the document I was following, it
had me add:
Auth-Type Perl {
perl
}
To the authentication section, which means if the Auth-Type is set to
perl then using
However, When I send a simple test request I don't see my debug line. I also
don't see the message perl loaded when start Freeradius in debug mode
(radiusd -X).
Am I missing anything?
Could you post the debug. Might be you don't have rlm_perl built, though the
server usually complains
;
}
Everything works fine.
My problem is that rlm_perl duplicate an attribute in %RAD_REPLY hash.
Debug:
rad_recv: Access-Request packet from host x.x.x.x port 56822, id=100,
length=75
User-Name = a...@unex.es
User-Password =
Calling-Station-Id = ...
server rinuex {
...
[ldap1] looking
Hi,..
running xlat within rlm_perl.. giving correct result.. but what concern me is
that.. in debug log.. there are garbage output as below:-
radius_xlat: '.*'
radius_xlat: Running registered xlat function of module y5perl for string
'%{User-Name}:%{NAS-Identifier}'
radius_xlat
Olivier Bilodeau wrote:
http://wiki.freeradius.org/Rlm_perl#Logging refers to:
0 - Debug
1 - Auth
Those are wrong. See src/include/radiusd.h, L_DBG, etc.
I've fixed the Wiki.
I expected Debug not to go out in radius.log and Auth to do since I
specified Auth to yes in radiusd.conf
Бен Томпсон wrote:
I tried checking out the git master code, but it just hangs when
calling rlm_perl. This is the last line I see when running in debug
mode :-
Fri Mar 1 12:46:49 2013 : Debug: (0) modsingle[authorize]: calling
perl (rlm_perl) for request 0
I need rlm_perl as part
wrong with the way this config
is working, because rlm_perl is calling the AUTHORIZE function but not
AUTHENTICATE. I've pasted the debug of an authentication attempt below.
It appears to be taking the CLIENT mschap authentication and somehow
applying those attributes to mangle USER
It's work!!.. thanks..
--haizam
- Original Message -
From: Bjørn Mork [EMAIL PROTECTED]
To: FreeRadius users mailing list freeradius-users@lists.freeradius.org
Sent: Thursday, January 25, 2007 6:05 PM
Subject: Re: rlm_perl DEBUG log with garbage output
Rohaizam Abu Bakar [EMAIL
Hi Alan,
I'm facing the issue with configuration EAP-TTLS, LDAP and Perl and using
test client as eapol_test.
Please find the debug logs below:
rad_recv: Access-Request packet from host 127.0.0.1 port 45673, id=0,
length=206
User-Name =
NAS-IP-Address = 127.0.0.1
Calling
Hello,
Here is the debug info:
From the information it looks like I have added the information correctly
however it is not sent to the client:
--snip--
rlm_perl: Added pair Framed-Protocol = PPP
rlm_perl: Added pair Framed-Netmask = 255.255.255.255
rlm_perl: Added pair Service-Type = Framed
Hi,
First, the version I'm using:
# freeradius -v
freeradius: FreeRADIUS Version 2.1.8, for host x86_64-pc-linux-gnu, [...]
I'm trying to control the attribute-ordering when using rlm_perl. Thus far my
experience is that this is not possible. My theory is that this is due to the
hash-tables
t...@kalik.net a écrit :
thanks for your return. I have added:
$RAD_REPLY{'Framed-IP-Address'} = 10.218.6.1;
return RLM_MODULE_OK;
but no change, he use the pool included into the cisco ASA (10.218.4.5)
a error of me ?
Do a debug (radiusd
Hello,
I have a freeradius 1.0.X server setup with ppp and pptp using a mysql
DB for user authentication.
Here I assign static IP's and users to groups. We wish to use rlm_perl
instead of the sql module so we can authenticate the users against a in
house application.
I have build
Hi,
Thanks for your reply. i am going here to post the
debug logs. from the log it seems rlm_per is loaded
successfully but when i am trying to call authorize
and authenticate function from example.pl, the
functions are not calling well.
Here is full configuration what i did to work with
perl
I'm not sure how the script could be blocking the server after it's already ran
and returned the updated packet so the proxying can take place which does
happen:
• rlm_perl: Changing User-Name: legg...@yubiauth.mcs.example.com
• rlm_perl: Added pair NAS-Port-Type = Virtual
Hi,
I have problem with PAP autentification on freeradius-3.0.0, but on
freeradius-2.2.1 everythink works correct. Could you please help me, thx.
Debug output for freeradius-3.0.0:
radiusd@tdrad1test:/storage/app/radius/raddb/auth-new$
/storage/app/radius/freeradius-3.0.0/sbin/radiusd -X -d
Alexander Shikoff wrote:
Now radiusd receives a DHCP packet and:
Received DHCP-Discover of id fcb1c6c0 from 193.200.84.232:67 to
193.200.85.245:67
[...]
server dhcp {
Trying sub-section dhcp DHCP-Discover {...}
+- entering group DHCP-Discover {...}
rlm_perl: -authorization.pl
The rlm_perl Documentation (in the Wiki) lists the $type values for
radiusd::radlog($type, $message) as
0 - Debug
1 - Auth
2 - Proxy
3 - Info
4 - Error
while include/radiusd.h says
#define L_DBG 1
#define L_AUTH
Bjørn Mork wrote:
Try this patch:
Looking at the code, it appears the strncpy is even more wrong than
just adding +1. I've committed a different fix which should avoid
other errors (like potential buffer overflows with data taken from
rlm_perl).
It's only exploitable by people who can
Hello,
Please see the debug log: (log output from command freeradius -fxx -l
stdout) and with freeradius -X it works fine.
My issue is that debug mode freeradius -X the authentication works great but
once I try with normal mode it doesn't. I have checked all the permissions all
are correct
/eap modules work, so you might as well let them take care of
setting an Auth-Type for things they handle, and you only worry about
everything else.
On Tue, 2004-02-17 at 03:41, loz wrote:
Hi All,
I'm trying to authorize a user by using the rlm_perl module only. I.e., I
only want the perl
winbind
to pass MSCHAPv2 response from FR to AD.
rlm_perl: Added pair NT-Password =
0x33343133344331374133364243314244413638324232323239443431
[pap] Normalizing NT-Password from hex encoding
Just curious. Does ALL the failed user have NT-Password attribute
added by rlm_perl?
IIRC
Hi,
I'm trying to implement proxy using rlm_perl, I've applied the patch
that should allow me to modify the attributes, but it doesn't seem to
work. (freeradius 1.1.2)
Perl code:
# Function to handle pre_proxy
sub pre_proxy {
radiusd::radlog(1, entering pre-proxy);
my %hash
{...}
+- entering group DHCP-Discover {...}
rlm_perl: -authorization.pl- : post_auth
^^^
Post *all* of the debug output. You've deleted the pieces which can
help solve the problem.
--
MINO-RIPE
FreeRADIUS Version 2.1.10, for host amd64-portbld-freebsd8.0, built
/default file,
unfortunately I still didn't get the values of these attributes in my perl
code to authenticate. I am confusing what should I emphasized, please help.
*I am submitting the complete radius log when it run in debug mode before
authenticate a user here*
FreeRADIUS Version 2.0.3, for host
in the sites-enabled/default file,
unfortunately I still didn't get the values of these attributes in my perl
code to authenticate. I am confusing what should I emphasized, please help.
*I am submitting the complete radius log when it run in debug mode before
authenticate a user here*
FreeRADIUS
Hello Arran,
DEFAULT User-Name =~ ^v104([^@]+)
User-Name := %{1}@V104.GMVL.DE
Can you got some debug output or even just the value of the User-Name?
It may just be the escaping is less crazy than it used to be.
username is: v104\Administrator but radius puts it internally as
v104
in radiusd.conf how to enable debug logging only for
several rlm_modules,
e.g. I have rlm_perl and I only want debug messages for this.
Not at this time.
Alan DeKok.
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See
Hi there!
It's been a while.. François turned out to be our official
freeradius-users correspondent lately ;)
So, I'm changing some things in our rlm_perl module and tried to make a
better use of the logging facilities provided by the freeradius core.
http://wiki.freeradius.org/Rlm_perl#Logging
2013/3/1 Alan DeKok al...@deployingradius.com:
Бен Томпсон wrote:
I tried checking out the git master code, but it just hangs when
calling rlm_perl. This is the last line I see when running in debug
mode :-
Fri Mar 1 12:46:49 2013 : Debug: (0) modsingle[authorize]: calling
perl (rlm_perl
Hello,
No, that did not work, with the setting below the debug shows:
--snip--
.
rlm_perl: Added pair Framed-IP-Address = ��M
...
Sending Access-Accept of id 73 to 127.0.0.1 port 32813
Framed-IP-Address = 255.255.255.254
--snip--
Before when I was setting
hi friends,
I am really sorry to post it again. Because still i
did not find any reply to solve my problems.
--- Abdul Lateef [EMAIL PROTECTED] wrote:
Hi,
Thanks for your reply. i am going here to post the
debug logs. from the log it seems rlm_per is loaded
successfully but when i am
sb;
The other errors indicate a problem with the normal build includes. How
did you try and rebuild it? I suspect there is a way to just rebuild
rlm_perl, but I haven't tried to do that on version 2. I suspect you
may
need to rebuild the entire freeradius.
-
List info/subscribe
I built a fresh freeradius on a ubuntu server from source files. When I add
perl module and start the freeradiusin the debug mode, it is asking for
rlm_perl.so that can not find it.
It seems the make file does not create the shared lib file for perl module.
Is there any change should
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
Tunnel
Alexandr Kovalenko wrote:
Then I have few questions:
1. How could this be that it worked in 1.1.7 (but only 1st auth
attempt, all further didn't, until restart)?
shrug Look at the code. I don't want to debug it.
2. Is there any work-in-progress project on adding support for tagged
I was running freeradius 2.0.5 on my Centos 5.2 server
using rlm_perl. When I upgraded to 5.3 I get :
rlm_perl: perl_parse failed: /billing/bin/billing.pl not found or has
syntax errors.
I googled it and found that this may be caused by libperl.so not being
linked properly or Data::Dumper
loz [EMAIL PROTECTED] wrote:
I'm trying to authorize a user by using the rlm_perl module only. I.e., I
only want the perl script to control the authorization.
That's nice. How will the user be authenticated?
and in the authorize part the files statement is commented (otherwise
freeradius
] ldap_release_conn: Release Id: 0
++[ldap] returns ok
...
I did notice the following in the post-auth debug:
...
rlm_perl: Added pair User-Name = atrack
rlm_perl: Added pair MS-MPPE-Recv-Key = 0xc8bf3146d6b3966f0838e304da9bf9d2
rlm_perl: Added pair Person-Type = employee
rlm_perl: Added pair EAP-Message
HI, FreeRadius.
when run radiusd -X it works fine.
But when run in multithread (without -X) it core dump after ten or
twelve queriest to radiusd.
please help any.
--
Eugen Konkov mailto:kes-...@yandex.ru
-
List info/subscribe/unsubscribe? See
Eugen Konkov wrote:
HI, FreeRadius.
when run radiusd -X it works fine.
But when run in multithread (without -X) it core dump after ten or
twelve queriest to radiusd.
please help any.
Read doc/bugs
Alan DeKok.
-
List info/subscribe/unsubscribe? See
Rolling back to Freeradius 2.1.10 solved problem with memory leaks. I did not
debug it, but it seems like accountig problem in 2.1.11.
--
View this message in context:
http://freeradius.1045715.n5.nabble.com/Migrating-to-threaded-rlm-perl-tp4506040p4521029.html
Sent from the FreeRadius - User
Energ wrote:
Rolling back to Freeradius 2.1.10 solved problem with memory leaks. I did not
debug it, but it seems like accountig problem in 2.1.11.
rlm_detail seems to have an issue. Patch is in github, v2.1.x branch.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http
Andrea Gabellini [EMAIL PROTECTED] wrote:
But If I reject the request via the rlm_perl module (returning
RLM_MODULE_REJECT) I can't see anything.
In debug mode the server doesn't execute the post-auth module in such
situation.
Try using the Post-Auth-Type Reject block in 1.0.0.
Alan
new request. Handled so far: 1
found interpetator at address 0x9413670
### Request attributes debug ##
rlm_perl: Added pair Service-Type = Framed-User
rlm_perl: Added pair Framed-Routing = Broadcast-Listen
rlm_perl: Added pair Framed-Protocol = PPP
...
You can see that we never
Justin Church [EMAIL PROTECTED] wrote:
Anything in this debug indicate why the server doesn't send
Accounting-Response?
The server didn't log the accounting information anywhere, therefore
it's not safe to tell the NAS that the accoutning information was
stored on the server.
Alan DeKok
Hi,
Thanks for the suggestion. I added log_request_attributes; in authorize
function and it already has sub log_request_attributes in the perl script.
When run FR in debug mode, the Aruba-Location-ID does present but when I
call $ RAD_REQUEST{'Aruba-Location-Id'} from rlm_perl, it came
, as long as i'm not supply any domain-name. if i
supply
a domain-name it immediately fails with
rlm_eap: Identity does not match User-Name, setting from EAP Identity.
could anybody help me with that?
and yes, there is no entry in users for EAP.
thx
michael
**
* DEBUG LOG
Hi everybody.
FreeRadius ver. 2.1.10 from git
My problem is string :
===
++[perl] returns reject
from radiusd -X debug
The last strings in perl script that executed :
radiusd::radlog(L_ERR, --- RLM_MODULE_OK ---.RLM_MODULE_OK.)
if $DEBUG;
return
30.07.2010 19:03, Urazaev Vadim пишет:
Hi everybody.
FreeRadius ver. 2.1.10 from git
My problem is string :
===
++[perl] returns reject
from radiusd -X debug
The last strings in perl script that executed :
radiusd::radlog(L_ERR, --- RLM_MODULE_OK
the following in src/modules/rlm_perl/example.pl
sub authorize {
print This is a TEST\n;
.
}
However, When I send a simple test request I don't see my debug line. I also
don't see the message perl loaded when start Freeradius in debug mode
(radiusd -X).
Am I missing anything?
I appreciate
On 11 March 2010, at 03:43, bi...@antworte.me bi...@antworte.me wrote:
Hello list,
is there an option in radiusd.conf how to enable debug logging only for
several rlm_modules,
e.g. I have rlm_perl and I only want debug messages for this.
Thanks for your reply in advance.
It can
I think I may have found a bug in rlm_perl? I have written script with
the aid of another freeradius list member that checks to see if a user
is in a certain samba windows group. If they are not in the group (the
wireless group) the module rejects the login. The module works perfectly
except
Josh Hiner wrote:
I think I may have found a bug in rlm_perl? I have written script with
the aid of another freeradius list member that checks to see if a user
is in a certain samba windows group. If they are not in the group (the
wireless group) the module rejects the login. The module works
)
On Sat, Feb 12, 2005 at 01:02:34AM -0600, Dudley Atkinson wrote:
I'd like to implement the rlm_perl to rewrite some
attributes, and I
get a segfault. I've included the debug and the perl -VV so maybe
someone more knowledgeable can tell me why it fails (or
give me a good
pointer
I have freeradius 1.05 configured with rlm_perl to handle
authentication, and the problem seems to be that the
$RAD_REQUEST{'User-Name'} variable is an empty string within the perl
script I have set up. The perl script is based on the example.pl script
provided with freeradius.
My users file
On 07/30/2010 12:57 PM, Urazaev Vadim wrote:
[16 pages of debug output snipped for brevity]
Sorry Guys for disturb you, problem was in eval{} block in my perl
script inside which command return always return reject code.
Anyway Thanks for all.
And for that I had to page through 16 pages
Hello out there,
I'm testing the FreeRADIUS Version 2.1.12 Modul with AD Integration
following the deployingradius.com Guide.
Installed winbind and samba Version 3.6.3 and ntlm_auth tests are fine.
Now i'm testing with radtest while running radius in Debug mod.
The following line has been added
Ok, debug logs and config files are attached.
It looks like the problem could be with rlm_perl. as the proxying
happens correctly if we disable the perl module completely.
However, even with no logic happening in the perl script, additional
\'s are added to the attributes.
Please see
Alexander Clouter a...@digriz.org.uk writes:
Alex rsm alex-...@hotmail.com wrote:
And added the following in src/modules/rlm_perl/example.pl
sub authorize {
print This is a TEST\n;
.
}
However, When I send a simple test request I don't see my debug line.
I also don't see
Sorry for sending this message twice, but I forgot the debug output.
---
Thanks for reply. But the client that I use, only supports PAP and CHAP
requests and neither of them initiates the server to send an Access Challenge.
That is why I tried to create the challenge with the help of the perl
Hi,
I am using freeradius (rlm_perl) for a VoIP system for a long time now
and today I tried to use it for routing purposes as well.
In my authorize function of my perl script I am assigning the routing info
to $RAD_REPLY :
...
my @final_routing
Ok,
openSLL is installed on my server. No more issue on EAP. However, my debug line
in sub authenticate still is not being called:
#example.pl
# Function to handle authorize
sub authorize {
print TEST-authorize: username=$RAD_REQUEST{'User-Name'}\n;
# For debugging
selinux was the culprit,
thank you very much!
On Wed, Jan 7, 2009 at 2:22 PM, nes pa nesp...@gmail.com wrote:
I've changed the example.pl perl script so it 'use DBI;' to query a Sybase
server via freetds.
Any hints welcome for solution or better tools to debug/strace into the
perl script
Abdul Lateef [EMAIL PROTECTED] writes:
I am really sorry to post it again.
I'm curious... what good do you think that possibly could do?
Because still i did not find any reply to solve my problems.
I noticed you got this answer:
Run the server in Debug mode and see what happens.
Maybe
.
An answer to this question would interest me, too!
If this is not possible, then which is the simpliest aproach to
simulating a radius wrapper environment to debug a perl script?
If anyone here has something to say about this issue, please share.
--
Best regards.
Yevgeny
-
List info/subscribe
On Friday 20 October 2006 10:32, Michael Gale wrote:
Hello,
No, that did not work, with the setting below the debug shows:
--snip--
Framed-IP-Address = 255.255.255.254
Where is that attribute/value pair being added? If that is being set after
your perl functions
Hi,
Thanks for the suggestion. I added log_request_attributes; in authorize
function and it already has sub log_request_attributes in the perl script.
When run FR in debug mode, the Aruba-Location-ID does present but when I call
$ RAD_REQUEST{'Aruba-Location-Id'} from rlm_perl, it came up
1 - 100 of 260 matches
Mail list logo