ATTRIBUTE has invalid number (larger than 255)
Hi, I am a FreeRadius newbie. I have installed FreeRADIUS Version 1.1.2. I was able to install without any errors. But when I start the server I get an odd message about a dictionary file (see below. I have a Solaris machine running -> SunOS aureb01f 5.8 Generic_117000-03 sun4u sparc SUNW,Ultra-60. ERROR MESSAGE: # /usr/local/sbin/radiusd -X Starting - reading configuration files ... reread_config: reading radiusd.conf Config: including file: /usr/local/etc/raddb/proxy.conf Config: including file: /usr/local/etc/raddb/clients.conf Config: including file: /usr/local/etc/raddb/snmp.conf Config: including file: /usr/local/etc/raddb/eap.conf Config: including file: /usr/local/etc/raddb/sql.conf main: prefix = "/usr/local" main: localstatedir = "/usr/local/var" main: logdir = "/usr/local/var/log/radius" main: libdir = "/usr/local/lib" main: radacctdir = "/usr/local/var/log/radius/radacct" main: hostname_lookups = no main: max_request_time = 30 main: cleanup_delay = 5 main: max_requests = 1024 main: delete_blocked_requests = 0 main: port = 1812 main: allow_core_dumps = no main: log_stripped_names = no main: log_file = "/usr/local/var/log/radius/radius.log" main: log_auth = no main: log_auth_badpass = no main: log_auth_goodpass = no main: pidfile = "/usr/local/var/run/radiusd/radiusd.pid" main: user = "(null)" main: group = "(null)" main: usercollide = no main: lower_user = "no" main: lower_pass = "no" main: nospace_user = "no" main: nospace_pass = "no" main: checkrad = "/usr/local/sbin/checkrad" main: proxy_requests = yes proxy: retry_delay = 5 proxy: retry_count = 3 proxy: synchronous = no proxy: default_fallback = yes proxy: dead_time = 120 proxy: post_proxy_authorize = yes proxy: wake_all_if_all_dead = no security: max_attributes = 200 security: reject_delay = 1 security: status_server = no main: debug_level = 0 read_config_files: reading dictionary Errors reading dictionary: dict_init: /usr/local/etc/raddb/AlcatelAccess.dct[25]: dict_addattr: ATTRIBUTE has invalid number (larger than 255). Errors reading radiusd.conf --------------------------- I checked out the AlcatelAccess file and on line 25 it has: "ATTRIBUTE Alcatel-Access-Maintenance 1536 integer" ----------------------------- Can someone help me out? Thanks, steven
"Steven Stanek" <steven.stanek@alcatel.com> wrote:
I am a FreeRadius newbie. I have installed FreeRADIUS Version 1.1.2. I was able to install without any errors. But when I start the server I get an odd message about a dictionary file (see below. I have a Solaris machine running -> SunOS aureb01f 5.8 Generic_117000-03 sun4u sparc SUNW,Ultra-60. ... /usr/local/etc/raddb/AlcatelAccess.dct[25]: dict_addattr: ATTRIBUTE has invalid number (larger than 255).
That dictionary isn't included in the default install, so I presume it's something you added locally. The default encoding for RADIUS VSA's is one octet for the attribute field, which means values 0..255. Does Alcatel use a different format for their attributes? If so, what? Alan DeKok.
Hi, Thanks for the help with this one... Yes, we have a two byte VSA field for the equipment I am working on. -steven -----Original Message----- From: freeradius-users-bounces+steven.stanek=alcatel.com@lists.freeradius.org [mailto:freeradius-users-bounces+steven.stanek=alcatel.com@lists.freeradius. org] On Behalf Of Alan DeKok Sent: Monday, July 24, 2006 3:09 PM To: FreeRadius users mailing list Subject: Re: ATTRIBUTE has invalid number (larger than 255) "Steven Stanek" <steven.stanek@alcatel.com> wrote:
I am a FreeRadius newbie. I have installed FreeRADIUS Version 1.1.2. I was able to install without any errors. But when I start the server I get an odd message about a dictionary file (see below. I have a Solaris machine running -> SunOS aureb01f 5.8 Generic_117000-03 sun4u sparc SUNW,Ultra-60. ... /usr/local/etc/raddb/AlcatelAccess.dct[25]: dict_addattr: ATTRIBUTE has invalid number (larger than 255).
That dictionary isn't included in the default install, so I presume it's something you added locally. The default encoding for RADIUS VSA's is one octet for the attribute field, which means values 0..255. Does Alcatel use a different format for their attributes? If so, what? Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
"Steven Stanek" <steven.stanek@alcatel.com> wrote:
Thanks for the help with this one... Yes, we have a two byte VSA field for the equipment I am working on.
That should be possible to manage, which an appropriate modification to the dictionary. Can you email the dictionary to the list? We'll get it added to the next version of the server... Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
participants (3)
-
Alan DeKok -
Alan DeKok -
Steven Stanek