radiusplugin-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Radiusplugin-users] radiusplugin with centos 5.3, 5.4, and 5.5


From: Spacelee
Subject: [Radiusplugin-users] radiusplugin with centos 5.3, 5.4, and 5.5
Date: Thu, 16 Dec 2010 15:05:39 +0800

I test it on centos 5.3, 5,4, and 5.5
and I found these problems:
on centos 5.3, I couldn't even make the source code, so failed
on centos 5.4, I could make it and everything goes well.
on centos 5.5, I could make it but when I authenticate, i see the log from freeradius, which tell me the passwords don't match, I don't know why it will use pam to authenticate, in centos 5.4, it won't use, and the freeradius is on another centos 5.3 server, which is used when I test radiusplugin on centos 5.4 and centos 5.5, and centos 5.4 is OK.: 

rad_recv: Access-Request packet from host xx.xx.xx.xx port 45896, id=196, length=130

User-Name = "space"

User-Password = "\231'N\323\314\022\365EQ\004\373\212\214Z\020T"

NAS-IP-Address = 127.0.0.1

NAS-Port = 1

Service-Type = Dialout-Framed-User

Calling-Station-Id = "xx.xx.xx.xx"

NAS-Identifier = "OpenVpn"

Acct-Session-Id = "AA7D2B510E9EB6C43DEE3804495D513A"

NAS-Port-Type = Virtual

+- entering group authorize {...}

++[preprocess] returns ok

++[chap] returns noop

++[mschap] returns noop

[suffix] No '@' in User-Name = "space", looking up realm NULL

[suffix] No such realm "NULL"

++[suffix] returns noop

[eap] No EAP-Message, not doing EAP

++[eap] returns noop

++[unix] returns notfound

++[files] returns noop

[sql] expand: %{User-Name} -> space

[sql] sql_set_user escaped user --> 'space'

rlm_sql (sql): Reserving sql socket id: 1

[sql] expand: SELECT id, username, attribute, value, op           FROM radcheck           WHERE username = '%{SQL-User-Name}'           ORDER BY id -> SELECT id, username, attribute, value, op           FROM radcheck           WHERE username = 'space'           ORDER BY id

[sql] User found in radcheck table

[sql] expand: SELECT id, username, attribute, value, op           FROM radreply           WHERE username = '%{SQL-User-Name}'           ORDER BY id -> SELECT id, username, attribute, value, op           FROM radreply           WHERE username = 'space'           ORDER BY id

[sql] expand: SELECT groupname           FROM radusergroup           WHERE username = '%{SQL-User-Name}'           ORDER BY priority -> SELECT groupname           FROM radusergroup           WHERE username = 'space'           ORDER BY priority

rlm_sql (sql): Released sql socket id: 1

++[sql] returns ok

++[expiration] returns noop

++[logintime] returns noop

++[pap] returns updated

Found Auth-Type = PAP

+- entering group PAP {...}

[pap] login attempt with password "?'N????EQ????Z?T"

[pap] Using clear text password "861230"

[pap] Passwords don't match

++[pap] returns reject

Failed to authenticate the user.

  WARNING: Unprintable characters in the password.   Double-check the shared secret on the server and the NAS!

Using Post-Auth-Type Reject

+- entering group REJECT {...}

[attr_filter.access_reject] expand: %{User-Name} -> space

 attr_filter: Matched entry DEFAULT at line 11

++[attr_filter.access_reject] returns updated

Delaying reject of request 36 for 1 seconds

Going to the next request

Waking up in 0.9 seconds.

Sending delayed reject for request 36

Sending Access-Reject of id 196 to xx.xx.xx.xx port 45896

Waking up in 5.0 seconds.

Cleaning up request 36 ID 196 with timestamp +290

Ready to process requests.


--
Space Lee


reply via email to

[Prev in Thread] Current Thread [Next in Thread]