Erik Bolsø <[EMAIL PROTECTED]> writes:
> On 2006-06-15 14:00, Bjørn Mork <[EMAIL PROTECTED]> wrote:
>
>> Seems to work here, as long as the attribute is of type "octets".
>> Calling-Station-Id is a FreeRADIUS "string", not to be confused with
>> a RFC2865 "string".  MS-CHAP-Challenge is a FreeRADIUS "octets" type.
>
> Actually, it's the response from the server that needs to be single-byte
> 0x00 - if the ldap attribute in question is 0. Do tell if you find out
> how :)

Seems to work as expected too.  Proxy-State is of "octets" type and
RFC2865 requires the server to return it unchanged, which it does:

[EMAIL PROTECTED]:/usr/local/test$ bin/radclient -x localhost:1812 auth 
testing123 -f testfiles/3
Sending Access-Request of id 20 to 127.0.0.1 port 1812
        User-Name = "[EMAIL PROTECTED]"
        Password = "b"
        NAS-Port-Type = xDSL
        Calling-Station-Id = "blah"
        Proxy-State = 0x00
rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=20, length=23
        Proxy-State = 0x00


Bjørn

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

Reply via email to