radiusplugin-users
[Top][All Lists]
Advanced

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

[Radiusplugin-users] How to include and use reply-message in access-reje


From: jutwyut536
Subject: [Radiusplugin-users] How to include and use reply-message in access-reject for OpenVPN clients
Date: Fri, 13 May 2011 10:35:50 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10

Hi,

I'm trying to get some meaningful reply messages sent to users when they enter an incorrect password. Using freeradius 1.1.3 and radiusplugin 2.1. The users are using OpenVPN GUI running on Windows.

Ive configured freeradius to add a 'reply-message' to 'access-reject' messages as below. I can see these reply messages when I run 'radius -X'. However, I cant see them in the users OpenVPN client (OpenVPN GUI) or in any logs on the OpenVPN server. I can't find any information about how to parse the reply-message or how to works other than in the readme where it states - "the output is sent to stderr"

Any help would be most appreciated.

Jeremy.

__________________________

post-auth {
    sql
    exec
    Post-Auth-Type REJECT {
        # Login failed
        update reply {
Reply-Message := "Login Failed. Please check your username and password"
        }
        sql
        attr_filter.access_reject
    }
}





reply via email to

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