Re: Freeradius 3.0 hints, rlm_perl

2013-07-21 Thread Thomas Glanzmann
Hello Arran, > Something was caching the pointer to request->password when it > shouldn't have. Should be fixed now. I pulled the fix and can no longer reproduce the issue, I tried with 100 authentications in a row. Thank you for fixing it. Cheers, Thomas - List info/subscribe/unsubscrib

Re: Freeradius 3.0 hints, rlm_perl

2013-07-21 Thread Arran Cudbard-Bell
On 21 Jul 2013, at 23:47, Susan Brown wrote: > > On 21 Jul 2013, at 23:17, Thomas Glanzmann wrote: > >> Hello Arran, >> >>> Oh I have a pretty good idea of what's gone on. Could you git pull and >>> rebuild. You'll probably see an abort this time round. >> >> I did a >> >> git pull >> # W

Re: Freeradius 3.0 hints, rlm_perl

2013-07-21 Thread Susan Brown
On 21 Jul 2013, at 23:17, Thomas Glanzmann wrote: > Hello Arran, > >> Oh I have a pretty good idea of what's gone on. Could you git pull and >> rebuild. You'll probably see an abort this time round. > > I did a > > git pull > # Wipe the working directory clean > git reset --hard HEAD; git cl

Re: Freeradius 3.0 hints, rlm_perl

2013-07-21 Thread Thomas Glanzmann
Hello Arran, > Oh I have a pretty good idea of what's gone on. Could you git pull and > rebuild. You'll probably see an abort this time round. I did a git pull # Wipe the working directory clean git reset --hard HEAD; git clean -f -x -d ./configure --prefix=/local/freeradius-head; make -j; make

Re: Freeradius 3.0 hints, rlm_perl

