Freeradius, rlm_perl and tagged attributes from rlm_sql

2011-04-19 Thread Igor V. Malinovskiy
-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

Re: authorize an user using a multivalue ldap attribute

2010-10-26 Thread Ana Gallardo
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

Re:Re Can't get the value of 'Digest-User-name', 'Digest-Realm', 'Digest-Method', 'Digest-Uri', 'Digest-Nonce', 'Digest-Response'

2008-05-03 Thread johnson elangbam
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

Need to change response type to Access-Challenge from rlm_perl

2013-02-18 Thread Walter Goulet
} 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

RLM_perl and Cisco-AVPair

2006-01-24 Thread Alan Lumb
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

Re: %RAD_REPLY hash problem

2010-11-08 Thread Ana Gallardo
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

Strange Problem with chap.

2008-11-11 Thread Oguzhan Kayhan
. 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

Re:Re Can't get the value of 'Digest-User-name', 'Digest-Realm', 'Digest-Method', 'Digest-Uri', 'Digest-Nonce', 'Digest-Response'

2008-05-05 Thread johnson elangbam
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

Re: Can't get the value of 'Digest-User-name', 'Digest-Realm', 'Digest-Method', 'Digest-Uri', 'Digest-Nonce'.

2008-05-12 Thread johnson elangbam
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

Re: Question regarding rlm_perl and Access-Challenge

2008-08-19 Thread Harry J Walsh
; 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

Re: EAP-SIM on 2.2.0

2012-09-11 Thread Francois Gaudreault
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

debug only for rlm_xxx (rlm_perl)

2010-03-11 Thread bitte
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

Re: debug only for rlm_xxx (rlm_perl)

2010-03-11 Thread Alan DeKok
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

Re: rlm_perl DEBUG log with garbage output

2007-01-25 Thread Bjørn Mork
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

Trucation of octet attribute handled by rlm_perl

2013-02-27 Thread Бен Томпсон
:- ### 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

Re: rlm_perl multiple attributes in rad_reply was: Adding Multiple Cisco-AVPairs using rlm_perl

2010-08-28 Thread Alexander Kubatkin
, 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

Re: rlm_perl and accounting

2006-08-29 Thread Pshem Kowalczyk
: $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

rlm_perl behaviour

2006-09-29 Thread Garber, Neal
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

rlm_perl authorize

2004-02-16 Thread loz
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

DHCP routing bug (FreeRadius DHCP reply to Default Gateway)

2009-09-27 Thread Pavel Malev
{} 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

Re: rlm_perl

2005-09-28 Thread Dusty Doris
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

Re: working rlm_perl example

2005-10-02 Thread Thor Spruyt
[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

Re: rlm_perl

2011-09-29 Thread Alexander Clouter
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

Re: Need to change response type to Access-Challenge from rlm_perl

2013-02-18 Thread Walter Goulet
; } 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

Re: final rlm_perl question, hopefully...

2007-07-26 Thread FreeRadius-ML
: 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

rlm_perl problem (Detaching!!)

2007-02-08 Thread Rohaizam Abu Bakar
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

rewrite attribute with perl module

2009-03-05 Thread Asaad
; . 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

Fwd: final rlm_perl question, hopefully...

2007-07-26 Thread FreeRadius-ML
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

Affect Static IP by Freeradius/ASA5510

2009-02-04 Thread Phibee Network Operation Center
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

Re: Problem with rlm_perl

2009-04-07 Thread Волошин Вячеслав
. --- 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

Re: Problem with rlm_perl

2009-04-07 Thread Anatoly S. Zimin
. --- 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

RE: Radius Access-Challenge and Apache

2011-09-04 Thread Daniel Abels
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

Re: rlm_perl with WinXP MS-CHAP clients ?

2006-09-20 Thread Michael Gale
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

Re: rlm_perl

2011-09-29 Thread Arran Cudbard-Bell
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

%RAD_REPLY hash problem

2010-10-26 Thread Ana Gallardo
; } 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

rlm_perl DEBUG log with garbage output

2007-01-24 Thread Rohaizam Abu Bakar
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

Re: confused by logging targets for rlm_perl

2012-02-22 Thread Alan DeKok
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

Re: Packet-Original-Timestamp

2013-03-01 Thread Alan DeKok
Бен Томпсон 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

MAC-Auth issues with rlm_perl

2012-03-25 Thread Glen Harris
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

Re: rlm_perl DEBUG log with garbage output

2007-01-25 Thread Rohaizam Abu Bakar
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

FreeRADIUS Issue -

2012-10-15 Thread Nandkumar Palkar
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

RE: static IP's with rlm_perl

2006-10-19 Thread Michael Gale
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

Cannot control attribute ordering via rlm_perl

2011-10-06 Thread Claude Brown
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

Re: Affect IP with script perl into freeradius

2009-01-27 Thread Phibee Network Operation Center
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

rlm_perl with WinXP MS-CHAP clients ?

2006-09-20 Thread Michael Gale
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

RE: rlm_perl

2005-09-28 Thread Abdul Lateef
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

Re: Rejected proxy requests not making it to the client

2013-07-02 Thread Ti Leggett
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

Problem with PAP autentification on freeradius-3.0.0

2013-05-16 Thread BALSIANOK, Peter
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

Re: Separate rlm_perl in each virtual server

