sukhvinder kumar sukhvinder_78 at yahoo.co.in
Wed Apr 19 09:50:04 CEST 2006


I'm using RHEL AS release 3 , openldap-2.2.13-2 ,
FreeRADIUS Version 1.1.1.

When i'm authenticating the users locally its working
fine, but when i'm using EAP-TLS it gives the below


Starting - reading configuration files ...
reread_config:  reading radiusd.conf
Config:   including file:
Config:   including file:
 main: prefix = "/usr"
 main: localstatedir = "/var"
 main: logdir = "/var/log/radius"
 main: libdir = "/usr/local/freeradius/lib"
 main: radacctdir = "/var/log/radius/radacct"
 main: hostname_lookups = no
 main: snmp = no
 main: max_request_time = 60
 main: cleanup_delay = 6
 main: max_requests = 2048
 main: delete_blocked_requests = 0
 main: port = 1645
 main: allow_core_dumps = no
 main: log_stripped_names = no
 main: log_file = "/var/log/radius/radius.log"
 main: log_auth = yes
 main: log_auth_badpass = yes
 main: log_auth_goodpass = yes
 main: pidfile = "/var/run/radiusd/radiusd.pid"
 main: bind_address = IP address
 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 = no
 security: max_attributes = 200
 security: reject_delay = 1
 security: status_server = no
 main: debug_level = 0
read_config_files:  reading dictionary
read_config_files:  reading naslist
Using deprecated naslist file.  Support for this will
go away soon.
read_config_files:  reading clients
read_config_files:  reading realms
radiusd:  entering modules setup
Module: Library search path is
Module: Loaded exec
 exec: wait = yes
 exec: program = "(null)"
 exec: input_pairs = "request"
 exec: output_pairs = "(null)"
 exec: packet_type = "(null)"
rlm_exec: Wait=yes but no output defined. Did you mean
Module: Instantiated exec (exec)
Module: Loaded expr
Module: Instantiated expr (expr)
Module: Loaded MS-CHAP
 mschap: use_mppe = yes
 mschap: require_encryption = yes
 mschap: require_strong = no
 mschap: with_ntdomain_hack = no
 mschap: passwd = "(null)"
 mschap: authtype = "MS-CHAP"
 mschap: ntlm_auth = "(null)"
Module: Instantiated mschap (mschap)
Module: Loaded LDAP
 ldap: server = ""
 ldap: port = 389
 ldap: net_timeout = 1
 ldap: timeout = 4
 ldap: timelimit = 3
 ldap: identity = "cn=Manager,dc=PwC-Saket"
 ldap: tls_mode = no
 ldap: start_tls = no
 ldap: tls_cacertfile = "(null)"
 ldap: tls_cacertdir = "(null)"
 ldap: tls_certfile = "(null)"
 ldap: tls_keyfile = "(null)"
 ldap: tls_randfile = "(null)"
 ldap: tls_require_cert = "allow"
 ldap: password = "providian"
 ldap: basedn = "dc=PwC-Saket"
 ldap: filter = "(uid=%u)"
 ldap: base_filter = "(objectclass=radiusprofile)"
 ldap: default_profile = "(null)"
 ldap: profile_attribute = "(null)"
 ldap: password_header = "{clear}"
ldap: password_attribute = "userPassword"
 ldap: access_attr = "(null)"
 ldap: groupname_attribute = "cn"
 ldap: groupmembership_filter =
 ldap: groupmembership_attribute = "(null)"
 ldap: dictionary_mapping =
 ldap: ldap_debug = 0
 ldap: ldap_connections_number = 8
 ldap: compare_check_items = no
 ldap: access_attr_used_for_allow = yes
 ldap: do_xlat = yes
 ldap: set_auth_type = yes
rlm_ldap: Registering ldap_groupcmp for Ldap-Group
rlm_ldap: Registering ldap_xlat with xlat_name ldap
rlm_ldap: reading ldap<->radius mappings from file
rlm_ldap: LDAP radiusCheckItem mapped to RADIUS
rlm_ldap: LDAP radiusReplyItem mapped to RADIUS
rlm_ldap: LDAP radiusAuthType mapped to RADIUS
rlm_ldap: LDAP radiusSimultaneousUse mapped to RADIUS
rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS
rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS
rlm_ldap: LDAP lmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP ntPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP acctFlags mapped to RADIUS
rlm_ldap: LDAP radiusExpiration mapped to RADIUS
rlm_ldap: LDAP radiusNASIpAddress mapped to RADIUS
rlm_ldap: LDAP userPassword mapped to RADIUS
rlm_ldap: LDAP sambaLMPassword mapped to RADIUS
rlm_ldap: LDAP sambaNTPassword mapped to RADIUS
rlm_ldap: LDAP radiusServiceType mapped to RADIUS
rlm_ldap: LDAP radiusFramedProtocol mapped to RADIUS
rlm_ldap: LDAP radiusFramedIPAddress mapped to RADIUS
rlm_ldap: LDAP radiusFramedIPNetmask mapped to RADIUS
rlm_ldap: LDAP radiusFramedRoute mapped to RADIUS
rlm_ldap: LDAP radiusFramedRouting mapped to RADIUS
rlm_ldap: LDAP radiusFilterId mapped to RADIUS
rlm_ldap: LDAP radiusFramedMTU mapped to RADIUS
rlm_ldap: LDAP radiusFramedCompression mapped to
RADIUS Framed-Compression
rlm_ldap: LDAP radiusLoginIPHost mapped to RADIUS
rlm_ldap: LDAP radiusLoginService mapped to RADIUS
rlm_ldap: LDAP radiusLoginTCPPort mapped to RADIUS
rlm_ldap: LDAP radiusCallbackNumber mapped to RADIUS
rlm_ldap: LDAP radiusCallbackId mapped to RADIUS
rlm_ldap: LDAP radiusFramedIPXNetwork mapped to RADIUS
rlm_ldap: LDAP radiusClass mapped to RADIUS Class
rlm_ldap: LDAP radiusSessionTimeout mapped to RADIUS
rlm_ldap: LDAP radiusIdleTimeout mapped to RADIUS
rlm_ldap: LDAP radiusTerminationAction mapped to
RADIUS Termination-Action
rlm_ldap: LDAP radiusLoginLATPort mapped to RADIUS
rlm_ldap: LDAP radiusReplyMessage mapped to RADIUS
rlm_ldap: LDAP radiusTunnelType mapped to RADIUS
rlm_ldap: LDAP radiusTunnelMediumType mapped to RADIUS
rlm_ldap: LDAP radiusTunnelPrivateGroupId mapped to
RADIUS Tunnel-Private-Group-Id
conns: 0x811aca0
Module: Instantiated ldap (ldap)
Module: Loaded eap
 eap: default_eap_type = "peap"
 eap: timer_expire = 60
 eap: ignore_unknown_eap_types = no
 eap: cisco_accounting_username_bug = no
 tls: rsa_key_exchange = no
 tls: dh_key_exchange = yes
 tls: rsa_key_length = 512
 tls: dh_key_length = 512
 tls: verify_depth = 0
 tls: CA_path = "(null)"
 tls: pem_file_type = yes
 tls: private_key_file =
 tls: certificate_file =
 tls: CA_file =
 tls: private_key_password = "secret"
 tls: dh_file =
 tls: random_file =
 tls: fragment_size = 1024
 tls: include_length = yes
 tls: check_crl = no
 tls: check_cert_cn = "(null)"
