Full output of freeradius -X after command
radtest -t pap abx n*************W localhost 0 secret
=======================================================================
Ready to process requests.
rad_recv: Access-Request packet from host 127.0.0.1 port 51020, id=47, length=55
User-Name = "abx"
User-Password = "n*************W"
NAS-IP-Address = 192.168.3.5
NAS-Port = 0
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
[auth_log] expand: /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -> /var/log/freeradius/radacct/
127.0.0.1/auth-detail-20141230[auth_log] /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/
127.0.0.1/auth-detail-20141230[auth_log] expand: %t -> Tue Dec 30 16:30:56 2014
++[auth_log] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "abx", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] No EAP-Message, not doing EAP
++[eap] returns noop
++[files] returns noop
++- entering policy redundant {...}
[local] performing user authorization for abx
[local] expand: %{Stripped-User-Name} ->
[local] ... expanding second conditional
[local] expand: %{User-Name} -> abx
[local] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=abx)
[local] expand: dc=ourcorp,dc=net -> dc=ourcorp,dc=net
[local] ldap_get_conn: Checking Id: 0
[local] ldap_get_conn: Got Id: 0
[local] performing search in dc=ourcorp,dc=net, with filter (uid=abx)
[local] checking if remote access for abx is allowed by dialupAccess
[local] Added User-Password = 1D*************************************9B in check items
[local] No default NMAS login sequence
[local] looking for check items in directory...
[local] sambaNtPassword -> NT-Password == 0x31***********************************************************************42
[local] sambaLmPassword -> LM-Password == 0x42***********************************************************************36
[local] looking for reply items in directory...
[local] radiusFramedIPAddress -> Framed-IP-Address = 10.0.0.198
[local] user abx authorized to use remote access
[local] ldap_release_conn: Release Id: 0
+++[local] returns ok
++- policy redundant returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] Normalizing NT-Password from hex encoding
[pap] Normalizing LM-Password from hex encoding
++[pap] returns updated
Found Auth-Type = PAP
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! Replacing User-Password in config items with Cleartext-Password. !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! Please update your configuration so that the "known good" !!!
!!! clear text password is in Cleartext-Password, and not in User-Password. !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Executing group from file /etc/freeradius/sites-enabled/default
+- entering group PAP {...}
[pap] login attempt with password "n****************W"
[pap] Using clear text password "1D********************************9B"
[pap] Passwords don't match
++[pap] returns reject
Failed to authenticate the user.
Login incorrect (rlm_pap: CLEAR TEXT password check failed): [abx/n***********************W] (from client localhost port 0)
Using Post-Auth-Type Reject
# Executing group from file /etc/freeradius/sites-enabled/default
+- entering group REJECT {...}
[attr_filter.access_reject] expand: %{User-Name} -> abx
attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 2 for 1 seconds
Going to the next request
Waking up in 0.9 seconds.
Sending delayed reject for request 2
Sending Access-Reject of id 47 to 127.0.0.1 port 51020
Waking up in 4.9 seconds.
Cleaning up request 2 ID 47 with timestamp +66
Ready to process requests.
============================================================================
But how to fix it...