string definitions not global? config: No such entry confdir for string ${confdir}/clients.conf

2005-03-20 Thread Scott Edwards
freeraidus -X
[snip]
Config:   including file: /etc/freeradius/includes/radiusdconf/clients.conf
config: No such entry confdir for string ${confdir}/clients.conf
Errors reading radiusd.conf

I'm using Freeradius 1.0.1-2 from debian sarge.

The huge radiusd.conf drives me a little batty when trying to
configure it, so I spent the matter of some time to split up each
section (including modules) into separate configs.  This way I can
comment, say ldap out in a single line, and know it's not being used.

Anyway, I'm now presented with the problem of string definitions not
being available in included files.  Having used Apache's XSSI module
for some time, I assumed freeradius would propagate the namespace into
whatever you're including. (AFAIK, mod_macro does the same).  I
realise freeradius isn't Apache, but these behaivors IMO should be the
same.

Are there any workarounds for this?  Is there someway to define a
string definition to be global?

TIA,


Scott Edwards
-- 
Daxal Communications - http://www.daxal.com
Surf the USA - http://www.surfthe.us

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: string definitions not global? config: No such entry confdir for string ${confdir}/clients.conf

2005-03-20 Thread Alan DeKok
Scott Edwards [EMAIL PROTECTED] wrote:
 Config:   including file: /etc/freeradius/includes/radiusdconf/clients.conf
 config: No such entry confdir for string ${confdir}/clients.conf
 Errors reading radiusd.conf

  Hmm... that's defined in the normal configuration files, and it
works there.

 The huge radiusd.conf drives me a little batty when trying to
 configure it, so I spent the matter of some time to split up each
 section (including modules) into separate configs.  This way I can
 comment, say ldap out in a single line, and know it's not being used.

  Ah.  You've edited the configuration files and now they don't work.
The solution would appear to be for you to NOT edit the configuration
files.

 Anyway, I'm now presented with the problem of string definitions not
 being available in included files.  Having used Apache's XSSI module
 for some time, I assumed freeradius would propagate the namespace into
 whatever you're including. (AFAIK, mod_macro does the same).  I
 realise freeradius isn't Apache, but these behaivors IMO should be the
 same.

  The default configuration works.  The 'confdir' definition is
available in all included files in the default config.

  I suggest you re-vist your editing process.

  Alan DeKok.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: string definitions not global? config: No such entry confdir for string ${confdir}/clients.conf

2005-03-20 Thread Scott Edwards
On Sun, 20 Mar 2005 23:48:35 -0500, Alan DeKok wrote:
 Scott Edwards [EMAIL PROTECTED] wrote:
  Config:   including file: /etc/freeradius/includes/radiusdconf/clients.conf
  config: No such entry confdir for string ${confdir}/clients.conf
  Errors reading radiusd.conf
 
   Hmm... that's defined in the normal configuration files, and it
 works there.
 

Well, I diched that series, and recopied them from backups (of a
machine that's getting replaced).  After some fine tuning, it's all
good to go.

I'll poke at the multilevel include mystery some other day...

Thanks!



Scott Edwards
-- 
Daxal Communications - http://www.daxal.com
Surf the USA - http://www.surfthe.us

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html