2013-07-21 Thread Thomas Glanzmann
Hello Alan, > I bleieve hitns is going the way of the dodo eventually - unlang can > do the work for you eg > if (%{User-Name} =~ "^v104([^@]+)" ) { > update request { > %{User-Name} := "%{1}@V104.GMVL.DE" > } > } I tried: server default { lis

Re: Freeradius 3.0 hints, rlm_perl

2013-07-21 Thread Arran Cudbard-Bell
On 21 Jul 2013, at 22:33, Thomas Glanzmann wrote: > Hello Arran, > >> Can you provide a backtrace please? I'll see if I can fix it. > > Program received signal SIGSEGV, Segmentation fault. > 0x08052f8a in rad_authenticate (request=0x863f138) at src/main/auth.c:542 > 542

Re: Freeradius 3.0 hints, rlm_perl

2013-07-21 Thread Thomas Glanzmann
Hello Arran, > Can you provide a backtrace please? I'll see if I can fix it. Program received signal SIGSEGV, Segmentation fault. 0x08052f8a in rad_authenticate (request=0x863f138) at src/main/auth.c:542 542 (auth_item->da->attr == PW_USER_PASSWORD)) { (gdb) b

Re: Freeradius 3.0 hints, rlm_perl

2013-07-21 Thread A . L . M . Buxey
Hi, > While trying that I also build a 3.0 GIT HEAD and there were a few > problems, I trippeled about: > > - HINTS does not work the way it did before. Especially this no > longer works for me: > > DEFAULT User-Name =~ "^v104([^@]+)" > User-Name := "%{1}@V104.GMVL.DE"

Re: Ubuntu FreeRadius does not recoginize some perl.so symbols and does not compile from source and is also outdated (Why is there no new version in SID? Is the package still maintained?)

2013-07-21 Thread A . L . M . Buxey
Hi, > I put the FreeRadius list on CC because I get technical solution from > here. the version from freeradius.org works - you need to contact Debian to get them to fix their packages. alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

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

Re: Freeradius 3.0 hints, rlm_perl

2013-07-21 Thread Arran Cudbard-Bell
>- HINTS does not work the way it did before. Especially this no > longer works for me: > > 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 c

Freeradius 3.0 hints, rlm_perl

2013-07-21 Thread Thomas Glanzmann
Hello Arran, > You can of course 'make deb' in the top level directory of the current > Git HEAD (which will very soon be 2.2.1) and make your own debian > packages. that is fine with me and works perfect. I was not aware of that option, but now I know that it is out there, it is the way to go.

Re: Ubuntu FreeRadius does not recoginize some perl.so symbols and does not compile from source and is also outdated (Why is there no new version in SID? Is the package still maintained?)

2013-07-21 Thread Arran Cudbard-Bell
On 21 Jul 2013, at 17:18, Thomas Glanzmann wrote: > Hello Arran, > >>> Can't load '/usr/lib/perl5/auto/Authen/Krb5/Simple/Simple.so' for module >>> Authen::Krb5::Simple: /usr/lib/perl5/auto/Authen/Krb5/Simple/Simple.so: >>> undefined symbol: PL_thr_key at /usr/lib/perl/5.14/DynaLoader.pm line

Re: Ubuntu FreeRadius does not recoginize some perl.so symbols and does not compile from source and is also outdated (Why is there no new version in SID? Is the package still maintained?)

2013-07-21 Thread Thomas Glanzmann
Hello, * Thomas Glanzmann [2013-07-21 18:24]: > hints = "/etc/freeradius/mods-config/preprocess/hints" I noticed that the wrong hints file was specified, however after updating, it still does not work, but the output now looks different: Ready to process requests. rad_recv: Access-Reque

Re: Ubuntu FreeRadius does not recoginize some perl.so symbols and does not compile from source and is also outdated (Why is there no new version in SID? Is the package still maintained?)

2013-07-21 Thread Thomas Glanzmann
Hello Arran, > > Can't load '/usr/lib/perl5/auto/Authen/Krb5/Simple/Simple.so' for module > > Authen::Krb5::Simple: /usr/lib/perl5/auto/Authen/Krb5/Simple/Simple.so: > > undefined symbol: PL_thr_key at /usr/lib/perl/5.14/DynaLoader.pm line 184. > * http://www.perlmonks.org/?node_id=1008893 > T

Re: Ubuntu FreeRadius does not recoginize some perl.so symbols and does not compile from source and is also outdated (Why is there no new version in SID? Is the package still maintained?)

2013-07-21 Thread Thomas Glanzmann
Hello Alan, > Yes. It does. But you are compiling some random external flavour. > Download the source from freeradius.org and report what happens yes, you're right and I just noticed that the freeradius git tree contains a Debian folder which build packages which not only compile, now I try to

Re: Ubuntu FreeRadius does not recoginize some perl.so symbols and does not compile from source and is also outdated (Why is there no new version in SID? Is the package still maintained?)

2013-07-21 Thread Thomas Glanzmann
Hello Alan, > Freeradius does not build from source. Yes. It does. But you are > compiling some random external flavour. Download the source from > freeradius.org and report what happens. my subject line was misleading. I meant that the Debian package is so broken that it doesn't even compile fr

Re: Ubuntu FreeRadius does not recoginize some perl.so symbols and does not compile from source and is also outdated (Why is there no new version in SID? Is the package still maintained?)

2013-07-21 Thread Arran Cudbard-Bell
> * Starting FreeRADIUS daemon freeradius > Can't load '/usr/lib/perl5/auto/Authen/Krb5/Simple/Simple.so' for module > Authen::Krb5::Simple: /usr/lib/perl5/auto/Authen/Krb5/Simple/Simple.so: > undefined symbol: PL_thr_key at /usr/lib/perl/5.14/DynaLoader.pm line 184. Possibly this? http://www.p

Re: Ubuntu FreeRadius does not recoginize some perl.so symbols and does not compile from source and is also outdated (Why is there no new version in SID? Is the package still maintained?)

2013-07-21 Thread Alan Buxey
Freeradius does not build from source. Yes. It does. But you are compiling some random external flavour. Download the source from freeradius.org and report what happens alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Ubuntu FreeRadius does not recoginize some perl.so symbols and does not compile from source and is also outdated (Why is there no new version in SID? Is the package still maintained?)

2013-07-21 Thread Thomas Glanzmann
Hello, I wanted to use the FreeRadius package included in Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-49-generic x86_64) to do SMS OTP password. In order to do that I need to load perl code into FreeRadius which fails with the following error on a fresh installed system: (1) FreeRadius does not recognize