RE: dictionary file - rfc compilant or not - Authen::Radius?

2005-04-12 Thread Guy Davies
The format of the dictionary file is implementation specific (see the
query a few days ago regarding a dictionary supplied in SBR format, to
which I replied).  Several implementers have chosen to use the same
format but it's not mandated in any RFC AFAIK.

Rgds,

Guy

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Bram
 Sent: 12 April 2005 15:08
 To: freeradius-users@lists.freeradius.org
 Subject: dictionary file - rfc compilant or not - Authen::Radius?
 
 
 Hello,
 
 
 Can someone tell me if the syntax of the dictionary file(s) 
 is documented somewhere in an RFC or not? (And if freeradius 
 implements that RFC or not?)
 
 I'm asking this because the 'ecnrypt=1' after User-Password 
 in the dictionary file is breaking the perl module 
 Authen::Radius, I mailed the author of this module (informing 
 him about it) and he found the used syntax strange...
 
 
 So can anyone confirm wheter this is a fault of freeradius or 
 one of Authen::Radius?
 
 
 Regards,
 
 Bram
 
 - 
 List info/subscribe/unsubscribe? See 
 http://www.freeradius.org/list/users.html
 

This e-mail is private and may be confidential and is for the intended 
recipient only.  If misdirected, please notify us by telephone and confirm that 
it has been deleted from your system and any copies destroyed.  If you are not 
the intended recipient you are strictly prohibited from using, printing, 
copying, distributing or disseminating this e-mail or any information contained 
in it.  We use reasonable endeavours to virus scan all e-mails leaving the 
Company but no warranty is given that this e-mail and any attachments are virus 
free.  You should undertake your own virus checking.  The right to monitor 
e-mail communications through our network is reserved by us. 



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


Re: dictionary file - rfc compilant or not - Authen::Radius?

2005-04-12 Thread Alan DeKok
Bram [EMAIL PROTECTED] wrote:
 I'm asking this because the 'ecnrypt=1' after User-Password in the dictionary
 file is breaking the perl module Authen::Radius, I mailed the author of this
 module (informing him about it) and he found the used syntax strange...

  There are *much* stranger dictionary file formats.

 So can anyone confirm wheter this is a fault of freeradius or one of
 Authen::Radius?

  The FreeRADIUS dictionary files are meant to be used by FreeRADIUS.
I have no idea what, if any, dictionary files are supplied by
Authen::Radius.  But I'm not surprised that a non-FreeRADIUS program
has issues reading the FreeRADIUS dictionaries.

  Alan DeKok.


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


Re: dictionary file - rfc compilant or not - Authen::Radius?

2005-04-12 Thread Thor Spruyt
Bram wrote:
 I'm asking this because the 'ecnrypt=1' after User-Password in the
 dictionary file is breaking the perl module Authen::Radius, I mailed
 the author of this module (informing him about it) and he found the
 used syntax strange...

Found on http://search.cpan.org/~manowar/RadiusPerl-0.12/Radius.pm ...

load_dictionary ( [ DICTIONARY ] )
Loads the definitions in the specified Radius dictionary file (standard
Livingston radiusd format). Tries to load '/etc/raddb/dictionary' when no
argument is specified, or dies. NOTE: you need to load valid dictionary if
you plan to send Radius requests with other attributes than just
User-Name/Password.

--
Groeten, Regards, Salutations,

Thor Spruyt
M: +32 (0)475 67 22 65
E: [EMAIL PROTECTED]
W: www.thor-spruyt.com

www.salesguide.be
www.telenethotspot.be


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


Re: dictionary file - rfc compilant or not - Authen::Radius?

2005-04-12 Thread Bram
 Found on http://search.cpan.org/~manowar/RadiusPerl-0.12/Radius.pm ...
 
 load_dictionary ( [ DICTIONARY ] )
 Loads the definitions in the specified Radius dictionary file (standard
 Livingston radiusd format). Tries to load '/etc/raddb/dictionary' when no
 argument is specified, or dies. NOTE: you need to load valid dictionary if
 you plan to send Radius requests with other attributes than just
 User-Name/Password.
 

From http://www.portmasters.com/downloads.html (
http://www.portmasters.com/www.livingston.com/ ): 

'This is Livingston's original Radius server ... This program is no longer
updated but it is still quite functional. We recommend Free Radius, Cistron
Radius or  Yard, all based on this version.'


Early version of the module Authen::Radius seems to be based on the dictionary
file of Linvingston's Radius
(ftp://ftp.portmasters.com/pub/le/radius/dictionary ).

But that dictionary file does not have the $include-syntax, for which support
has been added in 2003, so the documentation of that Authen::Radius is simply
wrong.


This brings me back to my question: is there an agreement between different
radius-servers (or an rfc) on the syntax for dictionary files (maybe between
the
one that are based on the Linvingtons's Radius server?)? or what syntax
matches all lines in the freeradius-dictionary? (ofcourse a syntax that 
allows the addition of new elements (in the future that is) would be desired)


In my opinion it would make sense if there is one, since this would make it
easier for the ones writing modules and/or clients to connect to a Radius
server...


Any knows? Or would it be a better idea to re-post this at the devloppers
mailinglist?


Bram

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


Re: dictionary file - rfc compilant or not - Authen::Radius?

2005-04-12 Thread Alan DeKok
Bram [EMAIL PROTECTED] wrote:
 This brings me back to my question: is there an agreement between different
 radius-servers (or an rfc) on the syntax for dictionary files

  No.

  Many dictionary formats are *similar*, but not identical.

  Alan DeKok.

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