2011-01-29 Thread Alan DeKok
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

rlm_perl radiusd::radlog $type codes

2011-11-24 Thread Edgar Fuß
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

Re: rlm_perl DEBUG log with garbage output

2007-01-26 Thread Alan DeKok
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

Re: freeradius not working in normal mode but working in debug mode

2013-02-11 Thread Nandkumar Palkar
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

Re: rlm_perl authorize

2004-02-17 Thread Jeff Warnica
/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

Re: Need help: login incorrect with FR 2.2.1

2013-05-16 Thread Fajar A. Nugraha
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

rlm_perl and proxy

2006-08-22 Thread Pshem Kowalczyk
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

Re: Separate rlm_perl in each virtual server

2011-01-30 Thread Alexander Shikoff
{...} +- 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

Re:Re Can't get the value of 'Digest-User-name', 'Digest-Realm', 'Digest-Method', 'Digest-Uri', 'Digest-Nonce', 'Digest-Response'

2008-05-06 Thread johnson elangbam
/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

Re:Re Can't get the value of 'Digest-User-name', 'Digest-Realm', 'Digest-Method', 'Digest-Uri', 'Digest-Nonce', 'Digest-Response'

2008-05-06 Thread Ivan Kalik
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

Re: Freeradius 3.0 hints, rlm_perl

2013-07-21 Thread Thomas Glanzmann
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

Re: debug only for rlm_xxx (rlm_perl)

2010-03-11 Thread bitte
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

confused by logging targets for rlm_perl

2012-02-21 Thread Olivier Bilodeau
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

Re: Packet-Original-Timestamp

2013-03-01 Thread Бен Томпсон
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

Re: static IP's with rlm_perl

2006-10-20 Thread Michael Gale
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

RE: rlm_perl

2005-09-29 Thread Abdul Lateef
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

Re: debug only for rlm_xxx (rlm_perl)

2010-03-18 Thread bitte
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

Re: missing rlm_perl.so in the built from src file

2011-09-30 Thread Arran Cudbard-Bell
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

Re: Fwd: rlm-perl lc usernames

2008-09-22 Thread tnt
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

Re: Tagged attributes problem and rlm_perl in FreeRADIUS 2.1.4

2009-04-16 Thread Alan DeKok
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

Re: Centos 5.3 problem

2009-04-23 Thread tnt
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

Re: rlm_perl authorize

2004-02-17 Thread Alan DeKok
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

Re: Multi-valued LDAP attribute

2012-05-02 Thread Adam Track
] 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

How to debug rlm_perl in multithread?

2010-08-23 Thread Eugen Konkov
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

Re: How to debug rlm_perl in multithread?

2010-08-24 Thread Alan DeKok
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

Re: Migrating to threaded rlm_perl

2011-06-24 Thread Energ
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

Re: Migrating to threaded rlm_perl

2011-06-24 Thread Alan DeKok
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

Re: post-auth problem

2004-07-22 Thread Alan DeKok
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

Re: Blank User-name attribute

2005-11-07 Thread Gustave Nylander
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

Re: rlm_perl and accounting

2006-09-25 Thread Alan DeKok
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

Re: Retrieve 'Aruba-Location-Id' from RAD_REQUEST

2013-04-26 Thread A . L . M . Buxey
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

rlm_eap: Identity does not match User-Name...

2007-12-12 Thread Michael Patzer
, 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

Freeradius AS DHCP + rlm_perl

2010-07-30 Thread 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 ---.RLM_MODULE_OK.) if $DEBUG; return

Re: Freeradius AS DHCP + rlm_perl

2010-07-30 Thread Urazaev Vadim
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

RE: rlm_perl

2011-09-29 Thread Alex rsm
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

Re: debug only for rlm_xxx (rlm_perl)

2010-03-11 Thread Doug Hardie
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

Possible bug in rlm_perl

2009-04-20 Thread Josh Hiner
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

Re: Possible bug in rlm_perl

2009-04-20 Thread Josh Hiner
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

RE: Rlm_perl causes segfault (want perl to rewrite attributes)

2005-02-12 Thread Dudley Atkinson
) 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

rlm_perl and empty user name variable

2005-10-26 Thread Gustave Nylander
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

Re: Freeradius AS DHCP + rlm_perl

2010-07-30 Thread John Dennis
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

MSCHAP Auth fails

2012-04-04 Thread Weber, Felix
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

Re: Freeradius not unescaping \ and

2010-09-03 Thread Murray Long
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

Re: rlm_perl

2011-09-30 Thread Bjørn Mork
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

AW: trigger an Access Challenge

2009-02-24 Thread Ronny Voigt
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

rlm_perl - authorize - authenticate issue

2008-04-18 Thread Apostolos Pantsiopoulos
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

FW: authentication sub in perl

2011-10-03 Thread Alex rsm
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

Re: rlm_perl - dbi - freetds works on radiusd -X but fails to sql connect in background

2009-01-07 Thread nes pa
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

Re: rlm_perl

2005-09-29 Thread Bjørn Mork
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

Re: Problem with rlm_perl.

2006-03-06 Thread Yevgeny
. 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

Re: static IP's with rlm_perl

2006-10-20 Thread Kevin Bonner
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

Re: Retrieve 'Aruba-Location-Id' from RAD_REQUEST

2013-04-26 Thread A . L . M . Buxey
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   2   3   >