Re: [rad] Re: SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-15 Thread A . L . M . Buxey
Hi, one of the main issues is using a distro version of the code. what they do to the files provided in the TARBALL is up to them. i would advise doing something like locate scripts | grep -i radius ...they might have been dumped into somewhere like /usr/share/doc/radiusd or somesuch. you can

Re: [rad] Re: SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-15 Thread A . L . M . Buxey
hi, Charles, this is an unpaid community support list. you are coming across as a very angry person with no regard that the people on this list arent paid to give you informaation which is probably essential for you to actually do your work, get paid etc. if you'd actually like any help/advice

Re: [rad] Re: SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-15 Thread Charles Gregory
On Mon, 15 Jun 2009, a.l.m.bu...@lboro.ac.uk wrote: one of the main issues is using a distro version of the code. (nod) Once John mentioned a folder I just didn't have, the light came on (so to speak) :) ...they might have been dumped into somewhere like /usr/share/doc/radiusd or

Re: [rad] Re: SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-15 Thread Charles Gregory
On Mon, 15 Jun 2009, a.l.m.bu...@lboro.ac.uk wrote: Charles, this is an unpaid community support list. you are coming across as a very angry person with no regard that the people on this list arent paid to give you informaation which is probably essential for you to actually do your work, get

Re: [rad] Re: SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-15 Thread Arran Cudbard-Bell
On 15/6/09 16:37, Charles Gregory wrote: On Mon, 15 Jun 2009, a.l.m.bu...@lboro.ac.uk wrote: one of the main issues is using a distro version of the code. (nod) Once John mentioned a folder I just didn't have, the light came on (so to speak) :) ...they might have been dumped into

Re: [rad] Re: SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-15 Thread Charles Gregory
On Mon, 15 Jun 2009, Arran Cudbard-Bell wrote: See the thing is a lot of the documentation pitfalls aren't there in 2.*, a lot of the inconsistencys aren't there in 2.*. I know, because I regularly play the dumb user and pester Alan about niggly bits of syntax and documentation. I try to be

Re: [rad] Re: SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-15 Thread John Dennis
Enough already :-) Take it off list please. -- John Dennis jden...@redhat.com Looking to carve out IT costs? www.redhat.com/carveoutcosts/ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: [rad] Re: SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-15 Thread A . L . M . Buxey
hi, H. My first gut reaction is that I don't know enough, but before I dismiss this idea, I have to ask what you have in mind. I think the initial idea would be to document what/how you've used exec module to define an attribute - rlm_exec is quite bare on the wiki ;-) alan - List

Re: [rad] Re: SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-14 Thread Alan DeKok
Charles Gregory wrote: No, I'm offended that you can say things like you have NO IDEA when clearly anyone who read my first post would know what I was asking. Yes, but you were given 5-6 options for solving the problem. Instead, you did something that was not documented as working, and which

Re: [rad] Re: SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-14 Thread Alan DeKok
Charles Gregory wrote: Five or six huh? Quote them. Paraphrase them. And don't just lamely say check the archives because I did that when I double-checked that you 'had no idea'. I've been up and down this thread a few times now. And there is NO posting with clear code like the one I posted in

Re: [rad] Re: SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-14 Thread Charles Gregory
On Sun, 14 Jun 2009, Alan DeKok wrote: Charles Gregory wrote: Five or six huh? Quote them. 1) Read my messages. That's rich coming from you. The text you *deleted* pointed you to documentation for the users file, and the SQL module. Speaking of 'not reading' didn't you catch my

Re: [rad] Re: SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-13 Thread Alan DeKok
Charles Gregory wrote: Well, keeping in mind that this is now a philosphical discussion... And it's mostly wasted. The time spent arguing over the documentation would have been better spent installing 2.x, which has much better documentation. Notice the complete lack of instruction as to

Re: [rad] Re: SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-13 Thread Ivan Kalik
On Fri, 12 Jun 2009, Ivan Kalik wrote: Nothing to give. You already have it in scripts/exec-program-wait. I do not have a directory named 'scripts'. And the only reference to 'exec-program-wait' is in the comments of 'experimental.conf' as something that a 'perl' rlm can 'replace'. I'm

Re: [rad] Re: SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-13 Thread Charles Gregory
On Sat, 13 Jun 2009, Alan DeKok wrote: No... I had NO IDEA what you were trying to do. I had gotten the impression that you don't read posts thoroughly, and this only reinforces that perception. My very first post said: I've been cruising the archives and pages and don't quite see what

Re: [rad] Re: SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-13 Thread Charles Gregory
On Sat, 13 Jun 2009, Ivan Kalik wrote: . I'm really thinking that CentOS screwed up some documentation Could be. They might have packaged server core without examples. .. If you want you can download and unpack your version tarball from the freeradius site Just because I am

Re: [rad] Re: SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-13 Thread Alan DeKok
Charles Gregory wrote: It clearly conveys my intention and my first attempt at code. Yes... and it clearly conveys that you hadn't read the documentation that came with the version you had. So with (dwindling) respect, if you can't get the IDEA from that then you really are a serious waste

Re: [rad] Re: SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-13 Thread Charles Gregory
On Sat, 13 Jun 2009, Alan DeKok wrote: and yet you're frustrated that I'm explaining the *reasons* behind my opinions. No, I'm offended that you can say things like you have NO IDEA when clearly anyone who read my first post would know what I was asking. It's one step short of outright

SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-12 Thread Charles Gregory
On Fri, 12 Jun 2009, Ivan Kalik wrote: Work what out? Finally got my 1.x Session-Time script working (as an exec module). The really strange thing is that it is working *exactly* as I first thought I should be doing it!!! (see below) I can only guess that somewhere along the way I had a

Re: SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-12 Thread Alan DeKok
Charles Gregory wrote: I did try to follow the oft-quoted (almost shoved down my throat) example, right from the comments within the config file postauth { Session-Timeout := `%{exec:/usr/local/etc/timecalc %{User-Name}}` } No... that won't work. The examples given to you weren't

Re: [rad] Re: SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-12 Thread Charles Gregory
Well, keeping in mind that this is now a philosphical discussion... On Fri, 12 Jun 2009, Alan DeKok wrote: Charles Gregory wrote: I did try to follow the oft-quoted (almost shoved down my throat) example, right from the comments within the config file postauth { Session-Timeout :=

Re: [rad] Re: SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-12 Thread Ivan Kalik
Well, firstly, no one *gave* me 'examples', Nothing to give. You already have it in scripts/exec-program-wait. It's included in the distribution. Should be in same place in your version too. they said just to look in my radiusd.conf, and secondly, yes, it's exactly 'like that': #

Re: [rad] Re: SOLVED Re: pseudo-newbie exec scripts and session-time

2009-06-12 Thread Charles Gregory
On Fri, 12 Jun 2009, Ivan Kalik wrote: Nothing to give. You already have it in scripts/exec-program-wait. I do not have a directory named 'scripts'. And the only reference to 'exec-program-wait' is in the comments of 'experimental.conf' as something that a 'perl' rlm can 'replace'. I'm really