Digest

classic Classic list List threaded Threaded
2 messages Options
| Threaded
Open this post in threaded view
|

Digest

Hassan Wahid
Hello

I am trying to have users authenticate using Digest.  I have the following
in my users file

cxc1    Auth-Type := Digest, User-Password = "test"
        Reply-Message = "Digest test, name 'digest', password 'digest'"

but when I run the radius server, it doesnt run.  I started it in debug mode
and I get the error:

/etc/raddb/users[95]: Parse error (check) for entry cxc1: Unknown value
Digest for attribute Auth-Type
Errors reading /etc/raddb/users
radiusd.conf[921]: files: Module instantiation failed.

I am using version 1.0.4.  Any help would be greatly appreciated
Thanks
Hassan

Here is the complete run from debug mode:

hwahid-sipp03:/radius/freeradius-1.0.4/raddb # radiusd -X &
[1] 29934
Starting - reading configuration files ...
reread_config:  reading radiusd.conf
Config:   including file: /etc/raddb/proxy.conf
Config:   including file: /etc/raddb/clients.conf
Config:   including file: /etc/raddb/snmp.conf
Config:   including file: /etc/raddb/sql.conf
main: prefix = "/usr"
main: localstatedir = "/var"
main: logdir = "/var/log/radius"
main: libdir = "/usr/lib/freeradius"
main: radacctdir = "/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 = 0
main: allow_core_dumps = no
main: log_stripped_names = no
main: log_file = "/var/log/radius/radius.log"
main: log_auth = no
main: log_auth_badpass = no
main: log_auth_goodpass = no
main: pidfile = "/var/run/radiusd/radiusd.pid"
main: user = "radiusd"
main: group = "radiusd"
main: usercollide = no
main: lower_user = "no"
main: lower_pass = "no"
main: nospace_user = "no"
main: nospace_pass = "no"
main: checkrad = "/usr/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
hwahid-sipp03:/radius/freeradius-1.0.4/raddb # read_config_files:  reading
naslist
read_config_files:  reading clients
read_config_files:  reading realms
radiusd:  entering modules setup
Module: Library search path is /usr/lib/freeradius
Module: Loaded expr
Module: Instantiated expr (expr)
Module: Loaded PAP
pap: encryption_scheme = "crypt"
Module: Instantiated pap (pap)
Module: Loaded CHAP
Module: Instantiated chap (chap)
Module: Loaded MS-CHAP
mschap: use_mppe = yes
mschap: require_encryption = no
mschap: require_strong = no
mschap: passwd = "(null)"
mschap: authtype = "MS-CHAP"
Module: Instantiated mschap (mschap)
Module: Loaded System
unix: cache = no
unix: passwd = "(null)"
unix: shadow = "(null)"
unix: group = "(null)"
unix: radwtmp = "/var/log/radius/radwtmp"
unix: usegroup = no
unix: cache_reload = 600
Module: Instantiated unix (unix)
Module: Loaded eap
eap: default_eap_type = "md5"
eap: timer_expire = 60
rlm_eap: Loaded and initialized the type md5
rlm_eap: Loaded and initialized the type leap
Module: Instantiated eap (eap)
Module: Loaded preprocess
preprocess: huntgroups = "/etc/raddb/huntgroups"
preprocess: hints = "/etc/raddb/hints"
preprocess: with_ascend_hack = no
preprocess: ascend_channels_per_line = 23
preprocess: with_ntdomain_hack = no
preprocess: with_specialix_jetstream_hack = no
preprocess: with_cisco_vsa_hack = no
Module: Instantiated preprocess (preprocess)
Module: Loaded realm
realm: format = "suffix"
realm: delimiter = "@"
Module: Instantiated realm (suffix)
Module: Loaded files
files: usersfile = "/etc/raddb/users"
files: acctusersfile = "/etc/raddb/acct_users"
files: preproxy_usersfile = "/etc/raddb/preproxy_users"
files: compat = "no"
/etc/raddb/users[95]: Parse error (check) for entry cxc1: Unknown value
Digest for attribute Auth-Type
Errors reading /etc/raddb/users
radiusd.conf[921]: files: Module instantiation failed.

[1]+  Exit 1                  radiusd -X
hwahid-sipp03:/radius/freeradius-1.0.4/raddb #


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
| Threaded
Open this post in threaded view
|

Re: Digest

Alan DeKok
"Hassan Wahid" <[hidden email]> wrote:
> but when I run the radius server, it doesnt run.  I started it in debug mode
> and I get the error:
>
> /etc/raddb/users[95]: Parse error (check) for entry cxc1: Unknown value
> Digest for attribute Auth-Type

  Did you configure the digest module?

> Here is the complete run from debug mode:
...

  Nope.

  Try configuring the "digest" module.  Read "radiusd.conf"

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