Project

General

Profile

Bug #1292

PPTP server with Radius breaks on upgrade from 1.2.3 to 2.0

Added by Roy Walker over 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
PPTP
Target version:
Start date:
02/18/2011
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.0
Affected Architecture:
i386

Description

If upgrading from 1.2.3 to 2.0 (BETA5-02182011) and you have a PPTP server with Radius configured. It breaks the PPTP config. Until you clear the configuration it will not let you correct it or use the PPTP server.

Get the following error in the browser if you try to turn the PPTP server "off":
Fatal error: Cannot unset string offsets in /usr/local/www/vpn_pptp.php on line 166

This page seems like it needs a far amount of work.

Associated revisions

Revision 7171b7b6 (diff)
Added by Jim Pingle about 8 years ago

Fix PPTP server radius settings upgrade from 1.2.3. Fixes #1292

History

#1 Updated by Roy Walker over 8 years ago

After clearing the PPTP configuration from config.xml I was able to setup the PPTP server (so the page does work). However the PPTP firewall rule had to be deleted and re-created.

#2 Updated by Ermal Lu├ži over 8 years ago

Can you post your pptp section from the 1.2.3 config?

#3 Updated by Chris Buechler over 8 years ago

here's a pretty stock config that exhibits problems

#4 Updated by Guilherme Oliveira over 8 years ago

I have the same problem. I migrated from 1.2.3.

<pptpd>
<redir/>
<localip>172.16.99.1</localip>
<remoteip>172.16.99.96</remoteip>
<radius>
<server>172.18.1.2</server>
<secret>commented</secret>
<enable/>
<server2>
<ip/>
<port/>
<acctport/>
<secret2/>
</server2>
<nasip/>
<acct_update/>
</radius>
<wins>172.18.1.2</wins>
<req128/>
<n_pptp_units>16</n_pptp_units>
<dns1>172.18.1.11</dns1>
<dns2>172.18.1.3</dns2>
<mode>server</mode>
</pptpd>

#5 Updated by Jim Pingle about 8 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#6 Updated by Chris Buechler about 8 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF