Freeradius, rlm_perl and tagged attributes from rlm_sql

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

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, leng

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" Sent: Thursday, January 25, 2007 6:05 PM Subject: Re: rlm_perl DEBUG log with garbage output "Rohaizam Abu Bak

rewrite attribute with perl module

2009-03-05 Thread Asaad
x27;} = "5" ; . 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 20

Re: rlm_perl and accounting

2006-08-29 Thread Pshem Kowalczyk
request packet (i.e. the one from the NAS), not the packet that's about to be sent to the home server. Try: $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 resu

Re: rlm_perl

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

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 check

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: Run

Trucation of octet attribute handled by rlm_perl

2013-02-27 Thread Бен Томпсон
ribute data is truncated at the first octet with value 00 :- ### 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 = ??

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 ?

rlm_perl behaviour

2006-09-29 Thread Garber, Neal
When I call a perl module via rlm_perl and don’t 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

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

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: authorize an user using a multivalue ldap attribute

2010-10-26 Thread Ana Gallardo
#x27;t use Data::Dumper and I can run Freeradius 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 aut

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

Re: rlm_perl

2011-09-30 Thread Bjørn Mork
Alexander Clouter writes: > Alex rsm 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

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-Identifie

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

Need to change response type to Access-Challenge from rlm_perl

