Hi Alan,

Here is the complete debugging output from a live user

Starting - reading configuration files ...

reread_config: reading radiusd.conf

Config: including file: /etc/raddb/clients.conf

Config: including file: /etc/raddb/snmp.conf

main: prefix = "/usr/local"

main: localstatedir = "/var"

main: logdir = "/var/log"

main: libdir = "/usr/local/lib"

main: radacctdir = "/var/log/radacct"

main: hostname_lookups = no

read_config_files: reading dictionary

read_config_files: reading clients

read_config_files: reading realms

read_config_files: reading naslist

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_auth = no

main: log_auth_badpass = no

main: log_auth_goodpass = no

main: pidfile = "/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: proxy_requests = no

security: max_attributes = 200

security: reject_delay = 1

main: debug_level = 0

read_config_files: entering modules setup

Module: Library search path is /usr/local/lib

Module: Loaded LDAP

ldap: server = "192.9.168.200"

ldap: port = 389

ldap: net_timeout = 1

ldap: timeout = 4

ldap: timelimit = 3

ldap: ldap_cache_timeout = 0

ldap: ldap_cache_size = 0

ldap: identity = ""

ldap: start_tls = no

ldap: password = ""

ldap: basedn = "dc=neline,dc=com"

ldap: filter = "(uid=%u)"

ldap: default_profile = "(null)"

ldap: profile_attribute = "(null)"

ldap: access_group = "(null)"

ldap: password_header = "(null)"

ldap: password_attribute = "(null)"

ldap: access_attr = "(null)"

ldap: groupname_attribute = "cn"

ldap: groupmembership_filter =
"(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupO
fUniqueNames)(uniquemember=%{Ldap-UserDn})))"

ldap: dictionary_mapping = "/etc/raddb/ldap.attrmap"

ldap: ldap_debug = 0

ldap: ldap_connections_number = 5

ldap: compare_check_items = no

ldap: access_attr_used_for_allow = yes

conns: (nil)

rlm_ldap: reading ldap<->radius mappings from file /etc/raddb/ldap.attrmap

rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$

rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$

rlm_ldap: LDAP radiusAuthType mapped to RADIUS Auth-Type

rlm_ldap: LDAP npSessionsAllowed mapped to RADIUS Simultaneous-Use

rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS Called-Station-Id

rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS Calling-Station-Id

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 SMB-Account-CTRL-TEXT

rlm_ldap: LDAP radiusServiceType mapped to RADIUS Service-Type

rlm_ldap: LDAP radiusFramedProtocol mapped to RADIUS Framed-Protocol

rlm_ldap: LDAP radiusFramedIPAddress mapped to RADIUS Framed-IP-Address

rlm_ldap: LDAP radiusFramedIPNetmask mapped to RADIUS Framed-IP-Netmask

rlm_ldap: LDAP radiusFramedRoute mapped to RADIUS Framed-Route

rlm_ldap: LDAP radiusFramedRouting mapped to RADIUS Framed-Routing

rlm_ldap: LDAP radiusFilterId mapped to RADIUS Filter-Id

rlm_ldap: LDAP radiusFramedMTU mapped to RADIUS Framed-MTU

rlm_ldap: LDAP radiusFramedCompression mapped to RADIUS Framed-Compression

rlm_ldap: LDAP radiusLoginIPHost mapped to RADIUS Login-IP-Host

rlm_ldap: LDAP radiusLoginService mapped to RADIUS Login-Service

rlm_ldap: LDAP radiusLoginTCPPort mapped to RADIUS Login-TCP-Port

rlm_ldap: LDAP radiusCallbackNumber mapped to RADIUS Callback-Number

rlm_ldap: LDAP radiusCallbackId mapped to RADIUS Callback-Id

rlm_ldap: LDAP radiusFramedIPXNetwork mapped to RADIUS Framed-IPX-Network

rlm_ldap: LDAP radiusClass mapped to RADIUS Class

rlm_ldap: LDAP radiusSessionTimeout mapped to RADIUS Session-Timeout

rlm_ldap: LDAP radiusIdleTimeout mapped to RADIUS Idle-Timeout

rlm_ldap: LDAP radiusTerminationAction mapped to RADIUS Termination-Action

rlm_ldap: LDAP radiusLoginLATService mapped to RADIUS Login-LAT-Service

rlm_ldap: LDAP radiusLoginLATNode mapped to RADIUS Login-LAT-Node

rlm_ldap: LDAP radiusLoginLATGroup mapped to RADIUS Login-LAT-Group

rlm_ldap: LDAP radiusFramedAppleTalkLink mapped to RADIUS
Framed-AppleTalk-Link

rlm_ldap: LDAP radiusFramedAppleTalkNetwork mapped to RADIUS
Framed-AppleTalk-Network

rlm_ldap: LDAP radiusFramedAppleTalkZone mapped to RADIUS
Framed-AppleTalk-Zone

rlm_ldap: LDAP radiusPortLimit mapped to RADIUS Port-Limit

rlm_ldap: LDAP radiusLoginLATPort mapped to RADIUS Login-LAT-Port

