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