2013-02-18 Thread Walter Goulet
&radiusd::radlog(L_DBG, "RAD_CONFIG: $_ = $RAD_CONFIG{$_}"); } return RLM_MODULE_OK } else { $RAD_REPLY{'Reply-Message'} = "authentication failure"; return RLM_MODULE

Re: Blank User-name attribute

2005-11-07 Thread Gustave Nylander
for request 0 perl_pool: item 0x9413670 asigned 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

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

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&quo

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 >

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 =

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 rl

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: Question regarding rlm_perl and Access-Challenge

2008-08-19 Thread Harry J Walsh
_REPLY{'Response-Packet-Type'} = "Access-Challenge"; &log_request_attributes; return RLM_MODULE_HANDLED; } else { # Reject user and tell him why $RAD_REPLY{'Reply-Message'} = "Denied access by

%RAD_REPLY hash problem

2010-10-26 Thread Ana Gallardo
Y{'Codigo-Reject'}=11; #Sin-Relacion } return RLM_MODULE_REJECT; } 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

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

2013-02-18 Thread Walter Goulet
mp;radiusd::radlog(L_DBG, "RAD_CONFIG: $_ = > $RAD_CONFIG{$_}"); > } > return RLM_MODULE_OK > } > else { > $RAD_REPLY{'Reply-Message'} = "authentication failure"; >

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 l

Blank User-name attribute

2005-11-05 Thread Gustave Nylander
Hello all, I have freeradias 1.0.5 installed with the rlm_perl module, and the trouble I'm having is that the user-name attribute is an empty string within the 'authenticate' routine I have for the perl script. My goal is to have the perl script handle the authenticat

Re: Packet-Original-Timestamp

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

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

Re: debug only for rlm_xxx (rlm_perl)

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

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 pas

are there any characters not allowed in a password used with LDAP "bind as user"?

2010-10-21 Thread mark.leese
Wed Oct 20 15:39:10 2010 : Info: ++? if (control:Auth-Type == LDAP) Wed Oct 20 15:39:10 2010 : Info: ? Evaluating (control:Auth-Type == LDAP) -> TRUE Wed Oct 20 15:39:10 2010 : Info: ++? if (control:Auth-Type == LDAP) -> TRUE Wed Oct 20 15:39:10 2010 : Info: ++- entering if (con

Re: EAP-SIM on 2.2.0

2012-09-11 Thread Francois Gaudreault
c 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): r

incorrect auth-type

2010-07-27 Thread Sallee, Stephen (Jake)
returns ok Tue Jul 27 13:01:03 2010 : Info: ++- group ntlm_auth returns ok Tue Jul 27 13:01:03 2010 : Info: ++[expiration] returns noop Tue Jul 27 13:01:03 2010 : Info: ++[logintime] returns noop GOT CLONE -1208792368 0x9f8ff70 Tue Jul 27 13:01:03 2010 : Debug: rlm_perl: PacketFence SWITCH: 10.2.1

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
estion again. Please tell 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

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_pe

RE: rlm_perl

2011-09-29 Thread Alex rsm
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 in debug mode (

Re: Multi-valued LDAP attribute

2012-05-02 Thread Adam Track
] personType -> Person-Type = "it" WARNING: No "known good" password was found in LDAP.  Are you sure that the user is configured correctly? [ldap] user atrack authorized to use remote access   [ldap] ldap_release_conn: Release Id: 0 ++[ldap] returns ok ... I did notice

Re: final rlm_perl question, hopefully...

2007-07-26 Thread FreeRadius-ML
Hi all, Please disregard, I've solved the thing ;-) Silly typo in the return. Z2L - Original Message - From: "FreeRadius-ML" <[EMAIL PROTECTED]> To: "freeradius-users" Sent: Thursday, July 26, 2007 6:41:21 PM (GMT+0200) Asia/Jerusalem Subject: Fwd: fin

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

2008-05-12 Thread johnson elangbam
y accessing using 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 PROT

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
t-Uri', 'Digest-Nonce', 'Digest-Response' And please tell me the things that I 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 h

MAC-Auth issues with rlm_perl

2012-03-25 Thread Glen Harris
to be something seriously 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 t

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

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: 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:

Strange Problem with chap.

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

Cannot control attribute ordering via "rlm_perl"

2011-10-05 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

Re: rlm_perl authorize

2004-02-17 Thread Jeff Warnica
, the chap/mschap/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.

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 o

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

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-spru

Re: Need help: login incorrect with FR 2.2.1

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

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

2010-08-28 Thread Alexander Kubatkin
uot;; > > > > > > $RAD_REPLY{'DHCP-Domain-Name-Server'} = \...@data; > > Which should be equivalent to doing > > $RAD_REPLY{'DHCP-Domain-Name-Server'} = ["nameserver_1", > "nameserver_2"

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 >

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: 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 {...} >

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 it with a

Re: Packet-Original-Timestamp

2013-03-01 Thread Arran Cudbard-Bell
updated >>>> >>>> >>>> It seems that Packet-Original-Timestamp does not contain anything. I >>>> was under the impression that it is generated automatically by >>>> FreeRADIUS. Is this not the case >>>

Re: rml_perl question

2007-07-25 Thread FreeRadius-ML
Hi Alan, Of course I updated the PERL script. I simply modified the debug function to be: sub log_request_attributes { # This shouldn't be done in production environments! # This is only meant for debugging! for (keys %RAD_REQUEST) { &radiusd:

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

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,

DHCP routing bug (FreeRadius DHCP reply to Default Gateway)

2009-09-27 Thread Pavel Malev
l1" in the listen{} 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-O

Re: debug only for rlm_xxx (rlm_perl)

2010-03-11 Thread Doug Hardie
On 11 March 2010, at 03:43, 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 be don

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-p

Re: rlm_perl & Auth-Type

2004-02-16 Thread Support
4 10:06:04 +0800 > From: Mike Groeneweg <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: rlm_perl & Auth-Type > Reply-To: [EMAIL PROTECTED] > > This is a cryptographically signed message in MIME format. > > --ms090006000508040404020402 > Conten

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 de

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

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

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

Re: segfault with rlm_perl

2011-01-05 Thread Boian Jordanov
. If you want to debug - search this list or google using keywords "debug rlm_perl" > > > I understand that freeradius has a newer version available - but I am > hesitant to upgrade a production server without a very good reason. And I > could not find such reason for

Re: Problem with rlm_perl

2006-07-12 Thread Boian Jordanov
Hi please use mailing list instead of writing to me directly. Regarding the trouble try reinstalling the Data::Dumper module and check that it is linked with correct perl library. On Wednesday 12 July 2006 03:09, you wrote: > Hello! > > I have a problem with rlm_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";

Re: rlm_perl & Auth-Type

2004-02-16 Thread Mike Groeneweg
: Debug: auth: Failed to validate the user. Mon Feb 16 09:56:31 2004 : Debug: Delaying request 0 for 1 seconds Mon Feb 16 09:56:31 2004 : Debug: Finished request 0 Mon Feb 16 09:56:31 2004 : Debug: Going to the next request Mon Feb 16 09:56:31 2004 : Debug: Thread 1 waiting to be assigned a

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-Med

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

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 exploi

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.&quo

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_

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

Re: Packet-Original-Timestamp

2013-03-01 Thread Бен Томпсон
t;>>> expand: %{Packet-Original-Timestamp} -> >>>>> +++[request] returns updated >>>>> ++- if (!Event-Timestamp) returns updated >>>>> >>>>> >>>>> It seems that Packet-Ori

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

2010-08-26 Thread Bjørn Mork
er_1", "nameserver_2", "nameserver_3", "nameserver_x"]; so I don't think that's the problem. But we are all guessing, since we

Re: help need with mysql statement in freeradius

2008-05-15 Thread Bishal
debug output of the radius Module: Instantiated detail (reply_log) Listening on authentication *:1645 Listening on accounting *:1646 Ready to process requests. rad_recv: Access-Request packet from host 202.xx.xx.xx:52743, id=81, length=151 NAS-Identifier = "pppoe-test.lumbininet.c

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
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

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

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 se

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 = "" N

Re: debug only for rlm_xxx (rlm_perl)

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

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)? Look at the code. I don't want to debug it. > 2. Is there any work-in-progress project on add

Re: Packet-Original-Timestamp

2013-03-01 Thread Бен Томпсон
>>> +++[request] returns updated >>> ++- if (!Event-Timestamp) returns updated >>> >>> >>> It seems that Packet-Original-Timestamp does not contain anything. I >>> was under the impression that it is generat

Re: Separate rlm_perl in each virtual server

2011-01-30 Thread Alexander Shikoff
t; > Trying sub-section dhcp DHCP-Discover {...} > > +- entering group DHCP-Discover {...} > > rlm_perl: -authorization.pl- : post_auth > > ^^^ > > Post *all* of the debug output. You've deleted the pieces which can > help

Re: Re: rlm_perl & Auth-Type

2004-02-17 Thread Support
n Feb 16 09:56:31 2004 : Debug: Threads: total/active/spare threads = > 5/1/4 > Mon Feb 16 09:56:31 2004 : Debug: Waking up in 5 seconds... >User-Name = "testuser" >User-Password = "testpasswd" >NAS-IP-Address = 134.115.81.61 >Framed-

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
ll the digest entry >in authorize and authenticate section 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

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

Re: rlm_perl & Auth-Type

2004-02-17 Thread Michael Groeneweg
on Feb 16 09:56:31 2004 : Debug: modcall: entering group authorize for request 0 Mon Feb 16 09:56:31 2004 : Debug: modsingle[authorize]: calling perl (rlm_perl) for request 0 Mon Feb 16 09:56:31 2004 : Debug: perl_pool: item 0x8117340 asigned new request. Handled so far: 1 Mon Feb 16 09:56:31 2

Re: rlm_perl added pairs disapear after eap authentication

2012-05-31 Thread Matthew Newton
13 Tunnel-Medium-Type := 6 Tunnel-Private-Group-Id := 999 } to the outer post-auth section. 3. Verify that the server a) works, and b) sends the above attributes in the Access-Accept (check the debug output). 4. Only after all the above, replace the update reply {} with rlm_perl, and wo

  1   2   3   >