conns: 0x80b8998

Module: Instantiated ldap (ldap)

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: compat = "no"

Module: Instantiated files (files)

Module: Loaded detail

detail: detailfile = "/var/log/radacct/%{Client-IP-Address}/detail.local"

detail: detailperm = 384

detail: dirperm = 493

detail: locking = no

Module: Instantiated detail (detail1)

detail: detailfile = "/var/log/radacct/detail-combined"

detail: detailperm = 384

detail: dirperm = 493

detail: locking = yes

Module: Instantiated detail (detail2)

Module: Loaded radutmp

radutmp: filename = "/var/log/radutmp"

radutmp: username = "%{User-Name}"

radutmp: perm = 384

radutmp: callerid = yes

Module: Instantiated radutmp (radutmp)

Listening on IP address *, ports 1812/udp and 1813/udp.

Ready to process requests.

rad_recv: Access-Request packet from host 192.9.168.199:65053, id=154,
length=85

NAS-IP-Address = 192.168.111.2

NAS-Port = 35

NAS-Port-Type = Async

User-Name = "akumba1"

Called-Station-Id = "172454"

User-Password = "J\024\331\263\223l-\265\234QG\242l\214\007\346"

Service-Type = Framed-User

Framed-Protocol = PPP

modcall: entering group authorize

modcall[authorize]: module "preprocess" returns ok

rlm_realm: Looking up realm NULL for User-Name = "akumba1"

rlm_realm: No such realm NULL

modcall[authorize]: module "suffix" returns noop

users: Matched DEFAULT at 1

modcall[authorize]: module "files" returns ok

rlm_ldap: - authorize

rlm_ldap: performing user authorization for akumba1

radius_xlat: '(uid=akumba1)'

radius_xlat: 'dc=neline,dc=com'

ldap_get_conn: Got Id: 0

rlm_ldap: performing search in dc=neline,dc=com, with filter (uid=akumba1)

rlm_ldap: looking for check items in directory...

rlm_ldap: looking for reply items in directory...

rlm_ldap: user akumba1 authorized to use remote access

ldap_release_conn: Release Id: 0

modcall[authorize]: module "ldap" returns ok

modcall: group authorize returns ok

rad_check_password: Found Auth-Type LDAP

auth: type "LDAP"

modcall: entering group authtype

rlm_ldap: - authenticate

rlm_ldap: login attempt by "akumba1" with password "sexonthe"

rlm_ldap: user DN: uid=akumba1,ou=radius,dc=neline,dc=com

rlm_ldap: (re)connect to 192.9.168.200:389, authentication 1

rlm_ldap: setting TLS mode to 4

rlm_ldap: bind as uid=akumba1,ou=radius,dc=neline,dc=com/sexonthe to
192.9.168.200:389

rlm_ldap: waiting for bind result ...

rlm_ldap: user akumba1 authenticated succesfully

modcall[authenticate]: module "ldap" returns ok

modcall: group authtype returns ok

Sending Access-Accept of id 154 to 192.9.168.199:65053

Finished request 1

Going to the next request

--- Walking the entire request list ---

Waking up in 2 seconds...

--- Walking the entire request list ---

Cleaning up request 0 ID 153 with timestamp 3d73278e

Waking up in 3 seconds...

--- Walking the entire request list ---

Cleaning up request 1 ID 154 with timestamp 3d732791

Nothing to do. Sleeping until we see a request.


I see no error message in debugging mode except that it is unable to send
the accounting response!!!!

Please help

Atanu Das
System Development
SS NetCom Pvt Ltd.
Dhankheti
Shillong-793003
Ph: 91+361+502355
Visit us at: http://www.neline.com


----- Original Message -----
From: "Alan DeKok" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 31, 2002 12:23 AM
Subject: Re: Livingstone V/s FreeRadius...Please Help


> "Atanu Das" <[EMAIL PROTECTED]> wrote:
> > Where am i wrong? The same "users" file is able to do the AAA in the old
> > Radius, whereas when i
> >
> > use the file with the FR, it does not works. PLEASE HELP!!!!!
>
>   While FreeRADIUS is *similar* to Livingston, it's not *identical*.
> You MUST double-check the 'users' file, to be sure it's OK with
> FreeRADIUS.
>
> > I am not sending the debugging info with this file as it will make the
> > mail un-necessarily long
>
>   But did you *read* the output?  I'm willing to bet that there are
> error messages, and warning messages in it, which tell you what's
> going wrong.
>
> > I have tried many permutations and combinations and trial and error =
> > methods with the users file
>
>   Trial and error doesn't work.  You are NOT going to solve this
> problem by randomly typing things until it works.  You MUST understand
> how FreeRADIUS works, and how to configure it.
>
> > The users are only getting authenticated but their a/c info is not
> > coming as the NAs kicks the users.
>
>   As with ALL of these problems, you MUST run the server in debugging
> mode, and read its output.  Look at what differences there are between
> the reply from Livingston, and the reply from FreeRADIUS.  Fix those
> differences, and it will work.
>
>   Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


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

Reply via email to