I am using mysql behind my freeradius and I have used www.frontios.com's howto to configure the mysql tables. I am getting access-accept packets back when using radtest, but no additional attributes. but i have the reply-detail file logging, and it show the correct attributes pulled from the mysql tables using all the stock sql.conf queries. ? could i have accidentaly turned anything off in radiusd.conf that would prevent the queried attributes from be returned in the access-accept packet? I added those test values to the /usr/local/etc/raddb/dictionary file.

 
[EMAIL PROTECTED] doc]# radtest dwinter dave 127.0.0.1 1812 testing1232
Sending Access-Request of id 95 to 127.0.0.1:1812
        User-Name = "dwinter"
        User-Password = "dave"
        NAS-IP-Address = planet3.planet-telecom.com
        NAS-Port = 1812
rad_recv: Access-Accept packet from host 127.0.0.1:1812, id=95, length=20
[EMAIL PROTECTED] doc]#
[EMAIL PROTECTED] doc]#
[EMAIL PROTECTED] doc]#
[EMAIL PROTECTED] doc]# cat /var/log/radius/radacct/127.0.0.1/reply-detail-20040623
Packet-Type = Access-Accept
Wed Jun 23 09:59:23 2004
        DAVE_TEST_VAL := "dave is cool"
        DAVE_TEST_VAL2 := "this is test val2"

[EMAIL PROTECTED] doc]#


David Winter
Senior Network Engineer
Planet-Telecom, Inc.
Tampa FL
(813)901-5182 Office
(813)864-3162 Direct
(813)817-4204 Mobile
(813)881-9762 Fax
------------------------------------------
AIM:     mobofool
ICQ:      3563403
MSN:    [EMAIL PROTECTED]
Y!:        vt_fool


Alan DeKok wrote:
Alberto Ugarte <[EMAIL PROTECTED]> wrote:
  
./radtest 00502964 prueba freeradius 5 testing123 
It works correctly.
    
...
  
But when I try with XP client(PEAP/Mschapv2)...
    
...
  
I think that it doesn't work because there isn't
"User-Password" and It doesn't process it. But I don't
know how can I change it.
    

  You don't.

  
rlm_ldap: Attribute "User-Password" is required for
authentication.
    

  You've edited the configuration to:

  a) set Auth-Type = LDAP

   or

  b) listed LDAP before EAP in the "authorize" section.

  Don't do either one.  The default configuration works.

  Alan DeKok.

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

Reply via email to