rlm_eap_tls: Loading the certificate file as a chain
rlm_eap: Loaded and initialized type tls
 peap: default_eap_type = "mschapv2"
 peap: copy_request_to_tunnel = no
 peap: use_tunneled_reply = no
 peap: proxy_tunneled_request_as_eap = yes
rlm_eap: Loaded and initialized type peap
Module: Instantiated eap (eap)
Module: Loaded preprocess
 preprocess: huntgroups =
 preprocess: 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 detail
 detail: detailfile =
 detail: detailperm = 384
 detail: dirperm = 493
 detail: locking = no
Module: Instantiated detail (auth_log)
Module: Loaded realm
 realm: format = "suffix"
 realm: delimiter = "@"
 realm: ignore_default = no
 realm: ignore_null = no
Module: Instantiated realm (suffix)
Module: Loaded files
 files: usersfile =
 files: acctusersfile =
 files: preproxy_usersfile =
 files: compat = "no"
Module: Instantiated files (files)
Module: Loaded Acct-Unique-Session-Id
 acct_unique: key = "User-Name, Acct-Session-Id,
NAS-IP-Address, Client-IP-Address, NAS-Port"
Module: Instantiated acct_unique (acct_unique)
 detail: detailfile =
 detail: detailperm = 384
 detail: dirperm = 493
 detail: locking = no
Module: Instantiated detail (detail)
Module: Loaded radutmp
 radutmp: filename = "/var/log/radius/radutmp"
 radutmp: username = "%{User-Name}"
 radutmp: case_sensitive = no
 radutmp: check_with_nas = yes
 radutmp: perm = 384
radutmp: perm = 384
 radutmp: callerid = yes
Module: Instantiated radutmp (radutmp)
Listening on authentication
Listening on accounting
Ready to process requests.
rad_recv: Access-Request packet from host, id=0, length=200
        Message-Authenticator =
        Service-Type = Framed-User
        User-Name = "cgarg"
        Framed-MTU = 1488
        Called-Station-Id = "00-80-48-35-3B-3B:test"
        Calling-Station-Id = "00-12-F0-02-FB-68"
        NAS-Identifier = "Wireless-G Access Point
        NAS-Port-Type = Wireless-802.11
        Connect-Info = "CONNECT 54Mbps 802.11g"
        EAP-Message = 0x0200000a016367617267
        NAS-IP-Address =
        NAS-Port = 1
        NAS-Port-Id = "STA port # 1"
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
  modcall[authorize]: module "preprocess" returns ok
for request 0
expands to
  modcall[authorize]: module "auth_log" returns ok for
request 0
  modcall[authorize]: module "mschap" returns noop for
request 0
    rlm_realm: No '@' in User-Name = "cgarg", looking
up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for
request 0
  rlm_eap: EAP packet type response id 0 length 10
  rlm_eap: No EAP Start, assuming it's an on-going EAP
  modcall[authorize]: module "eap" returns updated for
request 0
    users: Matched entry DEFAULT at line 171
    users: Matched entry DEFAULT at line 216
  modcall[authorize]: module "files" returns ok for
request 0
modcall: leaving group authorize (returns updated) for
request 0
  rad_check_password:  Found Auth-Type LDAP
auth: type "LDAP"
  Processing the authenticate section of radiusd.conf
modcall: entering group LDAP for request 0
rlm_ldap: - authenticate
rlm_ldap: Attribute "User-Password" is required for
  modcall[authenticate]: module "ldap" returns invalid
for request 0
modcall: leaving group LDAP (returns invalid) for
request 0
auth: Failed to validate the user.
Login incorrect: [cgarg/<no User-Password attribute>]
(from client TESTING-BDC port 1 cli 00-12-F0-02-FB-68)
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Sending Access-Reject of id 0 to port
Waking up in 5 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 0 with timestamp 4445e06f
Nothing to do.  Sleeping until we see a request.

Pls avdice me where i'm going wrong.



Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com

Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com

More information about the Freeradius-Users mailing list