Custom values for Post-Auth-Type
I am not sure, whether this is the correct way to do this: I would like to use a custom Post-Auth-Type section like post-auth { Post-Auth-Type SQL { sqlmainpool } ... The corresponding line in users is: DEFAULT Service-Type == Framed-User, User-Profile := "framed", Post-Auth-Type := SQL This results in 'Parse error (check) for entry DEFAULT: Unknown value SQL for attribute Post-Auth-Type' unless I add an entry like VALUE Post-Auth-Type SQL 129 to the dictionary. I am using version 2.0.4. Mit freundlichem Gru�, -- Matthias Witte - witte@netzquadrat.de Telefon: +49 (0)211-30 20 33-18 Telefax: +49 (0)211-30 20 33-22 [netzquadrat] GmbH - Gladbacher Str. 74 - 40219 D�sseldorf HRB D�sseldorf 36121 - Gesch�ftsf�hrer: Thilo Salmon, Tim Mois Steuernummer: 106/5719/1836, Umsatzsteuer-ID: DE246863050 billiger-telefonieren.de - billiger-surfen.de - stromseite.de - sms.de
users file is common for all virtual servers. You need to add this to all virtual servers not just default. Ivan Kalik Kalik Informatika ISP Dana 11/9/2008, "Matthias Witte" <witte@netzquadrat.de> piše:
I am not sure, whether this is the correct way to do this:
I would like to use a custom Post-Auth-Type section like
post-auth { Post-Auth-Type SQL { sqlmainpool } ....
The corresponding line in users is:
DEFAULT Service-Type == Framed-User, User-Profile := "framed", Post-Auth-Type := SQL
This results in
'Parse error (check) for entry DEFAULT: Unknown value SQL for attribute Post-Auth-Type'
unless I add an entry like
VALUE Post-Auth-Type SQL 129
to the dictionary.
I am using version 2.0.4.
Mit freundlichem Gruß,
-- Matthias Witte - witte@netzquadrat.de Telefon: +49 (0)211-30 20 33-18 Telefax: +49 (0)211-30 20 33-22
[netzquadrat] GmbH - Gladbacher Str. 74 - 40219 Düsseldorf HRB Düsseldorf 36121 - Geschäftsführer: Thilo Salmon, Tim Mois Steuernummer: 106/5719/1836, Umsatzsteuer-ID: DE246863050
billiger-telefonieren.de - billiger-surfen.de - stromseite.de - sms.de
On Thu, Sep 11, 2008 at 11:31:51AM +0100, tnt@kalik.net wrote:
users file is common for all virtual servers. You need to add this to all virtual servers not just default.
That is spot-on. In debian lenny there are two virtual servers enabled in the initial install: 'default' and 'inner-tunnel'. I removed the symlink for 'inner-tunnel' in '/etc/freeradius/sites-enabled' and the parse error vanished. No need to tinker with dictionaries. Thanks, -- Matthias Witte - witte@netzquadrat.de Telefon: +49 (0)211-30 20 33-18 Telefax: +49 (0)211-30 20 33-22 [netzquadrat] GmbH - Gladbacher Str. 74 - 40219 D�sseldorf HRB D�sseldorf 36121 - Gesch�ftsf�hrer: Thilo Salmon, Tim Mois Steuernummer: 106/5719/1836, Umsatzsteuer-ID: DE246863050 billiger-telefonieren.de - billiger-surfen.de - stromseite.de - sms.de
participants (2)
-
Matthias Witte -
tnt@kalik.net