Re: 2.0.0-pre sqlippool

2007-06-27 Thread Alan DeKok
Hugh Messenger wrote: > I just noticed the 'man unlang' paragraph about 'check' being a synonym for > 'control'. Did that just get added, or was I being blind first time round? > I do try and read the docs before posting here, and I'd hate to think I > missed that. I added it. Alan DeKok. -

Re: 2.0.0-pre sqlippool

2007-06-27 Thread Hugh Messenger
Arran Cudbard-Bell <[EMAIL PROTECTED]> said: > Remember to change any value substitutions to the new scheme > > %{%{foo}:-%{bar}} You just answered my rather long winded question about the 'deprecated' warnings, before I asked it. I've fixed all occurrences, and all warnings have gone away. I'

Re: 2.0.0-pre sqlippool

2007-06-27 Thread Peter Nixon
On Wed 27 Jun 2007, Hugh Messenger wrote: > Alan DeKok <[EMAIL PROTECTED]> said: > > Or, Framed-IP-Address. But I don't see that typo in the CVS head. > > My apologies, that was a typo in the email, not the config file. I'll do > some more testing and get back to you on this one. > > > The li

Re: 2.0.0-pre sqlippool

2007-06-27 Thread Arran Cudbard-Bell
>> >> I'll friendly-up the new mysql-ippool-dialup.conf and send you a copy. > > Sounds like a plan :-) > Remember to change any value substitutions to the new scheme %{%{foo}:-%{bar}} :) -- Arran Cudbard-Bell ([EMAIL PROTECTED]) Authentication, Authorisation and Accounting Officer Infrastru

Re: 2.0.0-pre sqlippool

2007-06-27 Thread Peter Nixon
On Wed 27 Jun 2007, Hugh Messenger wrote: > Peter Nixon [mailto:[EMAIL PROTECTED] said > > > From now on (20 min ago), MySQL should be a fully support dialect for > > rlm_sqlippool so the table is part of the normal schema and the queries > > _should_ work by default. Please send patches for anythi

Re: 2.0.0-pre sqlippool

2007-06-27 Thread Hugh Messenger
Alan DeKok <[EMAIL PROTECTED]> said: > Or, Framed-IP-Address. But I don't see that typo in the CVS head. My apologies, that was a typo in the email, not the config file. I'll do some more testing and get back to you on this one. > The lines are wrapped at 80 characters, with '\' at the end.

RE: 2.0.0-pre sqlippool

2007-06-27 Thread Hugh Messenger
Peter Nixon [mailto:[EMAIL PROTECTED] said > From now on (20 min ago), MySQL should be a fully support dialect for > rlm_sqlippool so the table is part of the normal schema and the queries > _should_ work by default. Please send patches for anything that is still > broken as I don't test against My

Re: 2.0.0-pre sqlippool

2007-06-27 Thread Peter Nixon
On Wed 27 Jun 2007, Hugh Messenger wrote: > I said: > > 2) Where can I find the sqlippool schema in 2.0.0? > > I went ahead and used the same schema from 1.1.6, seems to be OK. But I'd > still like to know where to find it documented, for next time I need it. >From now on (20 min ago), MySQL shou

Re: 2.0.0-pre sqlippool

2007-06-27 Thread Peter Nixon
On Wed 27 Jun 2007, Alan DeKok wrote: > Hugh Messenger wrote: > > I said: > >> 2) Where can I find the sqlippool schema in 2.0.0? > > It's in the Postgresql schema file, but not in MySQL. > > ... > > > It seems to want %{check:Pool-Name}. Which is weird in itself, because > > 'man unlang' doesn'

Re: 2.0.0-pre sqlippool

2007-06-26 Thread Peter Nixon
On Wed 27 Jun 2007, Hugh Messenger wrote: > I'm slowly getting there with my 2.0.0 install. Couple of sqlippool > questions: > > 1) The sqlippool.conf file has this at the end: > > ## Uncomment the appropriate config file for your SQL dialect > > # $INCLUDE ${confdir}/sql/mysql-dialup.conf > $IN

Re: 2.0.0-pre sqlippool

2007-06-26 Thread Alan DeKok
Hugh Messenger wrote: > I said: >> 2) Where can I find the sqlippool schema in 2.0.0? It's in the Postgresql schema file, but not in MySQL. ... > It seems to want %{check:Pool-Name}. Which is weird in itself, because 'man > unlang' doesn't mention a 'check' list type, it should be 'request'.

Re: 2.0.0-pre sqlippool

2007-06-26 Thread Hugh Messenger
I said: > 2) Where can I find the sqlippool schema in 2.0.0? I went ahead and used the same schema from 1.1.6, seems to be OK. But I'd still like to know where to find it documented, for next time I need it. Anyway, there seems to be a few issues in the mysql-ippool-dialup.conf file. 1) In the

2.0.0-pre sqlippool

2007-06-26 Thread Hugh Messenger
I'm slowly getting there with my 2.0.0 install. Couple of sqlippool questions: 1) The sqlippool.conf file has this at the end: ## Uncomment the appropriate config file for your SQL dialect # $INCLUDE ${confdir}/sql/mysql-dialup.conf $INCLUDE ${confdir}/sql/postgresql-ippool-dialup.conf I'm p